Skip to content

Add query to display recent_downloads on krates::show #1023

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

Conversation

sgrif
Copy link
Contributor

@sgrif sgrif commented Aug 28, 2017

Additionally, we've updated the join for this data on krate::index to
use the new public API Diesel added for this in the most recent version,
and made sure that any other endpoints which don't include this data
are returning NULL instead of 0

/cc @natboehm

@sgrif sgrif requested a review from carols10cents August 28, 2017 18:45
Additionally, we've updated the join for this data on krate::index to
use the new public API Diesel added for this in the most recent version,
and made sure that any other endpoints which *don't* include this data
are returning NULL instead of 0
@sgrif sgrif force-pushed the sg-nb-include-recent-downloads-in-crates-show branch from 1ae716e to c68f750 Compare August 28, 2017 19:33
@carols10cents
Copy link
Member

LGTM! Thank you @sgrif and @natboehm!!

bors: r+

bors-voyager bot added a commit that referenced this pull request Aug 30, 2017
1016: Give tables in readmes a bit of padding and a border r=carols10cents

Before:

<img width="253" alt="before" src="https://user-images.githubusercontent.com/193874/29745854-40021ae6-8a94-11e7-868c-80e5e350b6f2.png">

After:

<img width="278" alt="after" src="https://user-images.githubusercontent.com/193874/29745855-43dfb466-8a94-11e7-8e0e-e3fc5cb12b48.png">


1023: Add query to display recent_downloads on krates::show r=carols10cents

Additionally, we've updated the join for this data on krate::index to
use the new public API Diesel added for this in the most recent version,
and made sure that any other endpoints which *don't* include this data
are returning NULL instead of 0

/cc @natboehm
@bors-voyager
Copy link
Contributor

bors-voyager bot commented Aug 31, 2017

Build succeeded

@bors-voyager bors-voyager bot merged commit c68f750 into rust-lang:master Aug 31, 2017
@sgrif sgrif deleted the sg-nb-include-recent-downloads-in-crates-show branch September 23, 2017 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants