index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-31 | libmakepkg: centralise random arrays of pkgbuild variables | morganamilo | |
Refactor many of the different arrays of pkgbuild variables into scripts/libmakepkg/util/schema.sh.in. Signed-off-by: morganamilo <morganamilo@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2019-01-22 | libmakepkg: move checkdepends to the correct array | morganamilo | |
Signed-off-by: morganamilo <morganamilo@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2019-01-22 | libmakepkg: make gettext replacements more templated | Eli Schwartz | |
Making the undescore be translated is probably not something we need translators to think about. Additionally, a number of places which use the same text differ only by the variable being referenced, so simplifying the string means we can drop a redundant translation. Bonus: we save a few bytes here and there. \o/ Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2019-01-10 | libmakepkg/lint_pkgbuild: check for invalid variables even if they're empty | Eli Schwartz | |
Checking the length of the variable to be non-zero before considering it an error is inconsistent; license=() and depends='' and `declare arch` should be considered just as wrong. In fact the current check detects depends='' as non-zero and returns an error, but happily considers the others to be perfectly okay. A more reliable check is to simply see if the name has been declared (whether it is set or not), and then enforce that it's been declared to the right type. As an added benefit, avoiding the creation of proxy-evaled variables to count the number of indexes results in simpler code. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2018-08-10 | libmakepkg: add pkgbase to linted variables | morganamilo | |
Signed-off-by: morganamilo <morganamilo@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2018-06-18 | Add missing sha224 sums in man page and linting | morganamilo | |
Signed-off-by: morganamilo <morganamilo@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2018-03-14 | Update coyrights for 2018 | Allan McRae | |
make update-copyright OLD=2017 NEW=201 Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2017-01-04 | Update copyright years | Allan McRae | |
Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2016-02-20 | libmakepkg: increase robustness of the detection of array variables | Allan McRae | |
Extract array detection into its own utility function that ensures extglob is enabled. Suggested-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2016-01-25 | Fix testing of arrays status for arch specific variables | Zuyi Hu | |
Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2016-01-04 | Update copyright years for 2016 | Allan McRae | |
make update-copyright OLD=2015 NEW=2016 Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2015-11-23 | lint_pkgbuild/variable: increase robustness | Allan McRae | |
Approach the detection of variables of the wrong type using an approach similar to that used for construction of .SRCINFO files. While doing silly things in bash could still result in false negatives, this approach should be very robust to generatinf false positives results. Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2015-09-07 | libmakepkg: check if PKGBUILD variables are arrays or not as appropriate | Allan McRae | |
When extracting variables from PKGBUILD (e.g. for .SRCINFO creation) we make assumptions about whether variables are arrays or not. This adds a check to the PKGBUILD linter to ensure variables are arrays or not as appropriate. Signed-off-by: Allan McRae <allan@archlinux.org> |