-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow versioned resource access (core/staging)
Nextstrain URLs are extended to allow <path>@<version> syntax. Currently the version must be in YYYY-MM-DD format. If a version is available for that day then that resource is used. If a version is not available for that day then we redirect to the closest available YYYY-MM-DD, or redirect to the latest (non-versioned) URL where appropriate. Note that the current implementation (via previous commits) uses S3 versioning, not our datestamped datasets, although the two concepts may appear similar in the URL.
- Loading branch information
1 parent
88d3fb7
commit 39f79c8
Showing
7 changed files
with
205 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.