mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-14 03:49:48 +03:00
Replace pmaports channels stable, stable-next (MR 2032)
Translate the pmaports channels "stable" to "v20.05" and "stable-next" to "v21.03", so these have the same channel name as the pmaports.git branch name. The original plan was to switch the "stable" channel from the "v20.05" branch to the "v21.03" branch when the release is done. However, now that we are close to that, I'm realizing that this would not be useful. It would lead to conflicts in the dir with locally built packages (default: ~/.local/var/pmbootstrap/packages/$CHANNEL). And it would make it awkward to go back to a previous branch (we may name it old-stable for the time being, but what after that, old-old-stable?).
This commit is contained in:
parent
5c1c126647
commit
278dfced61
13 changed files with 90 additions and 25 deletions
|
@ -36,7 +36,7 @@ def test_alpine_apkindex_path(args):
|
|||
|
||||
def test_urls(args, monkeypatch):
|
||||
func = pmb.helpers.repo.urls
|
||||
channel = "stable"
|
||||
channel = "v20.05"
|
||||
args.mirror_alpine = "http://localhost/alpine/"
|
||||
|
||||
# Second mirror with /master at the end is legacy, gets fixed by func.
|
||||
|
@ -50,7 +50,7 @@ def test_urls(args, monkeypatch):
|
|||
return {"channel": channel}
|
||||
monkeypatch.setattr(pmb.config.pmaports, "read_config", read_config)
|
||||
|
||||
# Channel: stable
|
||||
# Channel: v20.05
|
||||
assert func(args) == ["/mnt/pmbootstrap-packages",
|
||||
"http://localhost/pmos1/v20.05",
|
||||
"http://localhost/pmos2/v20.05",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue