Learn more about these different git repos.
Other Git URLs
a426bc8
@@ -145,6 +145,8 @@
# 'measure.py' module for more info.
DEBUG_CHECKPOINTS = False
+ FAS_SIGNUP_URL = "https://accounts.fedoraproject.org/"
+
class ProductionConfig(Config):
DEBUG = False
@@ -65,7 +65,7 @@
if config['FAS_LOGIN']:
menu.append({
- 'link': 'https://accounts.fedoraproject.org/',
+ 'link': config["FAS_SIGNUP_URL"],
'desc': 'sign up',
})
this logic applies to all non-production instances (test, local, devel)
Closes #2278
Build succeeded.
rebased onto ab531e129c3a3bac9d20a05f05799c4aeb47cd38
Thank you for the PR @nikromen.
Feat(frontend): stg frontend instance should link to stg FAS instance
We try to follow this commit message format
frontend: stg frontend instance should link to stg FAS instance
What if we put the URL into config.py and into /etc/copr/copr.conf for our devel and production instances?
config.py
/etc/copr/copr.conf
We already have some of the production/staging URLs defined there (e.g. PUBLIC_COPR_BASE_URL or FEDMENU_URL) https://pagure.io/fedora-infra/ansible/blob/main/f/roles/copr/frontend/templates/copr.conf
PUBLIC_COPR_BASE_URL
FEDMENU_URL
rebased onto 736e409eea15101f4c5f1ed900ffe62a36d14d65
I like this better now :-)
Just nitpicking but since we are using the URL for the sign up button, I would rename the variable to something like FAS_REGISTER_URL or FAS_SIGNUP_URL.
FAS_REGISTER_URL
FAS_SIGNUP_URL
Except for that, I like both this PR and the ansible PR.
rebased onto a426bc8
+1, thank you
Pull-Request has been merged by frostyx
this logic applies to all non-production instances (test, local, devel)
Closes #2278