[pacman-dev] [PATCH] autotools: be more templated when getting list of doc dist files

2019-10-23 Thread Eli Schwartz
Distribute asciidoc sources for all manpages instead of remembering to add files to both variables. Fixes regression in 377d47142f7aaa01ca782e6587f2d4caf663865b which broke building the website from a dist tarball: make: *** No rule to make target 'pacman-conf.8.html', needed by 'html'. Stop. (T

[pacman-dev] [GIT] The official pacman repository branch, master, updated. v5.2.0-6-gf37a3752

2019-10-23 Thread Allan McRae
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The official pacman repository". The branch, master has been updated via f37a3752b38473236720e01230392377a42249e6 (commit) vi

[pacman-dev] [PATCH v3] libmakepkg: add optional argument support to parseopts

2019-10-23 Thread Ethan Sommer
Adds a "?" suffix that can be used to indicate that an option's argument is optional. This allows options to have a default behaviour when the user doesn't specify one, e.g.: --color=[when] being able to behave like --color=auto when only --color is passed Options with optional arguments given on

Re: [pacman-dev] Alternatives system brainstorm

2019-10-23 Thread Allan McRae
On 24/10/19 12:31 am, Daan van Rossum wrote: > * on Wednesday, 2019-10-23 22:05 +1000, Allan McRae > wrote: > >> Now, ignoring my comment about not commenting... My design principle for >> additions to makepkg is an addition should be mostly straight forward to >> a packager - i.e. if you can bu

Re: [pacman-dev] [PATCH v2] libmakepkg: add optional argument support to parseopts

2019-10-23 Thread Dave Reisner
On Wed, Oct 23, 2019 at 06:57:24PM -0400, Ethan Sommer wrote: > Adds a "?" suffix that can be used to indicate that an option's argument is > optional. > > This allows options to have a default behaviour when the user doesn't > specify one, e.g.: --color=[when] being able to behave like --color=au

[pacman-dev] [PATCH v2] libmakepkg: add optional argument support to parseopts

2019-10-23 Thread Ethan Sommer
Adds a "?" suffix that can be used to indicate that an option's argument is optional. This allows options to have a default behaviour when the user doesn't specify one, e.g.: --color=[when] being able to behave like --color=auto when only --color is passed Signed-off-by: Ethan Sommer --- script

Re: [pacman-dev] [PATCH] libmakepkg: add optional argument support to parseopts

2019-10-23 Thread Allan McRae
It is right... On 24/10/19 7:53 am, Ethan Sommer wrote: <- HERE > Signed-off-by: Ethan Sommer ... where you provide context for what the patch is implementing. What does it do and why? Allan

[pacman-dev] [PATCH] libmakepkg: add optional argument support to parseopts

2019-10-23 Thread Ethan Sommer
Signed-off-by: Ethan Sommer --- scripts/libmakepkg/util/parseopts.sh.in | 110 +++- test/scripts/parseopts_test.sh | 12 ++- 2 files changed, 77 insertions(+), 45 deletions(-) diff --git a/scripts/libmakepkg/util/parseopts.sh.in b/scripts/libmakepkg/util/parseopts.

[pacman-dev] [PATCH] Update copyright years

2019-10-23 Thread Allan McRae
make update-copyright OLD=2018 NEW=2019 Signed-off-by: Allan McRae --- doc/index.asciidoc| 2 +- lib/libalpm/add.c | 2 +- lib/libalpm/add.h | 2 +- lib/libalpm/alp

Re: [pacman-dev] Alternatives system brainstorm

2019-10-23 Thread Daan van Rossum
* on Wednesday, 2019-10-23 22:05 +1000, Allan McRae wrote: > Now, ignoring my comment about not commenting... My design principle for > additions to makepkg is an addition should be mostly straight forward to > a packager - i.e. if you can build the software manually, you can > package it. Sugge

Re: [pacman-dev] [PATCH 1/2] Update completion for -F changes

2019-10-23 Thread Allan McRae
On 23/10/19 9:56 pm, Bruno Pagani wrote: > Le 23/10/2019 à 11:41, Allan McRae a écrit : >> - files=('list machinereadable owns search refresh regex' 'l o s x y') >> + files=('list machinereadablerefresh regex' 'l x y') > > Missing white space? > . > Thanks - fixed. A

Re: [pacman-dev] Alternatives system brainstorm

2019-10-23 Thread Allan McRae
On 23/10/19 9:35 pm, Daan van Rossum wrote: > * on Sunday, 2019-10-20 21:05 +1000, Allan McRae wrote: > >> It is constructive, but I don't think is necessarily relevant. Pacman >> is a system package manager, not a userspace software manager. >> >> The HPC use case is quite different. It allows

Re: [pacman-dev] Alternatives system brainstorm

2019-10-23 Thread Daniel M. Capella
Quoting Daan van Rossum (2019-10-23 07:35:45) > Installing or reinstalling a selector package will detect: > 0 providers exist: abort suggesting providers from > 'alternative_providers' > # pacman -S awk > -> failed: selector package 'awk' is missing a provider package. Potential > pr

Re: [pacman-dev] [PATCH 1/2] Update completion for -F changes

2019-10-23 Thread Bruno Pagani
Le 23/10/2019 à 11:41, Allan McRae a écrit : > - files=('list machinereadable owns search refresh regex' 'l o s x y') > + files=('list machinereadablerefresh regex' 'l x y') Missing white space?

Re: [pacman-dev] Alternatives system brainstorm

2019-10-23 Thread Daan van Rossum
* on Sunday, 2019-10-20 21:05 +1000, Allan McRae wrote: > It is constructive, but I don't think is necessarily relevant. Pacman > is a system package manager, not a userspace software manager. > > The HPC use case is quite different. It allows pieces of software to be > made available to indiv

[pacman-dev] [PATCH 2/2] Remove --force from completion

2019-10-23 Thread Allan McRae
Signed-off-by: Allan McRae --- scripts/completion/bash_completion.in | 4 ++-- scripts/completion/zsh_completion.in | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/completion/bash_completion.in b/scripts/completion/bash_completion.in index 129a87aa..4e63aef9 10064

[pacman-dev] [PATCH 1/2] Update completion for -F changes

2019-10-23 Thread Allan McRae
Signed-off-by: Allan McRae --- scripts/completion/bash_completion.in | 3 +-- scripts/completion/zsh_completion.in | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/completion/bash_completion.in b/scripts/completion/bash_completion.in index 915004e2..129a87aa 100644