index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-19 | pkgctl: add a unified command-line frontend for devtools | Levente Polyak | |
This is the first step of a simple and highly structured unified interface to devtools commands in a single wrapper. The split is based on groups like `repo`, `build` and `diff` Signed-off-by: Levente Polyak <anthraxx@archlinux.org> | |||
2023-03-06 | fix: enable extglob before func definition for bash-5.2 compatibility | Tobias Powalowski | |
The `extglob` option changes the behavior of the shell parser, since extended glob patterns would otherwise be syntax errors. bash-5.2 changed the way a function definition is processed by calling the parser instead of relying on the ad-hoc code in bash-5.1 and earlier versions. This means, in bash-5.2 the shell function was parsed without `extglob` being enabled because the `shopt` command to enable it was part of the function body. Add `shopt` options for `extglob` around function definitions to address this issue and allow bash-5.2 to correctly parse the function. Co-authored-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org> Co-authored-by: Levente Polyak <anthraxx@archlinux.org> Signed-off-by: Levente Polyak <anthraxx@archlinux.org> | |||
2022-09-01 | fix: do not set extglob globally to avoid side-effects | Levente Polyak | |
Instead only enable it for whatever operation requires them. Example sides effects: commitpkg can accidently execute PKGBUILD functions when sourcing the PKGBUILD that has function names like package_libsigc++() Fixes #87 | |||
2022-09-01 | diffpkg: pass the --color option appropriately to diffoscope | Levente Polyak | |
Diffoscope has a different option, called --text-color which only understands the verbose options. Hence we extend the --color shorthand for --color=auto and pass the changed option name to diffoscope. | |||
2022-08-31 | fix: properly check for invalid argument in checkpkg and diffpkg | Levente Polyak | |
The option switch case only matches by splitting via '|' instead of ',' | |||
2022-08-31 | diffpkg: prefer to search inside the pool dir if available | Levente Polyak | |
On certain packaging machines where the pacman cache gets updated very infrequently, the behavior of diffpkg may not function correctly as old packages were to be downloaded as diff target. In such cases we look for a pool directory first and search via a glob for an available pool package sorted by version. The pool search glob has three glob segments each disallowing the dash delimiter to split across pkgrel, pkgver and arch. This will return the correct package from the pool without considering overly eager wildcards that potentially match different pkgnames. The default pool search directory is /srv/ftp/pool | |||
2022-08-31 | diffpkg: allow to set column width for side-by-side view | Levente Polyak | |
The magic values `columns` and `auto` allow to set specific aspects, with 'auto' as the default value: - auto: Set width to the maximum line length of all input files - columns: Set width to the shell defined $COLUMNS env var Furthermore any number can be passed to set a static width. | |||
2022-08-23 | diffpkg: add colored output option with default of auto | Levente Polyak | |
2022-08-23 | diffpkg: allow to choose between unified context and two columns | Levente Polyak | |
2022-06-22 | cleanup: move PKGBUILD.proto to contrib folder | Levente Polyak | |
2022-06-22 | make: split out source files into src folder | Levente Polyak | |