Ship copyright and license files with split crates#297
Merged
eminence merged 1 commit intoeminence:masterfrom Jan 15, 2024
Merged
Ship copyright and license files with split crates#297eminence merged 1 commit intoeminence:masterfrom
eminence merged 1 commit intoeminence:masterfrom
Conversation
Now that `procfs` and `procfs-core` are individual crates located in
subdirectories of the repo, make sure the copyright and license texts
are symlinked so they get packaged when the crates are published.
Also fix typoo in COPYRIGHT.txt
```
michel in procfs/procfs-core on add-license [!?] via 🐍 v3.11.6 (.venv311) via 🦀 v1.73.0
⬢ [fedora-toolbox:38] ❯ cargo package --allow-dirty --no-verify
Packaging procfs-core v0.16.0 (/home/michel/src/github/eminence/procfs/procfs-core)
Packaged 32 files, 329.5KiB (78.3KiB compressed)
michel in procfs/procfs-core on add-license [!?] via 🐍 v3.11.6 (.venv311) via 🦀 v1.73.0
⬢ [fedora-toolbox:38] ❯ bsdtar tf ../target/package/procfs-core-0.16.0.crate | grep COPYRIGHT
procfs-core-0.16.0/COPYRIGHT.txt
michel in procfs/procfs-core on add-license [!?] via 🐍 v3.11.6 (.venv311) via 🦀 v1.73.0
⬢ [fedora-toolbox:38] ❯ bsdtar tf ../target/package/procfs-core-0.16.0.crate | grep LICENSE
procfs-core-0.16.0/LICENSE-APACHE
procfs-core-0.16.0/LICENSE-MIT
```
```
michel in procfs/procfs on add-license [?] via 🐍 v3.11.6 (.venv311) via 🦀 v1.73.0
⬢ [fedora-toolbox:38] ❯ cargo package --allow-dirty --no-verify
Packaging procfs v0.16.0 (/home/michel/src/github/eminence/procfs/procfs)
Updating crates.io index
Packaged 48 files, 266.1KiB (71.7KiB compressed)
michel in procfs/procfs on add-license [?] via 🐍 v3.11.6 (.venv311) via 🦀 v1.73.0 took 2s
⬢ [fedora-toolbox:38] ❯ bsdtar tf ../target/package/procfs-0.16.0.crate | grep COPYRIGHT
procfs-0.16.0/COPYRIGHT.txt
michel in procfs/procfs on add-license [?] via 🐍 v3.11.6 (.venv311) via 🦀 v1.73.0
⬢ [fedora-toolbox:38] ❯ bsdtar tf ../target/package/procfs-0.16.0.crate | grep LICENSE
procfs-0.16.0/LICENSE-APACHE
procfs-0.16.0/LICENSE-MIT
```
Signed-off-by: Michel Lind <[email protected]>
Owner
|
I appreciate the fix, thank you |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now that
procfsandprocfs-coreare individual crates located in subdirectories of the repo, make sure the copyright and license texts are symlinked so they get packaged when the crates are published.Also fix typoo in COPYRIGHT.txt