Skip to content

Conversation

Manishearth
Copy link
Member

Fixes #2738

I'm not happy with the styling but I simply don't understand the CSS here well enough to do better without putting in significant effort.

I decided to consistently link to SPDX instead of also trying to link to https://choosealicense.com/ likes crates.io, but it's an easy change to make if we want to add that too.

@Manishearth Manishearth requested a review from a team as a code owner February 19, 2025 22:11
@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Feb 19, 2025
@Manishearth
Copy link
Member Author

Here's what it currently looks like

image

A little cramped. It tries to preserve whitespace choices in the original SPDX. We could use a proper SPDX parser and normalize, but I think showing the original license string is actually good here.

@GuillaumeGomez
Copy link
Member

Great work, thanks a lot! Don't worry about CSS, I'll send a follow-up.

@GuillaumeGomez
Copy link
Member

Clippy errors and test_parse_license is failing too.

@GuillaumeGomez
Copy link
Member

Fmt is failing now. 😉

@Manishearth
Copy link
Member Author

Yes, I can read the CI, you don't need to tell me about the failures 😄

Fixes rust-lang#2738

I'm not happy with the styling but I simply don't understand the CSS here well enough to do better without putting in significant effort.

I decided to consistently link to SPDX instead of also trying to link to https://choosealicense.com/ likes crates.io, but it's an easy change to make if we want to add that too.
@Manishearth
Copy link
Member Author

Done, probably.

@GuillaumeGomez
Copy link
Member

All good, thanks! Sending a follow-up for the CSS.

@GuillaumeGomez GuillaumeGomez merged commit 02922b1 into rust-lang:master Feb 20, 2025
9 checks passed
@github-actions github-actions bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Feb 20, 2025
@Manishearth Manishearth deleted the license-page branch February 20, 2025 12:29
@syphar syphar removed the S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it label Feb 27, 2025
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.

License link doesn't point anywhere useful

3 participants