-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove export v1 #1754
base: master
Are you sure you want to change the base?
Remove export v1 #1754
Conversation
This is tricky. I don't think it's easy to share the same argument between two parsers ( I think it'd be easier to simply have just one parser for |
Why not just keep |
What @joverlee521 said. Everything is using |
c35f30e
to
e559282
Compare
I think splitting |
@@ -26,8 +26,7 @@ We recognize the existing usage of this function, so it has been moved to | |||
|
|||
## `augur export v1` | |||
|
|||
*Deprecated in version 22.2.0 (July 2023). Planned for [removal](https://github.com/nextstrain/augur/issues/1266) | |||
January 2024 or after.* | |||
*Deprecated in version 22.2.0 (July 2023). Removed in version TKTK (TKTK 2025)* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[todo]
@jameshadfield I started this a while back but never got around to creating a PR. Feel free to cherry-pick any commits: db54927...ec16b56 |
Let's discuss this somewhere? I'm curious to hear more.
👍 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1754 +/- ##
==========================================
+ Coverage 73.12% 75.22% +2.09%
==========================================
Files 79 78 -1
Lines 8353 8047 -306
Branches 1704 1625 -79
==========================================
- Hits 6108 6053 -55
+ Misses 1958 1707 -251
Partials 287 287 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I will note that we will need to address the removal of augur export v1 in seasonal flu before/when this gets released.
Also saying this out loud to confirm: We are keeping augur validate export-v1
and the v1 JSON schemas to continue to support existing v1 datasets.
69cc81b
to
3a50aa9
Compare
now that we have removed the ability to create v1 datasets Co-authored-by: Victor Lin <[email protected]>
To reflect the removal of `augur export v1` Co-authored-by: Victor Lin <[email protected]>
Includes updating & adding the redirects so that v1 URLs go to the (v1→v2) migration guide as well as removal of all relevant references to "augur export v1"
3a50aa9
to
61661a8
Compare
No - this was an oversight on my behalf. Victor's patch series removed this and I've now done the same in this PR. For completeness we've now:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, we still link to the v1 schemas in nextstrain.org and auspice (GH search). We should update those links to point to a specific tag instead of the default/master branch.
Would anyone who enjoys diving into
argparse
specifics like to help out with this PR? My goal is to makeaugur export
a synonym foraugur export v2
- the approach as implemented here nearly achieves this but fails foraugur export v2 <args>
because we have now set required arguments to theaugur export
parser itself so we get errors like:I presume a better approach is to set a default subparser?