Commit Graph

13 Commits

Author SHA1 Message Date
Ryan Hendrickson
ba54c3676b
genericUpdater: silence grep in version_is_ignored (#353464) 2024-11-06 21:38:45 -05:00
Martin Joerg
5010ef5ebf genericUpdater: pass patchlevel-unstable correctly to shell script
fix escaping of ${10}
2024-11-03 18:50:06 +00:00
Martin Joerg
ea6d3fa2f5 genericUpdater: silence grep in version_is_ignored
version_is_ignored must not emit matching versions on stdout, as that violates the commit protocol.
2024-11-03 18:40:11 +00:00
Ryan Hendrickson
b639a50d15 common-updater-scripts: add allowedVersions parameter
By providing a regex in allowedVersions, users of genericUpdater,
gitUpdater, directoryListingUpdater, or httpTwoLevelsUpdater can exclude
versions that don't match the regex. This can be simpler to express than
constructing the complement regex in ignoredVersions.
2024-06-25 17:44:44 -04:00
midchildan
a87dd78cdd
genericUpdater: fix ignoredVersions
ignoredVersions silently failed if GNU grep was not in `PATH`.
2024-04-15 00:46:41 +09:00
Jan Tojnar
d81eeb426b genericUpdater: Add support for commit protocol
This will allow it to work with _experimental-update-script-combinators.sequence.
2024-01-14 19:24:11 +01:00
José Romildo
19a4717846 directoryListingUpdater: init
Update a package looking for available versions in an html page
2022-10-01 12:27:09 -03:00
José Romildo
f15117a874 generic-updater: more flexible with name, pname, version and attr path
- This information is availabe from environment variables defined by
maintainers/scripts/update.nix

- Renamed the shell script to generic-update-script.sh

- Add a new optional argument (representing the package name) to the
shell script

- The version lister is called with a new optional
argument (representing the package attribute path)
2022-09-27 23:41:53 -03:00
José Romildo
cb9a33497f generic-updater: fix nix edit command line
Recently `nix edit` works only with `--extra-experimental-features nix-command`
2022-07-02 08:17:00 -03:00
José Romildo
ba59355e81 gitUpdater: init
- Add the 'gitUpdater' helper function to update git based packages, using the
'genericUpdater' function.
- Rework argument passing to the `list-git-tags' and 'list-archive-two-level-versions' scripts.
- Replace 'genericUpdater' plus 'list-git-tags' by 'gitUpdater'
2022-02-21 13:01:49 -03:00
José Romildo Malaquias
8bceb7c876 genericUpdater: add attribute argument to ignore some versions 2020-05-04 14:33:03 -03:00
José Romildo Malaquias
7d84c7cd36 common-updater: change default development version check to false 2020-04-16 08:06:56 -03:00
José Romildo Malaquias
5aad6a361d common-updater: add update script to all-packages 2020-04-15 23:02:33 -03:00