From 65e3ef63f7475a217da5205a788f52f3888ebea7 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 14 Apr 2015 02:17:54 -0400 Subject: Replace usage of parabolagnulinux.org with parabola.nu, also replace repo.parabola.nu/isos/ with /iso/, in settings.py --- common.mk | 2 +- main/templatetags/wiki.py | 4 ++-- packages/templatetags/jinja2.py | 4 ++-- public/views.py | 2 +- settings.py | 14 +++++++------- templates/packages/search.html | 2 +- templates/public/art.html | 2 +- templates/public/https.html | 2 +- templates/public/index.html | 4 ++-- urls.py | 6 +++--- 10 files changed, 21 insertions(+), 21 deletions(-) diff --git a/common.mk b/common.mk index 35f0b3bb..92f26337 100644 --- a/common.mk +++ b/common.mk @@ -22,7 +22,7 @@ $(www)/https/%: touch '$@' $(branding)/%: - gitget checkout 'git://projects.parabolagnulinux.org/artwork.git#branch=master' '$(artwork)' + gitget checkout 'git://projects.parabola.nu/artwork.git#branch=master' '$(artwork)' make -C '$(branding)' .PHONY: PHONY diff --git a/main/templatetags/wiki.py b/main/templatetags/wiki.py index 4a3b2f83..e3ffb138 100644 --- a/main/templatetags/wiki.py +++ b/main/templatetags/wiki.py @@ -4,6 +4,6 @@ register = template.Library() @register.simple_tag def wiki_url(article=""): if article == "": - return "https://wiki.parabolagnulinux.org/" + return "https://wiki.parabola.nu/" else: - return "https://wiki.parabolagnulinux.org/"+article.replace(' ', '_') + return "https://wiki.parabola.nu/"+article.replace(' ', '_') diff --git a/packages/templatetags/jinja2.py b/packages/templatetags/jinja2.py index c9d602a6..86bbd03e 100644 --- a/packages/templatetags/jinja2.py +++ b/packages/templatetags/jinja2.py @@ -33,13 +33,13 @@ def pgp_key_link(key_id, link_text=None): def scm_link(package, operation): parts = ("abslibre", operation, package.repo.name.lower(), package.pkgbase) linkbase = ( - "https://projects.parabolagnulinux.org/%s.git/%s/%s/%s") + "https://projects.parabola.nu/%s.git/%s/%s/%s") return linkbase % tuple(urlquote(part.encode('utf-8')) for part in parts) @library.global_function def wiki_link(package): - url = "https://wiki.parabolagnulinux.org/index.php" + url = "https://wiki.parabola.nu/index.php" data = { 'title': "Special:Search", 'search': package.pkgname, diff --git a/public/views.py b/public/views.py index 7414b330..1197322d 100644 --- a/public/views.py +++ b/public/views.py @@ -83,7 +83,7 @@ def _mirror_urls(): @cache_control(max_age=307) def download(request): - return HttpResponseRedirect('https://wiki.parabolagnulinux.org/get') + return HttpResponseRedirect('https://wiki.parabola.nu/get') @cache_control(max_age=307) def feeds(request): diff --git a/settings.py b/settings.py index dc93eb1e..d0738e7b 100644 --- a/settings.py +++ b/settings.py @@ -13,7 +13,7 @@ ADMINS = () MANAGERS = ADMINS # Package out-of-date emails for orphans -NOTIFICATIONS = ['dev@lists.parabolagnulinux.org'] +NOTIFICATIONS = ['dev@lists.parabola.nu'] # Full path to the data directory DEPLOY_PATH = os.path.dirname(os.path.realpath(__file__)) @@ -161,17 +161,17 @@ LOGGING = { PGP_SERVER = 'pgp.mit.edu:11371' # URL to fetch a current list of available ISOs -ISO_LIST_URL = 'https://repo.parabolagnulinux.org/isos/' +ISO_LIST_URL = 'https://repo.parabola.nu/iso/' # URL to the PXE netboot instructions -PXEBOOT_URL = 'http://repo.parabolagnulinux.org/pxeboot/' +PXEBOOT_URL = 'http://repo.parabola.nu/pxeboot/' # URL for SVN access for fetching commit messages (note absence of packages or # community bit on the end, repo.svn_root is appended) #SVN_BASE_URL = 'svn://svn.archlinux.org/' # URL for linking to mailing lists -MAILMAN_BASE_URL = 'https://lists.parabolagnulinux.org/' +MAILMAN_BASE_URL = 'https://lists.parabola.nu/' # URL for linking to the bugtracker BUGTRACKER_URL = 'https://labs.parabola.nu/' @@ -180,7 +180,7 @@ BUGTRACKER_URL = 'https://labs.parabola.nu/' BUGTRACKER_RELENG_URL = 'https://labs.parabola.nu/projects/isos' # URL for linking to projects in git -PROJECTS_URL = 'https://projects.parabolagnulinux.org' +PROJECTS_URL = 'https://projects.parabola.nu' # Trackers used for ISO download magnet links TORRENT_TRACKERS = ( @@ -189,14 +189,14 @@ TORRENT_TRACKERS = ( 'udp://tracker.istole.it:80', ) -DOMAIN_RE = r'^(.+\.)?parabolagnulinux.org$' +DOMAIN_RE = r'^(.+\.)?parabola(\.nu|gnulinux\.org)$' BRANDING_APPNAME = 'parabolaweb' BRANDING_DISTRONAME = 'Parabola GNU/Linux-libre' BRANDING_SHORTNAME = 'Parabola' BRANDING_SLUG = 'parabola' BRANDING_WIKINAME = 'ParabolaWiki' -BRANDING_EMAIL = 'Parabola Website Notification ' +BRANDING_EMAIL = 'Parabola Website Notification ' BRANDING_OSEARCH_TAGS = 'gnu linuxlibre parabola package software' ## Import local settings diff --git a/templates/packages/search.html b/templates/packages/search.html index 7509864e..41e36193 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -141,7 +141,7 @@

You are browsing the {{ BRANDING_DISTRONAME }} package database. From here you can find detailed information about packages located in the official supported repositories. If you need the sourceball from where a package is built, you can look at our sources repo.

{% endblock %} diff --git a/templates/public/art.html b/templates/public/art.html index 80c5ac95..32acc172 100644 --- a/templates/public/art.html +++ b/templates/public/art.html @@ -10,7 +10,7 @@

You can help by creating artwork for {{ BRANDING_DISTRONAME }}.

-

Send your designs to dev@lists.parabolagnulinux.org and state they are CC-by-sa +

Send your designs to dev@lists.parabola.nu and state they are CC-by-sa or another free culture friendly license.

{% comment %} diff --git a/templates/public/https.html b/templates/public/https.html index df3e2c73..88056346 100644 --- a/templates/public/https.html +++ b/templates/public/https.html @@ -11,7 +11,7 @@ is the only page on the whole site that can be accessed without a secure connection, all other pages will redirect to the secure version.

-

Enter the secure site

+

Enter the secure site

But my browser says the secure site is untrusted

diff --git a/templates/public/index.html b/templates/public/index.html index 6ef6b4bf..64d19e6d 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -28,9 +28,9 @@

Our community is friendly and helpful. Please hop on IRC channel and check out our - mailing + mailing lists to get your feet wet. Also glance through our - wiki if you want to learn + wiki if you want to learn more about Parabola.