Skip to content
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

Update license files. #40

Merged
merged 3 commits into from
Apr 20, 2024
Merged

Update license files. #40

merged 3 commits into from
Apr 20, 2024

Conversation

xStrom
Copy link
Member

@xStrom xStrom commented Apr 20, 2024

This is to ensure that they will be part of the published package. Technically they are symlinks to the repo root, to save space.

Copy link

@DJMcNab DJMcNab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really like adding in symlinks, because they can potentially cause pain, and we're so unlikely to ever change the contents of these files (e.g. it doesn't increase the size of the repository, only the size of any clone, since it uses the same data as the root files)

That being said, symlinks is what wgpu uses (gfx-rs/wgpu#2604), so this is probably a fine option - especially if we do ever update the licenses.
Although that seems to just have been cargo-culted from tokio-rs/prost#619. The paper trail of reasoning breaks down there

In tokio-rs/tracing#842, they decided on just copying the files, because of similar concerns about windows.

Overall, I think I prefer copying the files, but can accept either approach

@xStrom
Copy link
Member Author

xStrom commented Apr 20, 2024

Druid uses symbolic links and has a section about making sure they're enabled on Windows. This is a significant issue only for people who publish packages, so it's not too difficult to have this documented as part of a general Linebender publishing guide. Also as it stands now I think I might be the only Linebender publisher who actually publishes on Windows.

Although yeah even others who don't have symlinks enabled may find it tricky to open the files.

@nicoburns
Copy link
Contributor

IMO needing special instructions for windows is reason e ough not to use symlinks. I reckon we should just duplicate the file. These files are tiny anyway.

@xStrom xStrom changed the title Add LICENSE files to fontique. Update license files. Apr 20, 2024
@xStrom
Copy link
Member Author

xStrom commented Apr 20, 2024

Alright I removed the symlinks and went with standard files.

@xStrom xStrom added this pull request to the merge queue Apr 20, 2024
Merged via the queue into linebender:main with commit 75a34a8 Apr 20, 2024
19 checks passed
@xStrom xStrom deleted the licensefiles branch April 20, 2024 21:27
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.

None yet

3 participants