index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-05 | Refactor lint_source to work with earlier versions of Bash | Aaron Campbell | |
Negative subscripts to indexed arrays are not supported before 4.2. However, since substring expansion works on arrays, we can specify an offset of -1 to be taken relative to one greater than the maximum index of the specified array (see Parameter Expansion section of the bash man page). This works with both Bash 4.1 and 4.2, and 4.1 is already the oldest supported by pacman. Signed-off-by: Aaron Campbell <aaron@monkey.org> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2015-10-27 | libmakepkg: fix pkgver checking | Allan McRae | |
Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2015-09-22 | libmakepkg: remove declaration of unused local variables | Allan McRae | |
Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2015-09-22 | libmakepkg: return 1 on error in arch array | Allan McRae | |
The return value was being assigned when an error was found in a PKGBUILD's arch array but it never was returned. Also remove error message explaining about adding the arch array to a PKGBUILD. That was added a long time ago when the arch array first became compulsory. 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> | |||
2015-05-16 | makepkg: put further restrictions on pkgbase | Allan McRae | |
pkgbase should be subject to the same restrictions as pkgname Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2015-05-16 | makepkg: merge validate_pkgver into check_pkgver | Allan McRae | |
The check that pkgver is non-empty done in check_pkgver should also be performed after running the pkgver() function. Merge validate_pkgver into check_pkgver and run check_pkgver after updating pkgver. Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2015-05-16 | libmakepkg: extract PKGBUILD linting functions | Allan McRae | |
Signed-off-by: Allan McRae <allan@archlinux.org> |