-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Let reuse
look inside git submodules
#118445
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
Changes from all commits
16768e5
ce0051a
d45eac3
c6eb03b
daf6121
2d1cd45
7a49ac5
c1577e5
efa4416
eba02ab
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
# WARNING: this metadata is currently incomplete, do not rely on it yet. | ||
|
||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Files-Excluded: | ||
src/llvm-project | ||
|
||
# Note that we're explicitly listing the individual files at the root of the | ||
# repository rather than just having `Files: *`. This is explicitly done to | ||
|
@@ -39,13 +37,8 @@ Files: compiler/* | |
Copyright: The Rust Project Developers (see https://thanks.rust-lang.org) | ||
License: MIT or Apache-2.0 | ||
|
||
Files: compiler/rustc_codegen_cranelift/src/cranelift_native.rs | ||
Copyright: The Cranelift Project Developers | ||
The Rust Project Developers (see https://thanks.rust-lang.org) | ||
License: Apache-2.0 WITH LLVM-exception AND (Apache-2.0 OR MIT) | ||
|
||
Files: compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp | ||
Copyright: LLVM authors | ||
Copyright: 2003-2019 University of Illinois at Urbana-Champaign. | ||
The Rust Project Developers (see https://thanks.rust-lang.org) | ||
License: Apache-2.0 WITH LLVM-exception AND (Apache-2.0 OR MIT) | ||
|
||
|
@@ -85,11 +78,44 @@ Files: src/librustdoc/html/static/css/normalize.css | |
Copyright: Nicolas Gallagher and Jonathan Neal | ||
License: MIT | ||
|
||
Files: src/librustdoc/html/static/css/themes/ayu.css | ||
Copyright: Ike Ku, Jessica Stokes, Leon Guan | ||
Files: src/librustdoc/html/static/css/rustdoc.css | ||
Copyright: 2016 Ike Ku, Jessica Stokes and Leon Guan | ||
The Rust Project Developers (see https://thanks.rust-lang.org) | ||
License: MIT OR Apache-2.0 | ||
|
||
Files: src/doc/rustc-dev-guide/mermaid.min.js | ||
Copyright: Knut Sveidqvist | ||
Copyright: 2014-2021 Knut Sveidqvist | ||
License: MIT | ||
|
||
Files: library/backtrace/* | ||
Copyright: 2014 Alex Crichton | ||
The Rust Project Developers (see https://thanks.rust-lang.org) | ||
License: MIT OR Apache-2.0 | ||
|
||
Files: src/doc/embedded-book/* | ||
Copyright: Rust on Embedded Devices Working Group | ||
The Rust Project Developers (see https://thanks.rust-lang.org) | ||
License: MIT OR Apache-2.0 OR CC-BY-SA-4.0 | ||
|
||
Files: src/doc/rust-by-example/* | ||
Copyright: 2014 Jorge Aparicio | ||
The Rust Project Developers (see https://thanks.rust-lang.org) | ||
License: MIT OR Apache-2.0 | ||
|
||
# Reuse cannot process the LLVM source tree, and so the copyrights for the LLVM | ||
# submodule are written out here manually. The collect-licence-metadata tool | ||
# has a specific exception coded within it to ignore ./src/llvm-project so | ||
# any time LLVM is updated, please revisit this section. The copyrights are | ||
# taken from the relevant LLVM sub-folders: llvm, lld, lldb, compiler-rt and libunwind. | ||
Comment on lines
+108
to
+109
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems likely that we're going to not do this - especially without a clearer story on what "revisit" means. Can we either remove this ask or try to make it more clear-cut to comply with it? Maybe we should be pushing LLVM upstream to improve metadata tracking of some kind? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LLVM express their copyright through a combination of the CREDITS.txt file, and a collection of files called LICENSE.txt (example) dotted in various subfolders. There's no automated way to grok all that, so I had to do it manually. The note were was as a reminder that, if someone bumps the LLVM subtree, they have to go and re-read the LICENSE.txt files and see if any of the copyrights have been updated or the LLVM license has changed. For example, as some point the NCSA license will be dropped and it will be Apache-with-exceptions only. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see. It seems likely that this will not happen on LLVM tree bumps (those are done far too often for someone to do this analysis). That's probably OK; it just means we'll want to eventually schedule some audit of this file (yearly or quaterly perhaps) that goes through and updates this sort of thing. |
||
# | ||
# The git hash for the CREDITS.TXT file is taken from the current git submodule | ||
# commit for ./src/llvm-project. | ||
# | ||
# The copyright years were compiled by looking at all the relevant | ||
# ./src/llvm-project/*/LICENSE.txt files | ||
|
||
Files: src/llvm-project/* | ||
Copyright: 2003-2019 by the contributors listed in [CREDITS.TXT](https://github.com/rust-lang/llvm-project/blob/7738295178045041669876bf32b0543ec8319a5c/llvm/CREDITS.TXT) | ||
2010 Apple Inc | ||
2003-2019 University of Illinois at Urbana-Champaign. | ||
License: NCSA AND Apache-2.0 WITH LLVM-exception |
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.