Jörg Thalheim
619e4c32e6
Update nix_update/options.py
2021-01-25 19:04:42 +00:00
Tim Steinbach
249b3fbb8a
Add --version=unstable to README
2021-01-25 10:27:42 -05:00
Jörg Thalheim
8bfdad152f
refactor stable/unstable versions and regex filtering
2021-01-25 00:30:37 +01:00
Tim Steinbach
caf298f4f0
Add --unstable-version argument
...
Enabling this flag will include all versions
containing '-' and '+' from being considered valid.
As per SemVer, these are the separators for unstable
versions (i.e. "-RC2", "+abcdef" suffixes).
2021-01-18 12:00:14 -05:00
Jörg Thalheim
4c85815dd4
Merge pull request #36 from Mic92/fix-hashes
2021-01-09 10:22:12 +00:00
Jörg Thalheim
9e096645c7
ensure XDG_RUNTIME_DIR before calling nix-prefetch
2021-01-09 11:20:20 +01:00
Jörg Thalheim
05dccf154e
add integration tests
2021-01-09 11:20:20 +01:00
Jörg Thalheim
f6e0adb59b
fix new nix hash cli syntax
2021-01-09 07:51:27 +01:00
Jörg Thalheim
b061abc873
Merge pull request #35 from petabyteboy/feature/fix-error
...
fix UnboundLocalError
2021-01-02 22:38:50 +00:00
Milan Pässler
19f6b28ff8
fix UnboundLocalError
...
Closes #34
2021-01-02 19:43:42 +01:00
Jörg Thalheim
8fb6c5e6c6
Merge pull request #31 from NeQuissimus/version_extract
2020-12-25 17:40:55 +00:00
Tim Steinbach
7d487d245a
Allow extracting version information
...
This can be used to remove tag prefixes, suffixes or similar
Closes #29
2020-12-25 10:27:50 -05:00
Jörg Thalheim
75dc3ab0c6
Merge pull request #32 from NeQuissimus/fix_patterns
...
Fix pattern replacements
2020-12-24 06:48:35 +00:00
Jörg Thalheim
d9993f9f2b
Merge pull request #33 from NeQuissimus/check_build_test
...
Check return status for build/test
2020-12-24 06:47:45 +00:00
Tim Steinbach
6bc1c4573f
Check return status for build/test
...
Updating failed if either of these return a non-zero return
code and subsequent actions (i.e. `git commit`) should not be
invoked.
2020-12-22 14:21:06 -05:00
Tim Steinbach
a8d0cffcda
Fix pattern replacements
...
SRI hashes containing regex characters such as '+'
break the replacement logic intended with `re.sub`
Use strict string replacements instead
2020-12-22 14:09:58 -05:00
Jörg Thalheim
ae7159d644
Merge pull request #27 from NeQuissimus/skip_hashonly
...
Skip updating hashes without version change
2020-12-02 07:59:19 +00:00
Tim Steinbach
80ced10929
Skip updating hashes without version change
2020-12-01 16:00:24 -05:00
Jörg Thalheim
9c03c54b12
Merge pull request #30 from Mic92/git-version
2020-12-01 09:33:33 +00:00
Jörg Thalheim
fb4ec8bce0
flake: use self as src
2020-12-01 10:31:29 +01:00
Jörg Thalheim
65b6abb927
update nixpkgs source used
2020-12-01 10:31:14 +01:00
Jörg Thalheim
aa7a1cbfe4
remove automerge action
2020-12-01 10:09:00 +01:00
Jörg Thalheim
cc11c200d3
run pytest for build
2020-12-01 09:37:57 +01:00
Jörg Thalheim
fa9511ff69
make flake8 + black happy
2020-12-01 09:36:49 +01:00
Jörg Thalheim
7344500e46
get old version from git
2020-12-01 09:36:48 +01:00
Jörg Thalheim
d9d4c02ae7
Merge pull request #28 from Mic92/to_sri
2020-11-30 16:41:02 +00:00
Jörg Thalheim
1318fd3ed3
update flake
2020-11-29 09:34:49 +01:00
Jörg Thalheim
5b0a4cef5f
normalize hashes
2020-11-29 09:34:04 +01:00
Jörg Thalheim
2baa5e96ac
Merge pull request #25 from NeQuissimus/tests
2020-11-18 21:44:09 +01:00
Jörg Thalheim
3fdc0f5fe0
make test flag more generic
...
nix-update not only supports nixos
2020-11-18 21:34:22 +01:00
Tim Steinbach
ed3f1dd0ab
Add test flag
2020-11-18 10:08:50 -05:00
Jörg Thalheim
0629c640eb
Merge pull request #26 from Mic92/flakes
2020-11-18 12:02:30 +01:00
Jörg Thalheim
78ebf7b1df
always assume nix flakes enabled version
...
This was adding too much boiler code.
Having one version is easier to maintain.
2020-11-18 09:23:07 +01:00
Jörg Thalheim
ced815e9ff
Merge pull request #23 from Mic92/dependabot/github_actions/cachix/install-nix-action-v12
...
Bump cachix/install-nix-action from v11 to v12
2020-11-09 13:01:34 +01:00
dependabot[bot]
00a41fdb34
Bump cachix/install-nix-action from v11 to v12
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from v11 to v12.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v11...07da2520eebede906fbeefa9dd0a2b635323909d )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-09 05:41:58 +00:00
Jörg Thalheim
d6f7ad1c34
Merge pull request #21 from Mic92/dependabot/github_actions/pascalgn/automerge-action-v0.12.0
...
Bump pascalgn/automerge-action from v0.11.0 to v0.12.0
2020-10-13 21:11:23 +02:00
dependabot[bot]
694a58be6b
Bump pascalgn/automerge-action from v0.11.0 to v0.12.0
...
Bumps [pascalgn/automerge-action](https://github.com/pascalgn/automerge-action ) from v0.11.0 to v0.12.0.
- [Release notes](https://github.com/pascalgn/automerge-action/releases )
- [Commits](https://github.com/pascalgn/automerge-action/compare/v0.11.0...c9bd1823770819dc8fb8a5db2d11a3a95fbe9b07 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 05:40:05 +00:00
github-actions[bot]
04a051c4f9
Merge pull request #20 from Mic92/dependabot/github_actions/pascalgn/automerge-action-v0.11.0
2020-10-05 05:43:26 +00:00
dependabot[bot]
13ae0e6bb1
Bump pascalgn/automerge-action from v0.10.0 to v0.11.0
...
Bumps [pascalgn/automerge-action](https://github.com/pascalgn/automerge-action ) from v0.10.0 to v0.11.0.
- [Release notes](https://github.com/pascalgn/automerge-action/releases )
- [Commits](https://github.com/pascalgn/automerge-action/compare/v0.10.0...eb9575adbe8c16386ad6a33ffc74812bfd530f90 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-05 05:42:18 +00:00
Jörg Thalheim
c6fc4c3b50
Merge pull request #18 from Mic92/dependabot/github_actions/cachix/install-nix-action-v11
...
Bump cachix/install-nix-action from v10 to v11
2020-09-28 09:32:22 +02:00
dependabot[bot]
a942361763
Bump cachix/install-nix-action from v10 to v11
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from v10 to v11.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v10...95a8068e317b8def9482980abe762f36c77ccc99 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 05:44:17 +00:00
Jörg Thalheim
79b257ffc5
Merge pull request #17 from Mic92/dependabot/github_actions/pascalgn/automerge-action-v0.10.0
...
Bump pascalgn/automerge-action from v0.9.0 to v0.10.0
2020-09-21 08:38:32 +02:00
dependabot[bot]
3d43a59072
Bump pascalgn/automerge-action from v0.9.0 to v0.10.0
...
Bumps [pascalgn/automerge-action](https://github.com/pascalgn/automerge-action ) from v0.9.0 to v0.10.0.
- [Release notes](https://github.com/pascalgn/automerge-action/releases )
- [Commits](https://github.com/pascalgn/automerge-action/compare/v0.9.0...a6eda95628e71aa97719c9e111847402fa9d476a )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-21 05:37:35 +00:00
Jörg Thalheim
63c6200cc1
Merge pull request #15 from jonringer/patch-1
...
Fix readme shell command
2020-08-17 19:38:45 +01:00
Jörg Thalheim
23de41fff9
utils.py: fix formatting
2020-08-17 18:17:35 +01:00
Jon
179b7becc1
Fix readme shell command
2020-08-17 09:10:32 -07:00
Jörg Thalheim
4d35310c51
fix is_nix_flakes check
2020-08-17 09:56:26 +01:00
Jörg Thalheim
cab039d752
make nix-update a flake
2020-08-17 08:41:53 +01:00
Jörg Thalheim
ae2c023ae1
Merge pull request #14 from Mic92/flakes
...
nix-update: make compatible with nixUnstable
2020-08-16 13:15:36 +01:00
Jörg Thalheim
cd588261a7
nix-update: make compatible with nixUnstable
2020-08-16 13:06:45 +01:00