Skip to content

Commit 2bdc3ca

Browse files
committed
Handle SKU references to hub.kiwitcms.eu Private Container Repository
b/c we will be updating the references on https://github.com/marketplace/kiwi-tcms
1 parent 86fa69d commit 2bdc3ca

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tcms_github_marketplace/github.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024 Alexander Todorov <[email protected]>
1+
# Copyright (c) 2024-2025 Alexander Todorov <[email protected]>
22
#
33
# Licensed under GNU Affero General Public License v3 or later (AGPLv3+)
44
# https://www.gnu.org/licenses/agpl-3.0.html
@@ -18,6 +18,7 @@ def find_sku(purchase):
1818
.replace(" ", "")
1919
.replace("https://", "")
2020
.replace("quay.io/kiwitcms/", "")
21+
.replace("hub.kiwitcms.eu/kiwitcms/", "")
2122
.replace(",", "+")
2223
)
2324

tcms_github_marketplace/tests/test_views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def test_with_valid_signature_header(self):
149149
"bullets":[
150150
"Is Basic",
151151
"Because Basic ",
152-
"Docker repositories: quay.io/kiwitcms/version, https://quay.io/kiwitcms/enterprise"
152+
"Docker repositories: hub.kiwitcms.eu/kiwitcms/version, https://quay.io/kiwitcms/enterprise"
153153
]
154154
}
155155
}

0 commit comments

Comments
 (0)