Commit Graph

469 Commits

Author SHA1 Message Date
Jörg Thalheim
9ed2ca4778 default.nix: don't depend on nixfmt at build time. 2024-06-06 12:22:10 +00:00
seth
dae39f4a1b flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/8c9fa2545007b49a5db5f650ae91f227672c3877' (2023-11-01)
  → 'github:hercules-ci/flake-parts/8dc45382d5206bd292f9c2768b8058a8fd8311d9' (2024-05-16)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ec750fd01963ab6b20ee1f0cb488754e8036d89d' (2023-11-07)
  → 'github:NixOS/nixpkgs/5a5ac83292c7842072318f57d68a48474f8bd34d' (2024-05-20)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/5deb8dc125a9f83b65ca86cf0c8167c46593e0b1' (2023-10-27)
  → 'github:numtide/treefmt-nix/2fba33a182602b9d49f0b2440513e5ee091d838b' (2024-05-17)
2024-06-06 12:22:10 +00:00
seth
3b1c559db5 use nixfmt with --format 2024-06-06 12:22:10 +00:00
Mario Rodas
e278a56d12 Ignore yanked versions in fetchCrate 2024-06-06 12:16:45 +00:00
Mario Rodas
5bfdcbecf4 Fix test_cargo_lock_update
test_cargo_lock_update was relying in Ruff 0.0.254 which used its own
fork of LibCST.
Ruff deprecated its fork [1] and removed the repository, hence this
tests was failing trying to reach a defunct repository.

[1] https://github.com/astral-sh/ruff/commit/072358e26
2024-06-06 12:16:45 +00:00
dependabot[bot]
c8ba353d22 Bump cachix/install-nix-action from 26 to 27
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 26 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v26...V27)

---
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-05-20 06:14:33 +00:00
Peder Bergebakken Sundt
63b5a4e989 Try pkg.meta.position before unsafeGetAttrPos
Fixes `nixpkgs.mpvScripts.*`, discovered while reviewing https://github.com/NixOS/nixpkgs/pull/308062
2024-05-08 23:11:04 +00:00
Jörg Thalheim
cafad8ced8 README: add bitbucket support 2024-04-23 11:58:28 +00:00
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