Commit Graph

461 Commits

Author SHA1 Message Date
Jörg Thalheim
1f1c1ab1ec fix bitbucket test 2024-04-23 11:58:28 +00:00
Jörg Thalheim
220d547109
Merge pull request #243 from FedericoSchonborn/fix-gitlab-branch
Fix fetching GitLab snapshots on repos with no tags
2024-04-23 13:26:44 +02:00
mergify[bot]
c3194df384
Merge branch 'master' into fix-gitlab-branch 2024-04-23 10:41:22 +00:00
emilylange
fb5c71b422 gitea: fix handling when fetchFromGitea falls back to fetchgit
`fetchFromGitea` just re-uses `fetchFromGitHub`.
The only difference is making `domain` a required attribute instead of
defaulting to `"github.com"`.

As such, it falls back to `fetchgit`, such like `fetchFromGitHub`, if
any of the following is true:

 - fetchSubmodules
 - leaveDotGit
 - deepClose
 - sparseCheckout != []
 - forceFetchGit

When falling back to `fetchgit`, the `src.url` will end with `".git"`,
which we then need to strip again from our parsed `repo` variable.

`fetchFromGitHub` has the same logic to trim `".git"` unconditionally.
2024-04-20 23:06:44 +00:00
emilylange
b03e9dc75a fetch_gitea_snapshots: fix typo and make less expensive 2024-04-20 23:06:44 +00:00
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
Federico Damián Schonborn
46218bd11e
fix fetching GitLab snapshots on repos with no tags
This commit fixes #242

Signed-off-by: Federico Damián Schonborn <federicoschonborn@disroot.org>
2024-04-19 22:23:18 -03:00
Jörg Thalheim
5a5f48412d
Merge pull request #240 from 0fie/patch-1
Update README.md
2024-04-05 20:11:03 +02:00
0fie
17287ecfdf
Update README.md 2024-04-05 12:49:37 +02:00
Daniel Sampliner
f181db90b2 fix failing sourcehut test 2024-04-02 07:49:09 +00:00
Daniel Sampliner
2519da8d1c fix formatting to comply 2024-04-02 07:49:09 +00:00
Daniel Sampliner
8d44ca1d8f respect --override-filename flag for flakes
fixes https://github.com/Mic92/nix-update/issues/238
2024-04-02 07:49:09 +00:00
Jörg Thalheim
c20ec18496
Merge pull request #233 from anthonyroussel/maven
Add support for updating buildMavenPackage's mvnHash
2024-03-18 08:34:45 +01:00
Jörg Thalheim
faf102fed1 README: update site list
fixes https://github.com/Mic92/nix-update/issues/234
2024-03-18 07:23:16 +00:00
dependabot[bot]
dee0cca3e3 Bump cachix/install-nix-action from 25 to 26
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 25 to 26.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v25...v26)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 07:19:05 +00:00
Anthony Roussel
e567ad0c7e Add support for updating buildMavenPackage's mvnHash 2024-03-18 07:15:52 +00:00
Jörg Thalheim
ce6fd413b3
Merge pull request #236 from Mic92/composer
fix composer test
2024-03-18 08:14:51 +01:00
Jörg Thalheim
a6ceab8b36 fix composer test 2024-03-18 07:11:26 +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
Jörg Thalheim
5184fb6edd
Merge pull request #225 from katexochen/legacy
document how to update a flakes legacyPackages
2024-03-06 08:11:20 +01:00
Jörg Thalheim
2db1d82656
Merge pull request #227 from lilyinstarlight/fix/cargo-separate-debug-info
fix updating cargo lock when separateDebugInfo is enabled
2024-03-06 08:11:07 +01:00
Jörg Thalheim
ff99539e61
Merge pull request #228 from lilyinstarlight/feature/version-prefixed-unstable-versions
prefix unstable version numbers with latest release per current guidelines
2024-03-06 08:10:49 +01:00
Lily Foster
a6485c159c
fix updating cargo lock when separateDebugInfo is enabled 2024-02-23 18:53:11 -05:00
Lily Foster
5ef0425f79
prefix unstable version numbers with latest release per current guidelines 2024-02-23 18:52:42 -05:00
Paul Meyer
b51dd85e6e document how to update a flakes legacyPackages
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-02-19 17:11:05 +01:00
Jörg Thalheim
37e9b32f33 bump version 1.2.0 2024-02-19 15:47:50 +01:00
Gaetan Lepage
a566b9bdb1 print maintainers list 2024-01-25 10:38:41 +00:00
Lily Foster
6e4ee6941a make gitlab updater work by tag when releases are disabled 2024-01-17 14:56:30 +00:00
Jörg Thalheim
ae70579d8d bump version 1.1.0 2024-01-16 12:35:20 +01:00
Jörg Thalheim
da997c87c7 create-release: make sed regex more strict 2024-01-16 10:25:52 +00:00
Jörg Thalheim
36ffca82d2
Merge pull request #217 from Mic92/composer-support
Add support for updating buildComposerProject's vendorHash
2024-01-16 11:12:47 +01: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
Mic92
b80494da43 Update README.md to precise that software is available in latest stable channel (23.11 as of today) (#215)
Update README.md

Update the README to precise that the software is also in the latest stable channel, currently 23.11, shows that it has version 1.0.0 of nix-update (https://search.nixos.org/packages?channel=23.11&show=nix-update&from=0&size=50&sort=relevance&type=packages&query=nix-update)

* Update README.md

* Update README.md
2024-01-15 09:59:58 +00:00
dependabot[bot]
50640aa288 Bump cachix/install-nix-action from 24 to 25
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 24 to 25.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v24...v25)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 06:33:58 +00:00
Atemu
4c763a7cf3 README: document --version=branch option in more depth 2024-01-04 08:26:43 +00:00
dependabot[bot]
dcdf594417 Bump cachix/install-nix-action from 23 to 24
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 06:08:06 +00:00
EBADBEEF
76c4e79c2c bitbucket.org integration tests 2023-11-22 19:13:43 +00:00
EBADBEEF
a10f7c047f bitbucket.org support for versions and snapshots 2023-11-22 19:13:43 +00:00
Jörg Thalheim
f6f45655e7 README: drop comment about black formatter 2023-11-08 07:58:55 +00:00
Jörg Thalheim
47945865f6 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c082856b850ec60cda9f0a0db2bc7bd8900d708c' (2023-11-02)
  → 'github:NixOS/nixpkgs/ec750fd01963ab6b20ee1f0cb488754e8036d89d' (2023-11-07)
2023-11-08 07:58:55 +00:00
Jörg Thalheim
d945764f13 nix fmt 2023-11-08 07:58:55 +00:00
Matthieu Coudron
6f21bf4db4 improve --help output, notably '--version' possibilities 2023-11-08 07:58:55 +00:00
Jörg Thalheim
c690b76213 switch to ruff for formatting 2023-11-02 09:26:15 +00:00
Jörg Thalheim
5e679528f6 flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/7f53fdb7bdc5bb237da7fefef12d099e4fd611ca' (2023-09-01)
  → 'github:hercules-ci/flake-parts/8c9fa2545007b49a5db5f650ae91f227672c3877' (2023-11-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/517501bcf14ae6ec47efd6a17dda0ca8e6d866f9' (2023-09-27)
  → 'github:NixOS/nixpkgs/c082856b850ec60cda9f0a0db2bc7bd8900d708c' (2023-11-02)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/720bd006d855b08e60664e4683ccddb7a9ff614a' (2023-09-27)
  → 'github:numtide/treefmt-nix/5deb8dc125a9f83b65ca86cf0c8167c46593e0b1' (2023-10-27)
2023-11-02 09:26:15 +00:00
Jörg Thalheim
957b6c4dac nix-update: publish to flakestry 2023-10-24 16:10:39 +00:00
Jörg Thalheim
da0b54447c also fix updating default.nix version for a release 2023-09-30 09:25:27 +00:00
Jörg Thalheim
99c347264b bump version 1.0.0 2023-09-30 11:16:35 +02:00
Jörg Thalheim
2732363f42
Modernize buildsystem (#199)
* flake.lock: Update

Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/59cf3f1447cfc75087e7273b04b31e689a8599fb' (2023-08-01)
  → 'github:hercules-ci/flake-parts/7f53fdb7bdc5bb237da7fefef12d099e4fd611ca' (2023-09-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cf73a86c35a84de0e2f3ba494327cf6fb51c0dfd' (2023-08-10)
  → 'github:NixOS/nixpkgs/517501bcf14ae6ec47efd6a17dda0ca8e6d866f9' (2023-09-27)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/19dee4bf6001849006a63f3435247316b0488e99' (2023-08-12)
  → 'github:numtide/treefmt-nix/720bd006d855b08e60664e4683ccddb7a9ff614a' (2023-09-27)

* nix-update: convert to pyproject

* drop old pkgs.nixVersions.stable fallback

* add create-release.sh script
2023-09-30 10:04:21 +01:00
dependabot[bot]
e7208a47b5 Bump cachix/install-nix-action from 22 to 23
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 06:42:08 +00:00