New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
slack: add auto-updater script #102694
slack: add auto-updater script #102694
Conversation
cc maintainer @mmahut |
They're more or less the same, with the main difference being that nixpkgs-upkeep does packages that @r-ryantm is not auto-updating. A few other differences: nixpkgs-upkeep has build logs available for all to see on GitHub Actions, only is based on the auto-update scripts that are already in nixpkgs for convenience, and runs every 12 hours. It's not really meant to be a competition though. I mainly created this PR so that slack could have all of the update.sh conveniences that other packages like vscode and spotify have. |
You should also set |
Ok, added |
@samuela I really appreciate this effort, but I feel like it would be better to work on the @r-ryantm bot as a community tool instead of creating an alternative? I do not personally like including scripts with such a limited usage in |
We could also just merge this update script but not add slack to nixpkgs-upkeep. I'd imagine that @r-ryantm could use an update script like this anyhow. OTOH, if you're opposed to update scripts in nixpkgs that may not be favorable. As another option, this script could be added to nixpkgs-upkeep but not nixpkgs and run "out of sight, out of mind". Wdyt? |
You are both confusing a few things:
Hence, the script added here is justified because in order to programmatically find out "what is the latest slack version available?", one has to scrap their website, and not look it up in in one of the sources mentioned above. |
@doronbehar I would really appreciate it, that next time, you would wait for the package maintainer himself to merge a change after clearing up all questions about a change. |
@mmahut r-ryantm uses passthru.updateScript so this change is likely to help it. It would have likely failed before because of multiple hashes being present. @doronbehar r-ryantm updates unfree things |
Motivation for this change
Save hooman time by spending computer time. This will enable adding slack to https://github.com/samuela/nixpkgs-upkeep.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)