Commit Graph

81 Commits

Author SHA1 Message Date
emilylange
e948a7f797 remove broken Gogs/notabug.com support
Gogs isn't Gitea.
The API surface of Gogs is different from Gitea's.

Additionally, notabug.com uses a multiple years old version of Gogs,
which has neither `/tags` nor `/commits` implemented.

The implementation we use in `version/gitea.py` simple does not work.

You can check this yourself by running `nix-update libgtkflow4`, one of
the few packages in nixpkgs that are hosted on notabug.com
2024-04-20 23:06:44 +00:00
Anthony Roussel
e567ad0c7e Add support for updating buildMavenPackage's mvnHash 2024-03-18 07:15:52 +00:00
Jörg Thalheim
a42ae67d87
Merge pull request #229 from lilyinstarlight/fix/cargo-lock-leaving-result-links-everywhere
make cargo lock updater keep outpath links in temporary directory
2024-03-11 08:41:04 +01:00
Lily Foster
f80ee70b1d
make cargo lock updater keep outpath links in temporary directory 2024-03-06 06:48:44 -05:00
Lily Foster
a6485c159c
fix updating cargo lock when separateDebugInfo is enabled 2024-02-23 18:53:11 -05:00
Gaël Reyrol
0a30179f00 Add support for updating buildComposerProject's vendorHash
Update tests/testpkgs/default.nix
2024-01-16 11:06:16 +01:00
EBADBEEF
a10f7c047f bitbucket.org support for versions and snapshots 2023-11-22 19:13:43 +00:00
Yureka
8b3e81e45d support for updating yarn FOD hash
For https://github.com/NixOS/nixpkgs/pull/140701
2023-09-06 12:25:25 +02:00
Jörg Thalheim
e0239251cb ruff: enable upgrade checks 2023-08-25 07:00:08 +00:00
figsoda
4f2d6c40e1 quote import_path when importing in nix 2023-08-24 15:06:03 +00:00
figsoda
39cd42e0a0 fix attribute name escaping 2023-08-02 09:56:57 -04:00
Artturin
68b5b4b5a3 support new goModules attr
go-modules has been renamed to goModules

for nixpkgs pr 242905
2023-07-12 19:03:22 +00:00
Jörg Thalheim
fe6b2e9cdc also respect cargoRoot when updating checksum 2023-06-16 08:23:53 +02:00
figsoda
161eed5da8 add diff support for fetchCrate 2023-05-12 12:54:40 -04:00
figsoda
8ab80a4d7b consider revision when checking whether there was an update 2023-04-14 23:17:10 -04:00
zowoq
0ccd9cc0b1 switch to go-modules.outputHash 2023-04-10 07:12:49 +10:00
figsoda
d310442948 sort and remove unused imports 2023-04-03 08:59:22 -04:00
Jörg Thalheim
f969788b35 treewide: stop using Union type in favour of | 2023-04-03 09:31:42 +02:00
Jörg Thalheim
01408b8b13 eval: Use cargo lock class to distinguish different cases instead of tristate bool|Optional|str 2023-04-03 09:31:42 +02:00
figsoda
927f47a36e fix updating importCargoLock when lockFile is in the nix store 2023-04-02 22:56:36 -04:00
figsoda
cb0edae277 improve error message when no hash is found 2023-03-25 22:16:09 -04:00
figsoda
fb1396fee4 deduplicate outputHashes based on git revisions 2023-03-21 18:11:40 -04:00
figsoda
db07c35dae add support for updating packages using importCargoLock 2023-03-20 22:48:32 -04:00
figsoda
4f183f2d94 reduce false positives when replacing versions 2023-03-20 22:42:41 -04:00
figsoda
3e2b3c8a13 reject empty hashes 2023-02-12 10:35:13 -05:00
figsoda
9a629ced22 remove trailing .git for github diff urls 2023-01-27 17:30:52 -05:00
figsoda
dc1b2af4da gitea support 2023-01-21 15:31:30 -05:00
figsoda
bf2ee2bbf0 system_flags -> extra_flags, move experimental features to extra_flags 2023-01-08 10:35:32 -05:00
figsoda
329317dbdd add --system 2023-01-04 19:55:31 -05:00
Jörg Thalheim
bb901a38a4
Merge pull request #118 from figsoda/flakes
Flakes support
2022-12-11 19:19:40 +00:00
Jörg Thalheim
d4eceb200e switch to ruff from flake8 2022-12-11 13:53:00 -05:00
figsoda
e5f57c258c add support for flakes 2022-12-08 12:46:35 -05:00
figsoda
0dea3ba6f3 prefer versions with the same prefix 2022-11-29 12:58:43 -05:00
figsoda
895f44126b add flag to run passthru.updateScript if possible 2022-11-28 10:43:41 -05:00
figsoda
baf3779e54 add diff features 2022-11-27 09:52:04 -05:00
figsoda
2d4aa23824 remove unused statement and variable 2022-11-23 19:10:36 -05:00
figsoda
e1067480e9 fix duplicate import from merge conflicts 2022-11-21 15:24:11 -05:00
figsoda
f0490e7196
Merge branch 'master' into unstable 2022-11-21 15:07:18 -05:00
figsoda
350d534ac7 use .utils.run instead of subprocess.run 2022-11-17 12:49:14 -05:00
figsoda
0cbea8ba78 inherit stdout and stderr when appropriate 2022-11-17 12:46:56 -05:00
figsoda
4fab744eac remove shebangs in inexecutable files, format with black and isort 2022-11-14 17:14:09 -05:00
figsoda
dbb398b08f add fallback to overrideAttrs 2022-11-14 09:49:30 -05:00
Winter
9631d62a89 add support for buildNpmPackage 2022-11-10 17:56:31 +01:00
Winter
5692ffc91d don't use nix-prefetch 2022-11-10 17:56:31 +01:00
zowoq
e4de7e6287 add vendorHash 2022-09-21 17:32:12 +10:00
zowoq
9e3ab3c1d8 cargo_sha256 -> cargo_deps
rename for clarity as it is both cargoHash and cargoSha256
2022-09-21 17:31:30 +10:00
zowoq
eba1571866 remove modSha256
no longer used in nixpkgs
2022-09-21 17:30:26 +10:00
Jörg Thalheim
06dd722d36 allow to manually override filename that is patched 2022-06-14 11:22:01 +02:00
Jörg Thalheim
501befb415
don't override existing experimental features
This way nix-update can be used on repos that uses flake builtins.
2022-05-19 09:52:17 +02:00
schnusch
1825688b08 change default ref of --version=branch to HEAD 2022-01-19 20:33:23 +01:00