[pacman-dev] [PATCH 2/2] Add ALPM_ERR_OK = 0 to _alpm_err_t

2016-09-02 Thread ivy . foster
From: Ivy Foster Functions that expect an _alpm_err_t can now get a true one, even on success. Since previous practice was to return 0 (not included in the _alpm_err_t enum type), anything that just checks !err or (err == 0) should work as is. Signed-off-by: Ivy Foster

[pacman-dev] [PATCH 1/2] Do not #define _RESERVED_IDENTIFIERS

2016-09-02 Thread ivy . foster
From: Ivy Foster Signed-off-by: Ivy Foster --- lib/libalpm/add.h | 6 +++--- lib/libalpm/alpm.h | 6 +++--- lib/libalpm/alpm_list.h | 6 +++--- lib/libalpm/backup.h| 6 +++--- lib/libalpm/base64.h

Re: [pacman-dev] [PATCH v5 4/8] bacman: rewrite usage page and version information

2016-09-02 Thread Gordian Edenhofer
On Fri, 2016-09-02 at 23:37 +1000, Allan McRae wrote: > On 02/09/16 22:51, Gordian Edenhofer wrote: > > > >   echo 'Copyright (C) 2008 locci > > ' > > + echo 'Copyright (C) 2016 Gordian Edenhofer > f...@gmail.com>' > >   echo 'Copyright (C) 2008-2016 Pacman Development Team >

[pacman-dev] [PATCH v6 8/9] bacman: add manual page

2016-09-02 Thread Gordian Edenhofer
Signed-off-by: Gordian Edenhofer --- Remove a reference to the Arch Linux Archive. Reorder some options according to the usage function. Add -m the abbreviated form of --nocolor. contrib/doc/.gitignore | 1 + contrib/doc/Makefile.am | 5 +++-

[pacman-dev] [PATCH v6 4/9] bacman: rewrite usage page and version information

2016-09-02 Thread Gordian Edenhofer
Signed-off-by: Gordian Edenhofer --- contrib/bacman.sh.in | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/contrib/bacman.sh.in b/contrib/bacman.sh.in index 8656c5c..f5807b5 100644 --- a/contrib/bacman.sh.in +++

[pacman-dev] [PATCH v6 9/9] bacman man page: describe the jobs option

2016-09-02 Thread Gordian Edenhofer
Signed-off-by: Gordian Edenhofer --- Move the description of the jobs option into its own commit. contrib/doc/bacman.8.txt | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/contrib/doc/bacman.8.txt b/contrib/doc/bacman.8.txt index

[pacman-dev] [PATCH v6 5/9] bacman: add option to print fewer status updates

2016-09-02 Thread Gordian Edenhofer
Signed-off-by: Gordian Edenhofer --- contrib/bacman.sh.in | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/contrib/bacman.sh.in b/contrib/bacman.sh.in index f5807b5..a567e7d 100644 --- a/contrib/bacman.sh.in +++ b/contrib/bacman.sh.in @@

[pacman-dev] [PATCH v6 6/9] bacman: add otpion to alter the output directory

2016-09-02 Thread Gordian Edenhofer
Signed-off-by: Gordian Edenhofer --- contrib/bacman.sh.in | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/contrib/bacman.sh.in b/contrib/bacman.sh.in index a567e7d..b636cb6 100644 --- a/contrib/bacman.sh.in +++

[pacman-dev] [PATCH v6 7/9] bacman: add option to specify the number of jobs

2016-09-02 Thread Gordian Edenhofer
Signed-off-by: Gordian Edenhofer --- contrib/bacman.sh.in | 33 +++-- 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/contrib/bacman.sh.in b/contrib/bacman.sh.in index b636cb6..120bece 100644 --- a/contrib/bacman.sh.in +++

[pacman-dev] [PATCH v6 3/9] bacman: proper option handling

2016-09-02 Thread Gordian Edenhofer
Switch to parseopts instead of merely checking the first argument. Signed-off-by: Gordian Edenhofer --- contrib/bacman.sh.in | 63 ++-- 1 file changed, 41 insertions(+), 22 deletions(-) diff --git

[pacman-dev] [PATCH v6 1/9] bacman: allow for multiple packages as arguments

2016-09-02 Thread Gordian Edenhofer
To enable the creation of multiple packages with one command move the assembly process into its own function. Handle SIGHUP, SIGINT, SIGTERM and remove working directories accordingly. Add some comments. Signed-off-by: Gordian Edenhofer --- contrib/bacman.sh.in |

[pacman-dev] [PATCH v6 2/9] bacman: parallel packaging

2016-09-02 Thread Gordian Edenhofer
Signed-off-by: Gordian Edenhofer --- contrib/bacman.sh.in | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/contrib/bacman.sh.in b/contrib/bacman.sh.in index 512973a..a718a18 100644 --- a/contrib/bacman.sh.in +++

Re: [pacman-dev] [PATCH v5 4/8] bacman: rewrite usage page and version information

2016-09-02 Thread Allan McRae
On 02/09/16 22:51, Gordian Edenhofer wrote: > echo 'Copyright (C) 2008 locci ' > + echo 'Copyright (C) 2016 Gordian Edenhofer > ' > echo 'Copyright (C) 2008-2016 Pacman Development Team > ' You want your name included

Re: [pacman-dev] [PATCH v5 8/8] bacman: add manual page

2016-09-02 Thread Allan McRae
On 02/09/16 22:51, Gordian Edenhofer wrote: > Signed-off-by: Gordian Edenhofer > --- > contrib/doc/.gitignore | 1 + > contrib/doc/Makefile.am | 5 +++- > contrib/doc/bacman.8.txt | 71 > > 3 files changed, 76

[pacman-dev] [PATCH v5 1/8] bacman: allow for multiple packages as arguments

2016-09-02 Thread Gordian Edenhofer
To enable the creation of multiple packages with one command move the assembly process into its own function. Handle SIGHUP, SIGINT, SIGTERM and remove working directories accordingly. Add some comments. Signed-off-by: Gordian Edenhofer --- contrib/bacman.sh.in |

[pacman-dev] [PATCH v5 4/8] bacman: rewrite usage page and version information

2016-09-02 Thread Gordian Edenhofer
Signed-off-by: Gordian Edenhofer --- Use the same format for the usage section as makepkg. contrib/bacman.sh.in | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/contrib/bacman.sh.in b/contrib/bacman.sh.in index

[pacman-dev] [PATCH v5 6/8] bacman: add otpion to alter the output directory

2016-09-02 Thread Gordian Edenhofer
Signed-off-by: Gordian Edenhofer --- contrib/bacman.sh.in | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/contrib/bacman.sh.in b/contrib/bacman.sh.in index da5d30d..5c59758 100644 --- a/contrib/bacman.sh.in +++

[pacman-dev] [PATCH v5 8/8] bacman: add manual page

2016-09-02 Thread Gordian Edenhofer
Signed-off-by: Gordian Edenhofer --- contrib/doc/.gitignore | 1 + contrib/doc/Makefile.am | 5 +++- contrib/doc/bacman.8.txt | 71 3 files changed, 76 insertions(+), 1 deletion(-) create mode 100644

[pacman-dev] [PATCH v5 3/8] bacman: proper option handling

2016-09-02 Thread Gordian Edenhofer
Switch to parseopts instead of merely checking the first argument. Signed-off-by: Gordian Edenhofer --- contrib/bacman.sh.in | 63 ++-- 1 file changed, 41 insertions(+), 22 deletions(-) diff --git

[pacman-dev] [PATCH v5 5/8] bacman: add option to print fewer status updates

2016-09-02 Thread Gordian Edenhofer
Signed-off-by: Gordian Edenhofer --- contrib/bacman.sh.in | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/contrib/bacman.sh.in b/contrib/bacman.sh.in index 3868750..da5d30d 100644 --- a/contrib/bacman.sh.in +++ b/contrib/bacman.sh.in @@

[pacman-dev] [PATCH v5 2/8] bacman: parallel packaging

2016-09-02 Thread Gordian Edenhofer
Signed-off-by: Gordian Edenhofer --- contrib/bacman.sh.in | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/contrib/bacman.sh.in b/contrib/bacman.sh.in index 512973a..a718a18 100644 --- a/contrib/bacman.sh.in +++