#105 List artifacts directories via http newest first
Closed: Fixed Opened by mkrizek.

Put the latest "date" directory on the top so users don't have to scroll all the way down to access latest artifacts [1].

[1] https://taskotron.fedoraproject.org/artifacts/


Patch: http://ur1.ca/mv5kv

This is the patch @somebody linked to above

diff --git a/roles/taskotron/buildmaster/templates/artifacts.conf.j2 b/roles/tas
index 56363c8..d04d681 100644
--- a/roles/taskotron/buildmaster/templates/artifacts.conf.j2
+++ b/roles/taskotron/buildmaster/templates/artifacts.conf.j2
@@ -2,6 +2,8 @@ Alias /artifacts {{ public_artifacts_dir }}
 <Directory "{{ public_artifacts_dir }}">
     Options +Indexes
     IndexOptions +NameWidth=*
+    IndexOptions FancyIndexing
+    IndexOrderDefault Descending Name
     AllowOverride None
     Require all granted
 </Directory>

patch applied to infra ansible, run taskotron-dev

turns out that there was an unrelated bug in the playbooks but after fixing that and cleaning up all the misplaced dirs in /srv/taskotron/artifacts, the patch works. Will apply to stg/prod shortly and close this ticket after that

applied to stg and prod - everythin gseems to be working to me - closing the ticket

Fancy! Thank you.

Metadata Update from @mkrizek:
- Issue tagged with: infrastructure

Metadata