-
Notifications
You must be signed in to change notification settings - Fork 643
Add an option to order crates by last updated time #1210
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
Comments
I'd like to go ahead and tackle this, but I have two clarifying questions first.
|
There has not been any progress on #630, and unfortunately I don't have time in the near future to make a recent sanitized snapshot. I think it should be possible to publish just a few crates and versions to your local crates.io to get enough data for testing this out-- instructions are here. Let me know if there are any problems with the instructions! If you'd like to try refactoring |
I unfortunately can't publish any crates to my local crates.io until #1254 is resolved, and therefore won't be able to properly deal with this until that issue is resolved. Since I'd be hesistant to work on an issue that somebody else has called dibs on, I'd like to say that anyone can go ahead and take on this issue in the meantime |
Now that my issue with my local crates.io is resolved, I was able to address this issue. I didn't refactor |
1264: Recently updated sort r=carols10cents a=moore3071 Allow sorting by which crates were most recently updated as mentioned in #1210. The option is called 'recent-updates' in order to match the naming convention of 'recent-downloads' Co-authored-by: Brandon Moore <[email protected]> Co-authored-by: Carol (Nichols || Goulding) <[email protected]>
@carols10cents can this issue now be closed as well? Seems like the work has been done. |
Sounds good! |
Add to at least the API (and may as well add to the UI as well) the option to sort by last updated.
Crates' last_updated time is changed when a new version is published. This sort should put crates that have had a new version published most recently first.
This should be as straightforward as adding an ORDER BY; this is not a stream of new versions. That is, if this set of events happens:
The list of crates ordered by last updated time should be:
As opposed to:
The text was updated successfully, but these errors were encountered: