[pacman-dev] [PATCH] makepkg: Change comment to reflect non-armored sig

2014-06-01 Thread Johannes Löthberg
The comment above the signature generation line says that it will make a ASCII armored signature, which it no longer will and which pacman doesn't like. Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [pacman-dev] [PATCH] makepkg: Change comment to reflect non-armored sig

2014-06-01 Thread Johannes Löthberg
On 02/06, Allan McRae wrote: Any objection to just removing that comment? Not at all, it is rather redundant. -- Sincerely, Johannes Löthberg PGP Key ID: 3A9D0BB5 pgpPEG4LDVXwV.pgp Description: PGP signature

[pacman-dev] [PATCH] makepkg: Remove redundant sig generation comment

2014-06-01 Thread Johannes Löthberg
Remove the comment above the signature generation command as the command is self explanatory and no longer does what the comment says. --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 96e5349..a1d9f45

[pacman-dev] [PATCH] makepkg: Respect XDG_CONFIG_HOME

2014-07-01 Thread Johannes Löthberg
Add support for following the XDG Base Directory Specification when reading the user-specific configuration file. If no $XDG_CONFIG_HOME/pacman/makepkg.conf file exists we fall back to sourcing $HOME/.makepkg.conf Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- doc/makepkg.conf.5.txt

[pacman-dev] [PATCH v2] makepkg: Respect XDG_CONFIG_HOME

2014-07-02 Thread Johannes Löthberg
Add support for following the XDG Base Directory Specification when reading the user-specific configuration file. If no $XDG_CONFIG_HOME/pacman/makepkg.conf file exists we fall back to sourcing $HOME/.makepkg.conf Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- Was unsure if you

Re: [pacman-dev] [PATCH] makepkg: Respect XDG_CONFIG_HOME

2014-07-02 Thread Johannes Löthberg
it in unless you say otherwise. -- Sincerely, Johannes Löthberg PGP Key ID: 3A9D0BB5 pgpyEimp0bIl_.pgp Description: PGP signature

Re: [pacman-dev] [PATCH] pacman.c: Add -gg, -ii, and -yy to help summary

2014-08-13 Thread Johannes Löthberg
On 14/08, Johannes Löthberg wrote: The sync help summaries was missing the information about: * -gg: View all groups and members * -ii: View extended information * -yy: Force refresh even if DBs are up to date Original-work-by: Earnestly zib...@gmail.com Signed-off-by: Johannes Löthberg johan

Re: [pacman-dev] [PATCH] doc/translation-help.txt: Fix link to tutorial on sarovar.org

2014-09-30 Thread Johannes Löthberg
a version or for Arch to host our own copy. [1]: http://multivac.fatburen.org/localdoc/gettext/tutorial.html -- Sincerely, Johannes Löthberg PGP Key ID: 3A9D0BB5 pgp6AB3B_WSRc.pgp Description: PGP signature

[pacman-dev] [PATCH 1/2] libalpm: Parse and write PKGBASEs

2014-12-20 Thread Johannes Löthberg
This commit adds support to libalpm to parse the pkgbase present in packages .PKGINFO files, writing the PKGBASE to the %BASE% section of the local DBs desc files and for parsing it again when loading the local DB Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- lib/libalpm/be_local.c

[pacman-dev] [PATCH 2/2] libalpm: Add accessors for the base field

2014-12-20 Thread Johannes Löthberg
This commit adds the necessary accessor functions to get the PKGBASE of a package, forcing the desc file to be parsed. Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- lib/libalpm/alpm.h | 6 ++ lib/libalpm/be_local.c | 7 +++ lib/libalpm/package.c | 9 + lib

Re: [pacman-dev] [PATCH 2/2] libalpm: Add accessors for the base field

2014-12-22 Thread Johannes Löthberg
On 22/12, Allan McRae wrote: On 21/12/14 02:25, Johannes Löthberg wrote: This commit adds the necessary accessor functions to get the PKGBASE of a package, forcing the desc file to be parsed. Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- lib/libalpm/alpm.h | 6 ++ lib

Re: [pacman-dev] [PATCH 1/2] libalpm: Parse and write PKGBASEs

2014-12-22 Thread Johannes Löthberg
On 22/12, Allan McRae wrote: On 21/12/14 02:25, Johannes Löthberg wrote: This commit adds support to libalpm to parse the pkgbase present in packages .PKGINFO files, writing the PKGBASE to the %BASE% section of the local DBs desc files and for parsing it again when loading the local DB Signed

Re: [pacman-dev] [PATCH 2/2] libalpm: Add accessors for the base field

2014-12-22 Thread Johannes Löthberg
On 22/12, Johannes Löthberg wrote: On 22/12, Allan McRae wrote: On 21/12/14 02:25, Johannes Löthberg wrote: This commit adds the necessary accessor functions to get the PKGBASE of a package, forcing the desc file to be parsed. Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- lib

[pacman-dev] [PATCH v2 1/2] libalpm: Parse and write PKGBASEs

2014-12-22 Thread Johannes Löthberg
This commit adds support to libalpm to parse the pkgbase present in packages .PKGINFO files, writing the PKGBASE to the %BASE% section of the local DBs desc files and for parsing it again when loading the local DB Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- lib/libalpm/be_local.c

[pacman-dev] [PATCH v2 2/2] libalpm: Add accessors for the base field

2014-12-22 Thread Johannes Löthberg
This commit adds the necessary accessor functions to get the PKGBASE of a package, forcing the desc file to be parsed. Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- lib/libalpm/alpm.h | 6 ++ lib/libalpm/be_local.c | 7 +++ lib/libalpm/package.c | 9 + lib

Re: [pacman-dev] [PATCH v2] Add makepkg option --packagelist; fix bug #42150

2015-03-20 Thread Johannes Löthberg
On 20/03, joyfulg...@archlinux.us wrote: Also fixed get_pkg_arch to treat arch as an array when querying pkgbuild_get_attribute. That is an unrelated change that doesn’t really belong in the same commit. -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https

[pacman-dev] [PATCH v3 2/2] PKGBUILD.5.txt: Clarify note about variables available

2015-03-04 Thread Johannes Löthberg
Reported-by: Florian Pritz bluew...@xinu.at Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- doc/PKGBUILD.5.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index b02a06e..b6d21fd 100644 --- a/doc/PKGBUILD.5.txt +++ b

[pacman-dev] [PATCH v3 1/2] PKGBUILD.5.txt: Add note about functions starting in $srcdir

2015-03-04 Thread Johannes Löthberg
Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- doc/PKGBUILD.5.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index 10980ab..b02a06e 100644 --- a/doc/PKGBUILD.5.txt +++ b/doc/PKGBUILD.5.txt @@ -374,6 +374,8 @@ variables for use during

[pacman-dev] [PATCH v2] PKGBUILD.5.txt: Clarify note about variables available

2015-02-26 Thread Johannes Löthberg
Reported-by: Florian Pritz bluew...@xinu.at Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- Fix 'available' typo. (Gah, that's embarassing.) doc/PKGBUILD.5.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index

[pacman-dev] [PATCH] util.c: table_display: Fix incorrect docstring

2015-06-09 Thread Johannes Löthberg
Commit 7b8f8753 removed the title parameter but forgot to remove it from the docstring. Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- src/pacman/util.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pacman/util.c b/src/pacman/util.c index 5d68360..7c6a8c0 100644 --- a/src

[pacman-dev] [PATCH v3 2/2] repo-add: Reject armored signatures

2015-06-13 Thread Johannes Löthberg
Pacman cannot handle armored signatures, so make repo-add error out if one is detected. Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- Error message changed as per IRC discussion with Allan scripts/repo-add.sh.in | 4 1 file changed, 4 insertions(+) diff --git a/scripts/repo

[pacman-dev] [PATCH v3 1/2] repo-add: Generate unarmored DB signature

2015-06-13 Thread Johannes Löthberg
Pacman cannot handle armored signatures, so use gpg's --no-armor flag to force an unarmored signature. --- scripts/repo-add.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index 3ece8d5..7e242ce 100644 ---

[pacman-dev] [PATCH v2] makepkg: Add flag for printing SRCINFO to stdout

2015-05-25 Thread Johannes Löthberg
This commit adds a makepkg option to generate and print the SRCINFO file for a PKGBUILD, required by the new AUR, to stdout. AUR 4.0 will use Git instead of source tarballs for uploading packages, so making makepkg capable of printing the SRCINFO would simplify package management, instead of

[pacman-dev] [PATCH 1/2] repo-add: Generate unarmored DB signature

2015-05-26 Thread Johannes Löthberg
Pacman cannot handle armored signatures, so use gpg's --no-armor flag to force an unarmored signature. --- scripts/repo-add.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index 3ece8d5..7e242ce 100644 ---

Re: [pacman-dev] [PATCH 2/2] repo-add: Reject armored signatures

2015-05-26 Thread Johannes Löthberg
On 26/05, Allan McRae wrote: On 26/05/15 19:46, Johannes Löthberg wrote: Pacman cannot handle armored signatures, so make repo-add error out if one is detected. --- scripts/repo-add.sh.in | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in

[pacman-dev] [PATCH] makepkg: Add flag for printing SRCINFO to stdout

2015-05-23 Thread Johannes Löthberg
--- scripts/makepkg.sh.in | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index c74e84a..2613b31 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1723,6 +1723,7 @@ usage() { printf -- $(gettext

Re: [pacman-dev] [PATCH] makepkg: Add flag for printing SRCINFO to stdout

2015-05-23 Thread Johannes Löthberg
for scripting, for it will help many that want to more easily script updates with AUR4, but I also want it to not have to parse PKGBUILDs myself, just having to parse the SRCINFO instead) -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias

Re: [pacman-dev] [PATCH] Return 17 if a package/group has been built.

2015-05-22 Thread Johannes Löthberg
On 22/05, Jack L. Frost wrote: Why 17? An arbitrary choice If it's an arbitrary choice, why not 2 to follow 1? -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/ signature.asc Description: PGP signature

[pacman-dev] [PATCH v2] repo-add: Reject armored signatures

2015-05-26 Thread Johannes Löthberg
Pacman cannot handle armored signatures, so make repo-add error out if one is detected. Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- Now beheaded. scripts/repo-add.sh.in | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index

Re: [pacman-dev] Patch-proposal for makepkg: be able to use su for installations even if sudo is installed

2015-07-26 Thread Johannes Löthberg
to sudo, makepkg will ignore an installed sudo and use su right away. If the user has access to the root password, why is their sudo commands so limited in the first place? -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/ signature.asc

Re: [pacman-dev] Signing the database again

2015-11-04 Thread Johannes Löthberg
, then runs a second remote script that puts the DB and signature in the right place and then unlocks the DB. -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/ signature.asc Description: PGP signature

Re: [pacman-dev] Source Package Versioning

2015-09-06 Thread Johannes Löthberg
Git projects, but I've never been in a situation where I wish I *didn't* have a package's version history. Then just always use git bundles instead of source tarballs when you want them. It's silly for makepkg to reimplement features of your VCS for you. -- Sincerely, Johannes Löthberg PGP

Re: [pacman-dev] Broken pacman output when resizing

2015-11-29 Thread Johannes Löthberg
On 29/11, Florian Pritz wrote: but a user is never going to see both at once I've actually wanted to see both on quite a few occasions when I've had either big updates or a very slow connection. -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com

[pacman-dev] [PATCH] doc: alpm-hooks.5: Fix missing space before Description

2016-01-04 Thread Johannes Löthberg
Signed-off-by: Johannes Löthberg <johan...@kyriasis.com> --- doc/alpm-hooks.5.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/alpm-hooks.5.txt b/doc/alpm-hooks.5.txt index f33ff8c..aee2ff8 100644 --- a/doc/alpm-hooks.5.txt +++ b/doc/alpm-hooks.5.txt @@ -64,7

Re: [pacman-dev] [PATCH] doc: alpm-hooks.5: Fix missing space before Description

2016-01-04 Thread Johannes Löthberg
On 04/01, Johannes Löthberg wrote: -* Description =* ...:: +*Description =* ...:: An optional description that describes the action being taken by the hook for use in front-end output. I'm dumb and sleep-deprived, this patch is clearly not adding a missing space

Re: [pacman-dev] [PATCH] Use a bashism instead of mktemp's --tmpdir option.

2015-12-30 Thread Johannes Löthberg
"${TMPDIR:-/tmp}/updpkgsums.XX") +newbuildfile=$(mktemp "${TMPDIR:-/tmp}/updpkgsums.XX") trap "rm -rf '$BUILDDIR' '$newbuildfile'" EXIT newsums=$(makepkg -g -p "$buildfile") || die 'Failed to generate new checksums' -- 2.6.4 -- Sincerely, Johannes

Re: [pacman-dev] Updating bash and zsh completion

2016-01-01 Thread Johannes Löthberg
here: https://bugs.archlinux.org/index.php?do=details_id=47333 Should also note that there are a few other missing ones, and some flags that are in there are available where they shouldn't be. Like --print under -Q. -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https

Re: [pacman-dev] [PATCH] contrib/PKGBUILD.vim: handle arch suffixes with keywords

2015-12-23 Thread Johannes Löthberg
, and other distributions support eg ARM. Is there any way to make it match all possible ones without hardcoding them? -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/ signature.asc Description: PGP signature

[pacman-dev] [PATCH] pactree: Add support for getting optional dependencies

2016-02-25 Thread Johannes Löthberg
Signed-off-by: Johannes Löthberg <johan...@kyriasis.com> --- doc/pactree.8.txt | 3 +++ src/util/pactree.c | 41 - 2 files changed, 39 insertions(+), 5 deletions(-) diff --git a/doc/pactree.8.txt b/doc/pactree.8.txt index b177788..4c391c0

Re: [pacman-dev] pacman-5.0:Should pkgver() and prepare() run when repackage?

2016-01-20 Thread Johannes Löthberg
for the prepare function to be run. Though --noprepare should work as a workaround in the interim. -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/ signature.asc Description: PGP signature

Re: [pacman-dev] [PATCH] pactree: Add support for getting optional dependencies

2016-03-01 Thread Johannes Löthberg
On 01/03, Andrew Gregory wrote: On 02/25/16 at 10:44pm, Johannes Löthberg wrote: +static alpm_list_t *get_pkg_optdep_names(alpm_pkg_t *pkg) +{ + alpm_list_t *i = NULL, *names = NULL; + for(i = alpm_pkg_get_optdepends(pkg); i; i = alpm_list_next(i)) { + alpm_depend_t *d

Re: [pacman-dev] Transifex - Was: [PATCH] Fix typo in german translation

2016-06-27 Thread Johannes Löthberg
, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/ signature.asc Description: PGP signature

Re: [pacman-dev] [Fwd: desc/.PKGINFO files: I need help to understand the values of some variables]

2017-01-24 Thread Johannes Löthberg
message an attachment to this one??? Because they forwarded it rather than just re-sending it to this ML. -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/ signature.asc Description: PGP signature

Re: [pacman-dev] Versioned packages

2016-09-12 Thread Johannes Löthberg
at all. Then maybe Arch is not for you. -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/ signature.asc Description: PGP signature

Re: [pacman-dev] [PATCH] Give a "success!" message on database check

2016-09-30 Thread Johannes Löthberg
has a proper reply-to header. -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/ signature.asc Description: PGP signature

Re: [pacman-dev] building from git erroneous

2016-10-25 Thread Johannes Löthberg
/pacman-key "$@" so they hold a reference to the build directory. Building pacman with makepkg triggers the "reference to $srcdir" warning. However, I haven't bisected the latest commits yet. Can't reproduce, which configure flags are you using? -- Sincerely, Johann

Re: [pacman-dev] building from git erroneous

2016-10-25 Thread Johannes Löthberg
On 25/10, Johannes Löthberg wrote: On 25/10, Johannes Löthberg wrote: On 25/10, Florian Weigelt wrote: Building from commit fa06951d90fee028ece95fc7caab39fc7d35d55f generates the scripts pacman-db-upgrade, pacman-key and pkgdelta in the form DIR="/path/to/builddir/src/pacman/scripts"

Re: [pacman-dev] building from git erroneous

2016-10-25 Thread Johannes Löthberg
On 25/10, Johannes Löthberg wrote: On 25/10, Florian Weigelt wrote: Building from commit fa06951d90fee028ece95fc7caab39fc7d35d55f generates the scripts pacman-db-upgrade, pacman-key and pkgdelta in the form DIR="/path/to/builddir/src/pacman/scripts" LIBRARY="$DIR"/libmake

Re: [pacman-dev] makepkg - separate build nodeps and runtime nodeps

2016-10-21 Thread Johannes Löthberg
akedepends if they're not needed at run-time, otherwise they're only listed in the depends array, so this wouldn't really be possible. -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/ signature.asc Description: PGP signature

Re: [pacman-dev] [PATCH] Remove contrib

2016-10-10 Thread Johannes Löthberg
On 10/10, Pierre Neidhardt wrote: Anybody plan on maintaining those scripts somewhere else then? I use a few of them. I asked for a repo to be set up on git.archlinux.org, but nothing yet. -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias

[pacman-dev] [PATCH] libmakepkg/source/git: Use --bare with a refspec instead of --mirror

2019-01-20 Thread Johannes Löthberg
that aren't useful, and which can massively inflate a repository. Signed-off-by: Johannes Löthberg --- scripts/libmakepkg/source/git.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/libmakepkg/source/git.sh.in b/scripts/libmakepkg/source/git.sh.in index 130c11e1

Re: [pacman-dev] [PATCH] libmakepkg/source/git: Use --bare with a refspec instead of --mirror

2019-01-22 Thread Johannes Löthberg
Excerpts from Allan McRae's message of January 20, 2019 22:30: > On 21/1/19 2:30 am, Eli Schwartz wrote: >> On 1/20/19 9:13 AM, Johannes Löthberg wrote: >>> This pulls in all of the branches in the same way as --mirror, but won't >>> also pull in all o

Re: [pacman-dev] Proposed Changelog Feature

2019-09-07 Thread Johannes Löthberg
ts release notes, especially when they have pretty formatting and further links to issues/PR's/commits/etc, eg. https://www.mozilla.org/en-US/firefox/69.0/releasenotes/. That has the same definition time problem, and breaks down for split packages. -- Sincerely, Johannes Löthberg :: SA0DEM p

[pacman-dev] [PATCH 2/2] PKGBUILD.5.txt: Clarify note about variables available

2015-02-26 Thread Johannes Löthberg johannes
From: Johannes Löthberg johan...@kyriasis.com Reported-by: Florian Pritz bluew...@xinu.at Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- doc/PKGBUILD.5.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index 2dba100

[pacman-dev] [PATCH 1/2] PKGBUILD.5.txt: Add note about functions starting in $srcdir

2015-02-26 Thread Johannes Löthberg johannes
From: Johannes Löthberg johan...@kyriasis.com Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- doc/PKGBUILD.5.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index 10980ab..2dba100 100644 --- a/doc/PKGBUILD.5.txt +++ b/doc/PKGBUILD.5