packages
packages copied to clipboard
common/Scripts: add check_update function to helper.sh
Summary
- for quick anitya monitoring of a single package
Test Plan
source script in environment and run check_update on a bunch of packages
Checklist
- [x] Package was built and tested against unstable
How much of a pain is it to write fish and zsh versions?
Seems there is no good way to call a bash function from within the fish shell
How much of a pain is it to write fish and zsh versions? Seems there is no good way to call a bash function from within the fish shell
I'd make it a separate script instead and call that from all three helper functions.
With ent landing in repository, wouldn't that supersede this PR?
With
entlanding in repository, wouldn't that supersede this PR?
Only once ent begins supporting checking for updates per package?
Only once
entbegins supporting checking for updates per package?
ent can check per package (provided it has monitoring.yml, of course). Just navigate to a package directory, say systemd:
░▒▓ …/packages/s/systemd main 19:52
❯ go-task updatecheck
task: [updatecheck] ent check updates
Checking for updates...
Total packages to update: 1
Package Current Latest
------- ------ ---
systemd 254.21 257
░▒▓ …/packages/s/systemd main 19:52
❯ ent check updates
Checking for updates...
Total packages to update: 1
Package Current Latest
------- ------ ---
systemd 254.21 257
░▒▓ …/packages/s/systemd main 19:52
❯
Closing as this functionality is superseded by Serpent's ent tool.
Thank you nonetheless @joebonrichie ! :muscle: