mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
Compare commits
2 Commits
3587170bde
...
a99508a6b2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a99508a6b2 | ||
|
|
30432aa9b6 |
@ -46,7 +46,7 @@ distribution_info: dict = {
|
||||
'trixie': {
|
||||
'version': 13,
|
||||
'next': 'forky',
|
||||
'release_date': datetime.datetime(2025, 8, 20, tzinfo=timezone.utc),
|
||||
'release_date': datetime.datetime(2025, 8, 9, tzinfo=timezone.utc),
|
||||
},
|
||||
'forky': {
|
||||
'version': 14,
|
||||
@ -116,6 +116,9 @@ def _get_sources_list_codename() -> str | None:
|
||||
dists = set()
|
||||
for match_ in aug.match('*'):
|
||||
dist = aug.get(match_ + '/distribution')
|
||||
if not dist:
|
||||
continue
|
||||
|
||||
dist = dist.removesuffix('-updates')
|
||||
dist = dist.removesuffix('-security')
|
||||
dists.add(dist)
|
||||
|
||||
@ -190,7 +190,7 @@ def test_get_status(check_auto, is_dist_upgrade_enabled,
|
||||
assert status['current_release_date'] == current_date
|
||||
assert status['next_codename'] == 'trixie'
|
||||
assert status['next_version'] == 13
|
||||
next_date = datetime_original(2025, 8, 20, tzinfo=timezone.utc)
|
||||
next_date = datetime_original(2025, 8, 9, tzinfo=timezone.utc)
|
||||
assert status['next_release_date'] == next_date
|
||||
assert status['next_action'] == 'manual'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user