Story #2764
wget -r gives nice results when you point it at an authless shared Collection URL
100%
Subtasks
Associated revisions
2764: Add wget-friendly Collections file page.
This new route will become the way you share authless Collection links
with others. They can pass it to `wget -r` to download the whole
collection, nicely organized, with nothing extraneous. Since it
doesn't try to load user information or look up related Arvados items,
it can be rendered using an API token with a very narrow scope.
Because wget respects robots.txt, this branch stops using that in
favor of the corresponding <meta> tag. The new view only limits
indexing, so wget can follow the links on the page.
Refs #2764.
2764: UI overhaul to the Collection download page.
Refs #2764, based on feedback.
History
#1
Updated by Brett Smith about 8 years ago
- Assigned To set to Brett Smith
#2
Updated by Peter Amstutz almost 8 years ago
I'd like to see a very basic header/footer on the page so that regular humans have some context for what they are looking at.
#3
Updated by Brett Smith almost 8 years ago
Peter Amstutz wrote:
I'd like to see a very basic header/footer on the page so that regular humans have some context for what they are looking at.
Pushed in 22f1aef9, and then merged the branch with master. Like we discussed on IRC, I'm happy to provide a tree view of the files once the branch with that logic is merged (see #2753). Not sure if you want to take another look now or wait until that's done—either one is fine by me.
#4
Updated by Peter Amstutz almost 8 years ago
- Shrink the footer, it doesn't need to be a h2 with full size text
- Sample wget command should use long-form parameters for clarity
- Consider moving the wget section below the file tree instead of above it.
#5
Updated by Brett Smith almost 8 years ago
Peter Amstutz wrote:
- Shrink the footer, it doesn't need to be a h2 with full size text
- Sample wget command should use long-form parameters for clarity
Both pushed.
- Consider moving the wget section below the file tree instead of above it.
I think we expect wget to the be the main way that people interact with this page. Because of that, I think having it at the top is useful to help ensure people see it. Otherwise, in a long collection, they may not scroll down far enough for the hint.
#6
Updated by Brett Smith almost 8 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset arvados|commit:123ce64a39849224481a67cc400a04c5022b639f.
2764: Add wget-friendly Collections file page.
This new route will become the way you share authless Collection links
with others. They can pass it to `wget -r` to download the whole
collection, nicely organized, with nothing extraneous. Since it
doesn't try to load user information or look up related Arvados items,
it can be rendered using an API token with a very narrow scope.
Because wget respects robots.txt, this branch stops using that in
favor of the corresponding <meta> tag. The new view only limits
indexing, so wget can follow the links on the page.
Refs #2764.