You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by GitBox <gi...@apache.org> on 2022/12/16 18:20:11 UTC

[GitHub] [daffodil-site] stevedlawrence commented on pull request #102: Update release artifact and checksum URLs

stevedlawrence commented on PR #102:
URL: https://github.com/apache/daffodil-site/pull/102#issuecomment-1355364199

   > Maybe consider mentioning the curl -o, --output file and wget -O, --output-document=file options to avoid needing to rename a file after downloading it in the release.html and vscode.html files already being modified by this pull request?
   
   @tuxji, These -o options still require a user to know/duplicate the name, right? For example, using wget would have to look like this:
   
   ```
   wget -o apache-daffodil-3.4.0-bin.tgz https://www.apache.org/dyn/closer.lua/daffodil/3.4.0/bin/apache-daffodil-3.4.0-bin.tgz?action=download
   ```
   I was hoping there would be an option to cause wget/curl drop the query parameters. I've found wget has a `--content-disposition` flag which seems to work, but the wget man page says it's experimental. And supposedly `curl -OJ` should do this, but doesn't seem to work for me.
   
   Alternatively we could ask infra (or propose or PR) to add a URL that enables action=download by default. Seems like it could be done with a RewriteRule or couple line patch, but I'm also not sure if it's worth the hassle.


-- 
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: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org