diff --git a/nix_update/version/bitbucket.py b/nix_update/version/bitbucket.py
index 4d2234c..25ce8dc 100644
--- a/nix_update/version/bitbucket.py
+++ b/nix_update/version/bitbucket.py
@@ -26,5 +26,9 @@ def fetch_bitbucket_snapshots(url: ParseResult, branch: str) -> list[Version]:
commits_url = f'https://{url.netloc}/!api/2.0/repositories/{owner}/{repo}/refs?q=name="{branch}"'
resp = urlopen(commits_url)
ref = json.loads(resp.read())["values"][0]["target"]
+
+ versions = fetch_bitbucket_versions(url)
+ latest_version = versions[0].number if versions else "0"
+
date = ref["date"][:10] # to YYYY-MM-DD
- return [Version(f"unstable-{date}", rev=ref["hash"])]
+ return [Version(f"{latest_version}-unstable-{date}", rev=ref["hash"])]
diff --git a/nix_update/version/gitea.py b/nix_update/version/gitea.py
index c826cef..25d068e 100644
--- a/nix_update/version/gitea.py
+++ b/nix_update/version/gitea.py
@@ -29,5 +29,8 @@ def fetch_gitea_snapshots(url: ParseResult, branch: str) -> list[Version]:
if commit is None:
return []
+ versions = fetch_gitea_versions(url)
+ latest_version = versions[0].number if versions else "0"
+
date = commit["commit"]["committer"]["date"][:10]
- return [Version(f"unstable-{date}", rev=commit["sha"])]
+ return [Version(f"{latest_version}-unstable-{date}", rev=commit["sha"])]
diff --git a/nix_update/version/github.py b/nix_update/version/github.py
index 1e6a6d7..ba865f6 100644
--- a/nix_update/version/github.py
+++ b/nix_update/version/github.py
@@ -47,6 +47,9 @@ def fetch_github_snapshots(url: ParseResult, branch: str) -> list[Version]:
tree = ET.fromstring(resp.read())
commits = tree.findall(".//{http://www.w3.org/2005/Atom}entry")
+ versions = fetch_github_versions(url)
+ latest_version = versions[0].number if versions else "0"
+
for entry in commits:
link = entry.find("{http://www.w3.org/2005/Atom}link")
updated = entry.find("{http://www.w3.org/2005/Atom}updated")
@@ -56,6 +59,6 @@ def fetch_github_snapshots(url: ParseResult, branch: str) -> list[Version]:
url = urlparse(link.attrib["href"])
commit = url.path.rsplit("/", maxsplit=1)[-1]
date = updated.text.split("T", maxsplit=1)[0]
- return [Version(f"unstable-{date}", rev=commit)]
+ return [Version(f"{latest_version}-unstable-{date}", rev=commit)]
return []
diff --git a/nix_update/version/gitlab.py b/nix_update/version/gitlab.py
index 5809716..6744dc9 100644
--- a/nix_update/version/gitlab.py
+++ b/nix_update/version/gitlab.py
@@ -51,8 +51,15 @@ def fetch_gitlab_snapshots(url: ParseResult, branch: str) -> list[Version]:
info(f"fetch {gitlab_url}")
resp = urllib.request.urlopen(gitlab_url)
commits = json.load(resp)
+
+ versions = fetch_gitlab_versions(url)
+ latest_version = versions[0].number if versions else "0"
+
for commit in commits:
- date = datetime.strptime(commit["committed_date"], "%Y-%m-%dT%H:%M:%S.000%z")
- date -= date.utcoffset() # type: ignore[operator]
- return [Version(date.strftime("unstable-%Y-%m-%d"), rev=commit["id"])]
+ commit_date = datetime.strptime(
+ commit["committed_date"], "%Y-%m-%dT%H:%M:%S.000%z"
+ )
+ commit_date -= commit_date.utcoffset() # type: ignore[operator]
+ date = commit_date.strftime("%Y-%m-%d")
+ return [Version(f"{latest_version}-unstable-{date}", rev=commit["id"])]
return []
diff --git a/tests/test_branch.atom b/tests/test_branch.atom
deleted file mode 100644
index 0004afd..0000000
--- a/tests/test_branch.atom
+++ /dev/null
@@ -1,385 +0,0 @@
-
-
- tag:github.com,2008:/Mic92/nix-update/commits/master
-
-
- Recent Commits to nix-update:master
- 2021-12-13T14:02:42Z
-
- tag:github.com,2008:Grit::Commit/79dcae59a9d16ec003bda4e232319db2fb83e252
-
-
- Merge pull request #74 from Mic92/mypy-fix
-
- 2021-12-13T14:02:42Z
-
-
- Mic92
- https://github.com/Mic92
-
-
- <pre style='white-space:pre-wrap;width:81ex'>Merge pull request #74 from Mic92/mypy-fix
-
-fix mypy</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/8e88950e6cab1f2b5e7be759b14e21cef7e6615d
-
-
- fix mypy
-
- 2021-12-13T14:00:12Z
-
-
- Mic92
- https://github.com/Mic92
-
-
- <pre style='white-space:pre-wrap;width:81ex'>fix mypy</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/4692eb3a5cd27cc0cbce2cafe013271b62c8ec03
-
-
- Merge pull request #72 from Mic92/dependabot/github_actions/cachix/in…
-
- 2021-11-22T07:01:11Z
-
-
- Mic92
- https://github.com/Mic92
-
-
- <pre style='white-space:pre-wrap;width:81ex'>Merge pull request #72 from Mic92/dependabot/github_actions/cachix/install-nix-action-16
-
-Bump cachix/install-nix-action from 15 to 16</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/4efc9f1f37f555b326cfb722572506a099c71e53
-
-
- Bump cachix/install-nix-action from 15 to 16
-
- 2021-11-22T06:01:34Z
-
-
- dependabot
- https://github.com/dependabot
-
-
- <pre style='white-space:pre-wrap;width:81ex'>Bump cachix/install-nix-action from 15 to 16
-
-Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 15 to 16.
-- [Release notes](https://github.com/cachix/install-nix-action/releases)
-- [Commits](https://github.com/cachix/install-nix-action/compare/v15...v16)
-
----
-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></pre>
-
-
-
- tag:github.com,2008:Grit::Commit/b668fe6ea0b3d8464a1ede78d7306f309a6fb7f6
-
-
- Merge pull request #70 from Mic92/ci
-
- 2021-11-15T07:45:54Z
-
-
- Mic92
- https://github.com/Mic92
-
-
- <pre style='white-space:pre-wrap;width:81ex'>Merge pull request #70 from Mic92/ci
-
-drop install_url</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/079aac11c75d03e534e948a5f8cfa2bb6f5ffd52
-
-
- drop install_url
-
- 2021-11-15T07:40:32Z
-
-
- Mic92
- https://github.com/Mic92
-
-
- <pre style='white-space:pre-wrap;width:81ex'>drop install_url</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/a494f951a76c77c796dd739ce18717a989a9ec2c
-
-
- Merge pull request #69 from Mic92/dependabot/github_actions/cachix/in…
-
- 2021-11-15T07:39:58Z
-
-
- Mic92
- https://github.com/Mic92
-
-
- <pre style='white-space:pre-wrap;width:81ex'>Merge pull request #69 from Mic92/dependabot/github_actions/cachix/install-nix-action-15
-
-Bump cachix/install-nix-action from 14 to 15</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/543030454c3e65e10b4ce6dc18f2f0f3b65c5484
-
-
- Bump cachix/install-nix-action from 14 to 15
-
- 2021-11-15T06:00:49Z
-
-
- dependabot
- https://github.com/dependabot
-
-
- <pre style='white-space:pre-wrap;width:81ex'>Bump cachix/install-nix-action from 14 to 15
-
-Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 14 to 15.
-- [Release notes](https://github.com/cachix/install-nix-action/releases)
-- [Commits](https://github.com/cachix/install-nix-action/compare/v14...v15)
-
----
-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></pre>
-
-
-
- tag:github.com,2008:Grit::Commit/52582817e8c6474c23b2855aa4bed2b53e708741
-
-
- Merge pull request #67 from Mic92/dependabot/github_actions/cachix/in…
-
- 2021-09-13T11:29:28Z
-
-
- Mic92
- https://github.com/Mic92
-
-
- <pre style='white-space:pre-wrap;width:81ex'>Merge pull request #67 from Mic92/dependabot/github_actions/cachix/install-nix-action-14
-
-Bump cachix/install-nix-action from 13 to 14</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/72527c376744fb03f9558b7bb7b4195b082268d8
-
-
- Bump cachix/install-nix-action from 13 to 14
-
- 2021-09-13T06:00:54Z
-
-
- dependabot
- https://github.com/dependabot
-
-
- <pre style='white-space:pre-wrap;width:81ex'>Bump cachix/install-nix-action from 13 to 14
-
-Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 13 to 14.
-- [Release notes](https://github.com/cachix/install-nix-action/releases)
-- [Commits](https://github.com/cachix/install-nix-action/compare/v13...v14)
-
----
-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></pre>
-
-
-
- tag:github.com,2008:Grit::Commit/70bdf762e5be36ddea70234daa0d476fea0498ff
-
-
- README: migrate from restructured text
-
- 2021-09-02T04:57:00Z
-
-
- Mic92
- https://github.com/Mic92
-
-
- <pre style='white-space:pre-wrap;width:81ex'>README: migrate from restructured text</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/b167cc623191bc8bb1afbc7f3ab5ac0a039f70dd
-
-
- Merge pull request #65 from Mic92/cargo-sha256
-
- 2021-08-26T13:48:04Z
-
-
- Mic92
- https://github.com/Mic92
-
-
- <pre style='white-space:pre-wrap;width:81ex'>Merge pull request #65 from Mic92/cargo-sha256
-
-allow to upload cargo checksum when source is local</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/2f498d50d7d70217557804907244062cb35a9e6b
-
-
- don't require valid version if --version=skip
-
- 2021-08-26T13:45:05Z
-
-
- Mic92
- https://github.com/Mic92
-
-
- <pre style='white-space:pre-wrap;width:81ex'>don't require valid version if --version=skip</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/008e69ed04e4ff2bc962bb2b5c1e04bb3c725cb5
-
-
- allow to upload cargo checksum when source is local
-
- 2021-08-26T11:08:18Z
-
-
- Mic92
- https://github.com/Mic92
-
-
- <pre style='white-space:pre-wrap;width:81ex'>allow to upload cargo checksum when source is local</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/474e358eeab1dbeabddd0a16ecf647695e90f43b
-
-
- Merge pull request #63 from Mic92/nixos-tests
-
- 2021-08-21T12:58:05Z
-
-
- Mic92
- https://github.com/Mic92
-
-
- <pre style='white-space:pre-wrap;width:81ex'>Merge pull request #63 from Mic92/nixos-tests
-
-fix evaluation on macos for pkgs with tests</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/bec42b219b9d4dfe6cef6abd5e71b4753996e00a
-
-
- fix evaluation on macos for pkgs with tests
-
- 2021-08-21T08:33:02Z
-
-
- Mic92
- https://github.com/Mic92
-
-
- <pre style='white-space:pre-wrap;width:81ex'>fix evaluation on macos for pkgs with tests
-
-fixes https://github.com/Mic92/nix-update/issues/62</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/3c77336eecf836c34b866271a58f74f1dc2a524d
-
-
- Merge pull request #60 from SuperSandro2000/sourcehut
-
- 2021-08-15T22:27:59Z
-
-
- Mic92
- https://github.com/Mic92
-
-
- <pre style='white-space:pre-wrap;width:81ex'>Merge pull request #60 from SuperSandro2000/sourcehut
-
-Add sourcehut support, minor cleanups</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/3ece737ad749ca480072921f145ca1b7d9da5498
-
-
- Fix tests
-
- 2021-08-15T22:23:35Z
-
-
- SuperSandro2000
- https://github.com/SuperSandro2000
-
-
- <pre style='white-space:pre-wrap;width:81ex'>Fix tests</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/45fef9987cc850c36a8ed2bca0177f44b267f095
-
-
- Add lorri files to run tests
-
- 2021-08-15T22:23:35Z
-
-
- SuperSandro2000
- https://github.com/SuperSandro2000
-
-
- <pre style='white-space:pre-wrap;width:81ex'>Add lorri files to run tests</pre>
-
-
-
- tag:github.com,2008:Grit::Commit/6ae3eb12864a4d5945f21a870ca4c97208a3a325
-
-
- Remove unused import
-
- 2021-08-15T15:09:09Z
-
-
- SuperSandro2000
- https://github.com/SuperSandro2000
-
-
- <pre style='white-space:pre-wrap;width:81ex'>Remove unused import</pre>
-
-
-
diff --git a/tests/test_branch.py b/tests/test_branch.py
index 52afa1e..5bcb7e1 100644
--- a/tests/test_branch.py
+++ b/tests/test_branch.py
@@ -13,8 +13,10 @@ TEST_ROOT = Path(__file__).parent.resolve()
def fake_urlopen(url: str) -> BinaryIO:
- del url
- return open(TEST_ROOT.joinpath("test_branch.atom"), "rb")
+ if url.endswith("releases.atom"):
+ return open(TEST_ROOT.joinpath("test_branch_releases.atom"), "rb")
+ else:
+ return open(TEST_ROOT.joinpath("test_branch_commits_master.atom"), "rb")
def test_branch(helpers: conftest.Helpers) -> None:
@@ -27,5 +29,5 @@ def test_branch(helpers: conftest.Helpers) -> None:
"(.*)",
"master",
).number
- == "unstable-2021-12-13"
+ == "1.2.0-unstable-2024-02-19"
)
diff --git a/tests/test_branch_commits_master.atom b/tests/test_branch_commits_master.atom
new file mode 100644
index 0000000..22255ed
--- /dev/null
+++ b/tests/test_branch_commits_master.atom
@@ -0,0 +1,383 @@
+
+
+ tag:github.com,2008:/Mic92/nix-update/commits/master
+
+
+ Recent Commits to nix-update:master
+ 2024-02-19T14:47:50Z
+
+ tag:github.com,2008:Grit::Commit/37e9b32f335b8bfafd764f49de573141f85d3416
+
+
+ bump version 1.2.0
+
+ 2024-02-19T14:47:50Z
+
+
+ Mic92
+ https://github.com/Mic92
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>bump version 1.2.0</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/a566b9bdb17bc394cbbefdd274b54432edec6d3f
+
+
+ print maintainers list
+
+ 2024-01-25T10:38:41Z
+
+
+ GaetanLepage
+ https://github.com/GaetanLepage
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>print maintainers list</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/6e4ee6941a8f8b3ae636fc62da06f9314e46d3d3
+
+
+ make gitlab updater work by tag when releases are disabled
+
+ 2024-01-17T14:56:30Z
+
+
+ lilyinstarlight
+ https://github.com/lilyinstarlight
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>make gitlab updater work by tag when releases are disabled</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/ae70579d8d6736009387d8d76869c7193a08d813
+
+
+ bump version 1.1.0
+
+ 2024-01-16T11:35:20Z
+
+
+ Mic92
+ https://github.com/Mic92
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>bump version 1.1.0</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/da997c87c73f05eddc2aec3335d4a557a8dd2ca6
+
+
+ create-release: make sed regex more strict
+
+ 2024-01-16T10:25:52Z
+
+
+ Mic92
+ https://github.com/Mic92
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>create-release: make sed regex more strict</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/36ffca82d29b04bf285baf65ece4d11ddac42594
+
+
+ Merge pull request #217 from Mic92/composer-support
+
+ 2024-01-16T10:12:47Z
+
+
+ Mic92
+ https://github.com/Mic92
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>Merge pull request #217 from Mic92/composer-support
+
+Add support for updating buildComposerProject's vendorHash</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/0a30179f00f5a1a6c8422281b9580138b6f83074
+
+
+ Add support for updating buildComposerProject's vendorHash
+
+ 2024-01-16T10:06:16Z
+
+
+ gaelreyrol
+ https://github.com/gaelreyrol
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>Add support for updating buildComposerProject's vendorHash
+
+Update tests/testpkgs/default.nix</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/b80494da434277508fa968e6f1628d139b002c8f
+
+
+ Update README.md to precise that software is available in latest stab…
+
+ 2024-01-15T09:59:58Z
+
+
+ Mic92
+ https://github.com/Mic92
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>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</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/50640aa288176dbc96346edeb8806dd44293d3e7
+
+
+ Bump cachix/install-nix-action from 24 to 25
+
+ 2024-01-15T06:33:58Z
+
+
+ dependabot
+ https://github.com/dependabot
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>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></pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/4c763a7cf3770d043ef0351a40726b0f65c35eac
+
+
+ README: document `--version=branch` option in more depth
+
+ 2024-01-04T08:26:43Z
+
+
+ Atemu
+ https://github.com/Atemu
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>README: document `--version=branch` option in more depth</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/dcdf594417903919c827a91178eac0c1f56feca5
+
+
+ Bump cachix/install-nix-action from 23 to 24
+
+ 2023-12-04T06:08:06Z
+
+
+ dependabot
+ https://github.com/dependabot
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>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></pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/76c4e79c2c500e03c19abf2beb0d8b18134cf977
+
+
+ bitbucket.org integration tests
+
+ 2023-11-22T19:13:43Z
+
+
+ EBADBEEF
+ https://github.com/EBADBEEF
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>bitbucket.org integration tests</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/a10f7c047f243a4c2076261187967246388f91ac
+
+
+ bitbucket.org support for versions and snapshots
+
+ 2023-11-22T19:13:43Z
+
+
+ EBADBEEF
+ https://github.com/EBADBEEF
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>bitbucket.org support for versions and snapshots</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/f6f45655e7b09c9f9155d4aac1d41eab37392c28
+
+
+ README: drop comment about black formatter
+
+ 2023-11-08T07:58:55Z
+
+
+ Mic92
+ https://github.com/Mic92
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>README: drop comment about black formatter</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/47945865f6683351c15842ed7efa990d21b975dd
+
+
+ flake.lock: Update
+
+ 2023-11-08T07:58:55Z
+
+
+ Mic92
+ https://github.com/Mic92
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>flake.lock: Update
+
+Flake lock file updates:
+
+• Updated input 'nixpkgs':
+ 'github:NixOS/nixpkgs/c082856b850ec60cda9f0a0db2bc7bd8900d708c' (2023-11-02)
+ → 'github:NixOS/nixpkgs/ec750fd01963ab6b20ee1f0cb488754e8036d89d' (2023-11-07)</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/d945764f13d207ba2610d53ae2f3c7802ab8ab09
+
+
+ nix fmt
+
+ 2023-11-08T07:58:55Z
+
+
+ Mic92
+ https://github.com/Mic92
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>nix fmt</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/6f21bf4db4256cb9d913cda8f987b138718e261c
+
+
+ improve --help output, notably '--version' possibilities
+
+ 2023-11-08T07:58:55Z
+
+
+ teto
+ https://github.com/teto
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>improve --help output, notably '--version' possibilities</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/c690b76213ca791b53c55a8f6abc18bcc0049e04
+
+
+ switch to ruff for formatting
+
+ 2023-11-02T09:26:15Z
+
+
+ Mic92
+ https://github.com/Mic92
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>switch to ruff for formatting</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/5e679528f6a181a163b7a177ce49fd9232709592
+
+
+ flake.lock: Update
+
+ 2023-11-02T09:26:15Z
+
+
+ Mic92
+ https://github.com/Mic92
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>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)</pre>
+
+
+
+ tag:github.com,2008:Grit::Commit/957b6c4dacdc748f7c2867e26bc861903eeea70d
+
+
+ nix-update: publish to flakestry
+
+ 2023-10-24T16:10:39Z
+
+
+ Mic92
+ https://github.com/Mic92
+
+
+ <pre style='white-space:pre-wrap;width:81ex'>nix-update: publish to flakestry</pre>
+
+
+
diff --git a/tests/test_branch_releases.atom b/tests/test_branch_releases.atom
new file mode 100644
index 0000000..74d85fb
--- /dev/null
+++ b/tests/test_branch_releases.atom
@@ -0,0 +1,199 @@
+
+
+ tag:github.com,2008:https://github.com/Mic92/nix-update/releases
+
+
+ Release notes from nix-update
+ 2024-02-19T14:47:50Z
+
+ tag:github.com,2008:Repository/245145732/1.2.0
+ 2024-02-19T14:48:23Z
+
+ 1.2.0
+ <h2>What's Changed</h2>
+<ul>
+<li>make gitlab updater work by tag when releases are disabled by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lilyinstarlight/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lilyinstarlight">@lilyinstarlight</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2085235481" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/219" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/219/hovercard" href="https://github.com/Mic92/nix-update/pull/219">#219</a></li>
+<li>print maintainers list by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/GaetanLepage/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/GaetanLepage">@GaetanLepage</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2099698047" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/222" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/222/hovercard" href="https://github.com/Mic92/nix-update/pull/222">#222</a></li>
+</ul>
+<h2>New Contributors</h2>
+<ul>
+<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lilyinstarlight/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lilyinstarlight">@lilyinstarlight</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2085235481" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/219" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/219/hovercard" href="https://github.com/Mic92/nix-update/pull/219">#219</a></li>
+<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/GaetanLepage/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/GaetanLepage">@GaetanLepage</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2099698047" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/222" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/222/hovercard" href="https://github.com/Mic92/nix-update/pull/222">#222</a></li>
+</ul>
+<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Mic92/nix-update/compare/1.1.0...1.1.1"><tt>1.1.0...1.1.1</tt></a></p>
+<h2>What's Changed</h2>
+<ul>
+<li>make gitlab updater work by tag when releases are disabled by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lilyinstarlight/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lilyinstarlight">@lilyinstarlight</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2085235481" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/219" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/219/hovercard" href="https://github.com/Mic92/nix-update/pull/219">#219</a></li>
+<li>print maintainers list by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/GaetanLepage/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/GaetanLepage">@GaetanLepage</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2099698047" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/222" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/222/hovercard" href="https://github.com/Mic92/nix-update/pull/222">#222</a></li>
+</ul>
+<h2>New Contributors</h2>
+<ul>
+<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lilyinstarlight/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lilyinstarlight">@lilyinstarlight</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2085235481" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/219" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/219/hovercard" href="https://github.com/Mic92/nix-update/pull/219">#219</a></li>
+<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/GaetanLepage/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/GaetanLepage">@GaetanLepage</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2099698047" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/222" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/222/hovercard" href="https://github.com/Mic92/nix-update/pull/222">#222</a></li>
+</ul>
+<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Mic92/nix-update/compare/1.1.0...1.2.0"><tt>1.1.0...1.2.0</tt></a></p>
+
+ Mic92
+
+
+
+
+ tag:github.com,2008:Repository/245145732/1.1.0
+ 2024-01-16T11:38:43Z
+
+ 1.1.0
+ <h2>What's Changed</h2>
+<ul>
+<li>Support bitbucket.org by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/EBADBEEF/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/EBADBEEF">@EBADBEEF</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2006328534" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/208" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/208/hovercard" href="https://github.com/Mic92/nix-update/pull/208">#208</a></li>
+<li>Add support for updating buildComposerProject's vendorHash by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Mic92/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Mic92">@Mic92</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2083525539" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/217" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/217/hovercard" href="https://github.com/Mic92/nix-update/pull/217">#217</a></li>
+</ul>
+<h2>New Contributors</h2>
+<ul>
+<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/EBADBEEF/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/EBADBEEF">@EBADBEEF</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2006328534" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/208" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/208/hovercard" href="https://github.com/Mic92/nix-update/pull/208">#208</a></li>
+<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Atemu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Atemu">@Atemu</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2064906340" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/213" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/213/hovercard" href="https://github.com/Mic92/nix-update/pull/213">#213</a></li>
+<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/AkechiShiro/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/AkechiShiro">@AkechiShiro</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2080900275" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/215" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/215/hovercard" href="https://github.com/Mic92/nix-update/pull/215">#215</a></li>
+</ul>
+<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Mic92/nix-update/compare/1.0.0...1.1.0"><tt>1.0.0...1.1.0</tt></a></p>
+
+ Mic92
+
+
+
+
+ tag:github.com,2008:Repository/245145732/1.0.0
+ 2023-09-30T09:18:22Z
+
+ 1.0.0
+ <p>This has been stable for a long time. Time to bump the version to 1.0.0!</p>
+<h2>What's Changed</h2>
+<ul>
+<li>quote <code>import_path</code> when importing in nix by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/figsoda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/figsoda">@figsoda</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1863534200" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/191" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/191/hovercard" href="https://github.com/Mic92/nix-update/pull/191">#191</a></li>
+<li>ruff: enable upgrade checks by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Mic92/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Mic92">@Mic92</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1866442457" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/192" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/192/hovercard" href="https://github.com/Mic92/nix-update/pull/192">#192</a></li>
+<li>unquote versions from github atom feeds by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/figsoda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/figsoda">@figsoda</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1884608615" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/193" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/193/hovercard" href="https://github.com/Mic92/nix-update/pull/193">#193</a></li>
+<li>support for updating yarn FOD hash by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/yu-re-ka/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/yu-re-ka">@yu-re-ka</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1021395791" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/68" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/68/hovercard" href="https://github.com/Mic92/nix-update/pull/68">#68</a></li>
+<li>Modernize buildsystem by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Mic92/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Mic92">@Mic92</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1920179986" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/199" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/199/hovercard" href="https://github.com/Mic92/nix-update/pull/199">#199</a></li>
+</ul>
+<h2>New Contributors</h2>
+<ul>
+<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/yu-re-ka/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/yu-re-ka">@yu-re-ka</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1021395791" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/68" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/68/hovercard" href="https://github.com/Mic92/nix-update/pull/68">#68</a></li>
+</ul>
+<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Mic92/nix-update/compare/0.19.3...1.0.0"><tt>0.19.3...1.0.0</tt></a></p>
+
+ Mic92
+
+
+
+
+ tag:github.com,2008:Repository/245145732/0.19.3
+ 2023-08-06T19:28:44Z
+
+ 0.19.3
+ <h2>What's Changed</h2>
+<ul>
+<li>fix escaping for non-toplevel attributes by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/figsoda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/figsoda">@figsoda</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1838297699" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/182" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/182/hovercard" href="https://github.com/Mic92/nix-update/pull/182">#182</a></li>
+</ul>
+<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Mic92/nix-update/compare/0.19.2...0.19.3"><tt>0.19.2...0.19.3</tt></a></p>
+
+ Mic92
+
+
+
+
+ tag:github.com,2008:Repository/245145732/0.19.2
+ 2023-08-02T21:03:43Z
+
+ 0.19.2
+ <h2>What's Changed</h2>
+<ul>
+<li>fix attribute name escaping by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/figsoda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/figsoda">@figsoda</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1833252113" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/180" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/180/hovercard" href="https://github.com/Mic92/nix-update/pull/180">#180</a></li>
+</ul>
+<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Mic92/nix-update/compare/0.19.1...0.19.2"><tt>0.19.1...0.19.2</tt></a></p>
+
+ Mic92
+
+
+
+
+ tag:github.com,2008:Repository/245145732/0.19.1
+ 2023-08-02T05:44:10Z
+
+ 0.19.1
+ <h2>What's Changed</h2>
+<ul>
+<li>escape attribute names by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/figsoda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/figsoda">@figsoda</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1832143213" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/179" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/179/hovercard" href="https://github.com/Mic92/nix-update/pull/179">#179</a></li>
+</ul>
+<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Mic92/nix-update/compare/0.19.0...0.19.1"><tt>0.19.0...0.19.1</tt></a></p>
+
+ Mic92
+
+
+
+
+ tag:github.com,2008:Repository/245145732/0.19.0
+ 2023-07-12T20:30:28Z
+
+ 0.19.0
+ <h2>What's Changed</h2>
+<ul>
+<li>also respect cargoRoot when updating checksum by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Mic92/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Mic92">@Mic92</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1760004756" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/172" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/172/hovercard" href="https://github.com/Mic92/nix-update/pull/172">#172</a></li>
+<li>support new goModules attr by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Artturin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Artturin">@Artturin</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1799569871" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/176" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/176/hovercard" href="https://github.com/Mic92/nix-update/pull/176">#176</a></li>
+</ul>
+<h2>New Contributors</h2>
+<ul>
+<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Artturin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Artturin">@Artturin</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1799569871" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/176" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/176/hovercard" href="https://github.com/Mic92/nix-update/pull/176">#176</a></li>
+</ul>
+<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Mic92/nix-update/compare/0.18.0...0.19.0"><tt>0.18.0...0.19.0</tt></a></p>
+
+ Mic92
+
+
+
+
+ tag:github.com,2008:Repository/245145732/0.18.0
+ 2023-06-02T14:09:22Z
+
+ 0.18.0
+ <h2>What's Changed</h2>
+<ul>
+<li>nix-update: use nom if in path by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Mic92/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Mic92">@Mic92</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1689088189" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/159" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/159/hovercard" href="https://github.com/Mic92/nix-update/pull/159">#159</a></li>
+<li>add diff support for <code>fetchCrate</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/figsoda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/figsoda">@figsoda</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1707934337" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/162" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/162/hovercard" href="https://github.com/Mic92/nix-update/pull/162">#162</a></li>
+<li>git-commit files directly without using staging area by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Mic92/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Mic92">@Mic92</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1736869979" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/171" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/171/hovercard" href="https://github.com/Mic92/nix-update/pull/171">#171</a></li>
+</ul>
+<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Mic92/nix-update/compare/0.17.2...0.18.0"><tt>0.17.2...0.18.0</tt></a></p>
+
+ Mic92
+
+
+
+
+ tag:github.com,2008:Repository/245145732/0.17.2
+ 2023-04-28T08:19:05Z
+
+ 0.17.2
+ <h2>What's Changed</h2>
+<ul>
+<li>improve version assertions in tests by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/figsoda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/figsoda">@figsoda</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1686027633" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/158" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/158/hovercard" href="https://github.com/Mic92/nix-update/pull/158">#158</a></li>
+<li>fix updating cargoLock with flakes by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/figsoda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/figsoda">@figsoda</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1685992879" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/157" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/157/hovercard" href="https://github.com/Mic92/nix-update/pull/157">#157</a></li>
+</ul>
+<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Mic92/nix-update/compare/0.17.1...0.17.2"><tt>0.17.1...0.17.2</tt></a></p>
+
+ Mic92
+
+
+
+
+ tag:github.com,2008:Repository/245145732/0.17.1
+ 2023-04-22T18:12:07Z
+
+ 0.17.1
+ <h2>What's Changed</h2>
+<ul>
+<li>improve assertion message by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/figsoda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/figsoda">@figsoda</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1677136781" data-permission-text="Title is private" data-url="https://github.com/Mic92/nix-update/issues/155" data-hovercard-type="pull_request" data-hovercard-url="/Mic92/nix-update/pull/155/hovercard" href="https://github.com/Mic92/nix-update/pull/155">#155</a></li>
+</ul>
+<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Mic92/nix-update/compare/0.17.0...0.17.1"><tt>0.17.0...0.17.1</tt></a></p>
+
+ Mic92
+
+
+
+
diff --git a/tests/testpkgs/bitbucket.nix b/tests/testpkgs/bitbucket.nix
index affd956..55b4cc6 100644
--- a/tests/testpkgs/bitbucket.nix
+++ b/tests/testpkgs/bitbucket.nix
@@ -10,7 +10,7 @@ let
# commit.
version =
if (isSnapshot)
- then "unstable-2022-10-01"
+ then "0.16-unstable-2022-10-01"
else "1.0";
rev =
if (isSnapshot)