alitheg commented on issue #1517:
URL: 
https://github.com/apache/tooling-trusted-releases/issues/1517#issuecomment-5480224335

   > I think we can create a .htaccess file for each release to map artifact 
purl "subpaths" to the artifacts url.
   
   Great idea: .htaccess rules deployed. So now each release gets:
   
   ```
   https://release-catalog-test.apache.org/the+asf/[email protected]
   ```
   
   which redirects to `artifacts.json`, and for each artifact in the release 
you can do:
   
   ```
   
https://release-catalog-test.apache.org/the+asf/[email protected]?file_name=apache-activemq-5.19.10-bin.tar.gz
   ``` 
   
   which gives you the file directly. I've used a temporary redirect for 
current versions and a permanent one for anything moved to archive.a.o.
   
   I didn't do any slashes after the version as I had another read of the PURL 
spec and I can't see a way to do it. I also realised I can't use the hash 
("subpath") part in this because a browser will read that as a fragment and not 
send it to the webserver. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to