change blacklist comments to error messages; use ATTR_PATH in commit message/pr

This commit is contained in:
Ryan Mulligan 2018-03-18 06:55:13 -07:00
parent 56e52cd7bd
commit ae57ec93b1

15
up.sh
View File

@ -25,12 +25,13 @@ function error_exit {
# Package blacklist
case "$PACKAGE_NAME" in
*jquery*) false;; # this isn't a real package
*google-cloud-sdk*) false;; # complicated package
*github-release*) false;; # complicated package
*fcitx*) false;; # gets stuck in daemons
*fricas*) false;; # gets stuck in emacs
*libxc*) false;; # currently people don't want to update this
*jquery*) error_exit "this isn't a real package";;
*google-cloud-sdk*) error_exit "complicated package";;
*github-release*) error_exit "complicated package";;
*fcitx*) error_exit "gets stuck in daemons";;
*fricas*) error_exit "gets stuck in emacs";;
*libxc*) error_exit "currently people don't want to update this https://github.com/NixOS/nixpkgs/pull/35821";;
perl*) error_exit "currently don't know how to update perl";;
*) true;;
esac || error_exit "Package on blacklist."
@ -136,7 +137,7 @@ fi
git diff
COMMIT_MESSAGE="$PACKAGE_NAME: $OLD_VERSION -> $NEW_VERSION
COMMIT_MESSAGE="$ATTR_PATH: $OLD_VERSION -> $NEW_VERSION
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: