This repository has been archived by the owner on May 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Use a custom copyright/license file without adding auto-generated lines #187
Comments
The assumption for I suppose cargo-deb could try being smart about this and see if the file already uses Debian's syntax, and not add its fields if it does. |
Considering that For example: # Standard Cargo.toml stuff
# ...
[package.metadata.deb]
license-file = ["debian/copyright", "0", true]
# So this means debian/copyright filename, skip zero lines, and it is already Debian-formatted file so don't add any new fields |
There could be (although arrays need all elements to be strings, so |
kornelski
added a commit
that referenced
this issue
Jul 6, 2021
kornelski
added a commit
that referenced
this issue
Jul 6, 2021
kornelski
added a commit
that referenced
this issue
Jul 6, 2021
kornelski
added a commit
that referenced
this issue
Jul 6, 2021
kornelski
added a commit
that referenced
this issue
Jul 6, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I created a custom copyright file that complies with
debian/copyright
file specification and I would like to package it into a DEB archive.If I just add
license-file = ["debian/copyright", "0"]
toCargo.toml
, the file will be packed into an archive, butcargo-deb
will add auto-generated lines at the start of file, causing duplicated or possibly incorrect data.Maybe there could be an additional option in
license-file
to prevent adding auto-generated lines to the copyright/license file?The text was updated successfully, but these errors were encountered: