Story #2764

wget -r gives nice results when you point it at an authless shared Collection URL

Added by Brett Smith almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Brett Smith
Category:
-
Start date:
05/15/2014
Due date:
% Done:

100%

Estimated time:
(Total: 13.00 h)
Story points:
2.0

Subtasks

Task #2774: Offer an alternative minimalist view for CollectionsResolvedBrett Smith

Task #2830: Review 2764-wget-collections-wipResolvedBrett Smith

Associated revisions

Revision cb094439 (diff)
Added by Brett Smith almost 6 years ago

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.

Revision dffa580d (diff)
Added by Brett Smith almost 6 years ago

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.

Revision 52056c36 (diff)
Added by Brett Smith almost 6 years ago

2764: UI overhaul to the Collection download page.

Refs #2764, based on feedback.

Revision 123ce64a
Added by Brett Smith almost 6 years ago

Merge branch '2764-wget-collections'

Closes #2764, #2774, #2830.

History

#1 Updated by Brett Smith almost 6 years ago

  • Assigned To set to Brett Smith

#2 Updated by Peter Amstutz almost 6 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 6 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 6 years ago

  1. Shrink the footer, it doesn't need to be a h2 with full size text
  2. Sample wget command should use long-form parameters for clarity
  3. Consider moving the wget section below the file tree instead of above it.

#5 Updated by Brett Smith almost 6 years ago

Peter Amstutz wrote:

  1. Shrink the footer, it doesn't need to be a h2 with full size text
  2. Sample wget command should use long-form parameters for clarity

Both pushed.

  1. 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 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:123ce64a39849224481a67cc400a04c5022b639f.

Also available in: Atom PDF