1 Commits

Author SHA1 Message Date
b386d89d6c prep for mirror pages go-live
All checks were successful
Docker Image CI / build (push) Successful in -14s
Github-Actions / build (push) Successful in -31s
2025-08-01 01:06:11 -05:00
4 changed files with 19 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ version: '2'
# Run the following once:
# docker compose run --rm archweb_web python manage.py migrate
# docker compose run --rm archweb_web python manage.py loaddata mirrors/fixtures/mirrorprotocols.json
# docker compose run --rm archweb_web python manage.py loaddata main/fixtures/arches.json
# docker compose run --rm archweb_web python manage.py loaddata main/fixtures/repos.json
# docker compose run --rm archweb_web python manage.py createsuperuser --username=admin --email=admin@artixweb.local
@@ -11,6 +12,8 @@ version: '2'
# docker compose run --rm archweb_web python manage.py pgp_import ./config/keyring
## go to /admin/devel/developerkey/ and set the owner (and parent) for the ownerless key
## go to /admin/sites/site/1/change/ and set the domain
## clone the mirrors repo
# docker compose run --rm archweb_web python manage.py loaddata /mirrors/mirrors.fixture.json
services:

View File

@@ -25,5 +25,14 @@
"default": false,
"protocol": "https"
}
},
{
"pk": 9,
"model": "mirrors.mirrorprotocol",
"fields": {
"is_download": false,
"default": false,
"protocol": "ftp"
}
}
]

View File

@@ -33,7 +33,7 @@ server {
try_files "" @proxy;
}
location ~ ^/(packages|groups|opensearch|feeds) {
location ~ ^/(packages|groups|opensearch|feeds|mirrors|mirrorlist) {
try_files "" @proxy;
}
@@ -65,4 +65,4 @@ server {
}
error_page 500 501 502 503 504 /500.html;
}
}

View File

@@ -145,6 +145,10 @@ tr :nth-child(7) {
background-image: url(data:image/gif;base64,R0lGODlhFQAEAPABAOTu/wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAgABACwAAAAAFQAEAAACDYwfoAvoz9qbZ9FrJC0AOw==);
}
code {
background: #334450;
}
.results.results td,
.results.results th {
border: 1px solid #858585;
@@ -158,7 +162,7 @@ tr :nth-child(7) {
background-color: #111;
}
.results th {
.results th, #pkgsearch {
color: #fff;
background-color: #0f3147;
border: 1px solid #0A6682;