Re: [arch-projects] [dbscripts] [PATCH v2 3/3] Update messages to make fuller use of printf formatters

2018-02-26 Thread Eli Schwartz via arch-projects
On 02/26/2018 05:14 PM, Luke Shumaker wrote: > On Mon, 26 Feb 2018 00:46:48 -0500, > Eli Schwartz wrote: >>> +++ b/db-functions >>> @@ -450,7 +450,7 @@ arch_repo_add() { >>> # package files might be relative to repo dir >>> pushd "${FTP_BASE}/${repo}/os/${arch}" >/dev/null >>>

Re: [arch-projects] [dbscripts] [PATCH v2 3/3] Update messages to make fuller use of printf formatters

2018-02-26 Thread Luke Shumaker
On Mon, 26 Feb 2018 00:46:48 -0500, Eli Schwartz wrote: > > +++ b/db-functions > > @@ -450,7 +450,7 @@ arch_repo_add() { > > # package files might be relative to repo dir > > pushd "${FTP_BASE}/${repo}/os/${arch}" >/dev/null > > /usr/bin/repo-add -q "${repo}${DBEXT}" ${pkgs[@]} \ > > -

Re: [arch-projects] [dbscripts] [PATCH v2 3/3] Update messages to make fuller use of printf formatters

2018-02-26 Thread Eli Schwartz via arch-projects
On 02/22/2018 09:15 PM, Luke Shumaker wrote: > From: Luke Shumaker > > These are things that were (IMO) missed in 5afac1e. I found them using: > > git grep -E '(plain|msg|msg2|warning|error|die) "[^"]*\$' > > I went a little above-and-beyond for escaping strings for

[arch-projects] [dbscripts] [PATCH v2 3/3] Update messages to make fuller use of printf formatters

2018-02-22 Thread Luke Shumaker
From: Luke Shumaker These are things that were (IMO) missed in 5afac1e. I found them using: git grep -E '(plain|msg|msg2|warning|error|die) "[^"]*\$' I went a little above-and-beyond for escaping strings for the error messages in db-functions' arch_repo_add and