diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-04-21 20:56:59 +1200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-04-21 20:56:59 +1200 |
commit | 10b931a41e5d5c3b995c7ef22d0c564e9bf8eeec (patch) | |
tree | 485386cda781ee53c00f0e2342851c4f6cc3a767 | |
download | liw-automation-10b931a41e5d5c3b995c7ef22d0c564e9bf8eeec.tar.gz |
initial
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 13 | ||||
-rw-r--r-- | debian/copyright | 23 | ||||
-rw-r--r-- | debian/liw-automation.install | 1 | ||||
-rwxr-xr-x | debian/rules | 3 | ||||
-rwxr-xr-x | sync-to-pieni | 21 |
7 files changed, 67 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5b6e367 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +liw-automation (1) squeeze; urgency=low + + * Initial packaging. + + -- Lars Wirzenius <liw@liw.fi> Fri, 1 Jan 2019 19:20:44 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..94a987c --- /dev/null +++ b/debian/control @@ -0,0 +1,13 @@ +Source: liw-automation +Maintainer: Lars Wirzenius <liw@liw.fi> +Section: misc +Priority: optional +Standards-Version: 3.8.4 +Build-Depends: debhelper (>= 7.3.8) + +Package: liw-automation +Architecture: all +Depends: ${misc:Depends} +Description: misc scripts to automate my life + If you can figure out what these things do and make use of them, + you don't need this description. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..be4b477 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,23 @@ +This stuff was originally written Lars Wirzenius <liw@liw.fi>. + +All of the code is currently owned by Lars Wirzenius and licensed under +the GNU GPL version 3, or later version. + + Copyright (C) 2010 Lars Wirzenius <liw@liw.fi> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + +On a Debian system, you can find a copy of the GPL version 3 in +/usr/share/common-licenses/GPL-3. + diff --git a/debian/liw-automation.install b/debian/liw-automation.install new file mode 100644 index 0000000..246f3fe --- /dev/null +++ b/debian/liw-automation.install @@ -0,0 +1 @@ +sync-to-pieni usr/bin diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cbe925d --- /dev/null +++ b/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + dh $@ diff --git a/sync-to-pieni b/sync-to-pieni new file mode 100755 index 0000000..cc927ef --- /dev/null +++ b/sync-to-pieni @@ -0,0 +1,21 @@ +#!/bin/sh + +set -e + +for dir in $HOME/GTD $HOME/Journal/src $HOME/checklists +do + echo "$dir" + ( + set -e + cd "$dir" + if ! bzr diff > /dev/null + then + bzr commit --quiet -m 'commit from sync-to-pieni' + fi + bzr merge --pull + bzr push + ) + echo +done + + |