-
Notifications
You must be signed in to change notification settings - Fork 672
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
image manifest: add source annotation #71
Conversation
For a number of images, source code needs to be provided due to the license of the files in the image, so provide an annotation to make it easy to determine where that source can be found. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
So much. I debated on this field, and/or LICENSE. And what the value would be. |
Thanks, LICENSE wouldn't work given the normal mix of tons of different licenses in a single image. But it really would be nice if we could add it on a per-file basis if possible, let me look into that... |
For things like this I'd expect a little bit more referencing of prior art (deb/rpm/etc). For example - should this URL attempt to reference an exact git commit for something you happened to And what about multiple sources? |
I was thinking to a tarball or repo. Perhaps folks could comma delimit a On Sat, May 7, 2016, 18:14 Colin Walters notifications@github.com wrote:
|
@cgwalters as it is, this will support what Debian does for their docker containers, see: https://hub.docker.com/_/debian/ I would have loved to build off of the LICENSE stuff from RPM and DEB, but due to an image just being a big mass of files, all with potentially different licenses, that doesn't work, hence this patch. It's up to the creator of the image to properly provide source (hint, almost no one does, this is not good), so this gives people a way to start to do that correctly. If you can think of a way to do this on a per-file basis, that would be wonderful, but I don't see how to do that right now. Unless I'm missing something? |
@gregkh I am not seeing what debian does. Can you add a bit onto this PR that says "(e.g. a Debian base image might use the URL https://debian.org/foo/bar)". Thanks! |
Oh, and I am +1 for this change. |
@philips this PR has already been merged, I can't change it now. Do you mean for me to add the example into the spec itself? |
Submitting the example as a new PR is great. On Sat, May 7, 2016, 8:00 PM Greg Kroah-Hartman notifications@github.com
|
For a number of images, source code needs to be provided due to the
license of the files in the image, so provide an annotation to make it
easy to determine where that source can be found.
Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org