aboutsummaryrefslogtreecommitdiffstats
path: root/build-updated-packages.bash
AgeCommit message (Collapse)AuthorFilesLines
2014-11-20Revert "Make get_pkgver_sha work on strings"Johannes Löthberg1-13/+5
This reverts commit 5d6ba702cb6e80730d450882fee4b2673b82deb7.
2014-11-20Make get_pkgver_sha work on stringsJohannes Löthberg1-5/+13
2014-10-12split out db buildingJohannes Löthberg1-7/+1
2014-09-17Refactor rebuild scriptJohannes Löthberg1-42/+15
* Use one get_pkgver_sha() function for getting the commit SHA from the pkgver variable of a PKGBUILD * `makepkg --nobuild` updates the pkgver too, so store the old commit sha in an associative array using get_pkgver_sha before running `makepkg --nobuild`. * After updating the repos use get_pkgver_sha again to check whether the new pkgver is the same as the previous one using get_pkgver_sha() instead of the old monstreous get_new_commit() function. If it is do nothing, if not add the package to the list of packages to rebuild. * Use config.bash for configuration variables instead of keeping them inside the script. * Drop the packages associate array since makepkg is now used to refresh repositories and make it a normal array just containing the names of vcs packages instead. * Since makepkg takes care of refreshing repos we don't need to keep track of the branches ourself, so drop the branches associative array from the package list file.
2014-08-16Refactor build-updated-packages.bashJohannes Löthberg1-47/+42
2014-08-13init commitJohannes Löthberg1-0/+89