-
Notifications
You must be signed in to change notification settings - Fork 611
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
Licenses #803
Licenses #803
Conversation
Hi @baileyn sorry I've taken so long to review this again!! Taking a look now :) ❤️ |
This code is looking great!! I just have a few things:
The way I usually do interactive rebasing is There's some more documentation about interactive rebasing here: https://help.github.com/articles/about-git-rebase/ Please let me know either here or on IRC if you have any questions!! ❤️ |
Sorry it's taken me so long to reply, @carols10cents , I've been helping my parents move over the past couple of weeks so I haven't been near my development box. I'm heading back home today so I'll be sure to take a look at resolving all of the issues you've mentioned. |
No apologies necessary :) ❤️ |
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.
Looks great works great!! Thank you!!! ❤️ 💟
And this is deployed! Check it out-- I've got a crate that has v0.1.2 licensed MIT https://crates.io/crates/carol-test/0.1.2 and v0.1.3 licensed MIT/Apache-2.0 https://crates.io/crates/carol-test !! Wooooo!!! |
Wooooo! It's so exciting to see something I made actually work on a production server 😁 |
License data was moved to crate versions in rust-lang/crates.io#803.
Remove `license` column on `crates` table Seemingly the last step in the checklist on #736, this PR removes the `license` column on the `crates` table, and all references thereto. (In fact, I think #736 can be closed once this PR is merged.) As of #803, the front-end no longer really used this field, and the front-end was also changed to render the license of the _current_ version, instead of the value coming from this now-obsolete `license` column on the crate. Thus, this column likely contains stale data and, to my knowledge, isn't changed at all when a new version is uploaded. I wasn't sure what requirements are enforced for backwards-compatibility, or whether my changes here would actually affect behavior of e.g. if there are old versions of `cargo` that will upload with these values. I am happy for these changes to be scrutinized until this is verified to be safe.
Fixed the front-end to display licenses based on versions rather than crates. I also added a test to make sure the licenses were displayed correct and changed based on version. This should finish up #736. The only thing that's left to do now is remove the old code there for crate-based versions.