summaryrefslogtreecommitdiff
path: root/maint/check_licenses
Commit message (Collapse)AuthorAgeFilesLines
* maint/check_licensse: Placate shellcheckIan Jackson2023-02-241-1/+1
| | | | | There's nothing wrong with the previous idiom since it's a trusted variable, but whatever.
* maint/check_licensse: Approve Zlib licenceIan Jackson2023-02-241-0/+1
| | | | | | | This is a very permissive BSD/MIT-like licence. I have reviewed the licence text and it is inoffensive. I want this for slotmap, in !1034
* maint/check_licensse: Honour CARGO variableIan Jackson2023-02-241-2/+8
| | | | Even if it contains spaces.
* maint/check_licensse: Do not discard actual errorIan Jackson2023-02-241-1/+1
| | | | This confused me while I was debugging the interaction with nailing-cargo.
* shell: use /usr/bin/env instead of absolute pathsEmil Engler2023-01-251-1/+1
| | | | | | | | | | This commit changes the shebang in all shell scripts from absolute paths (such as `/bin/bash` or `/usr/bin/python3`) to the `/usr/bin/env` binary with the accompanying interpreter as it's argument. The reason for this are as follows: - NixOS cannot work with absolute paths - BSD systems install their packages in /usr/local/bin
* check_licenses: List license for tinystrNick Mathewson2022-08-301-8/+1
|
* fix error running check_licensestrinity-1686a2022-08-131-1/+1
| | | | | | | | --version was removed in a recent update we use that to detected whether cargo-license is installed, now use --help instead
* Several typo fixes from `typos`.Nick Mathewson2022-07-271-1/+1
|
* Teach check_licenses to accept license on `unicode-ident`.Nick Mathewson2022-07-201-6/+20
| | | | | | | | | | The license there is `(MIT OR Apache-2.0) AND Unicode-DFS-2016`, which fine, but the existing shell script doesn't actually handle "AND" correctly. This commit adds a workaround for licenses that are "AND", and some comments about weaknesses in our (lack of) boolean expression parsing. This should fix CI.
* check_licenses: list new crates with manual license verificationNick Mathewson2022-05-311-1/+17
| | | | | | | | | | | | | | | Closes #462. Note that the license on `ring` is slightly problematic for some users, including as it does old the openssl license[^1], with advertising clause and all. That's not a blocker for us now, since `ring` is not a required dependency. But we wouldn't want `ring` to become a mandatory dependency because of this. [^1]: To make the situation even more complicated, modern openssl has relicensed under apache-2.0, but that doesn't necessarily help us, since ring took its code from boringssll, which forked from an older version of openssl.
* make almost all scripts use bash and set euo pipefailtrinity-1686a2022-05-251-1/+1
|
* Remove cargo-husky, and replace with manual instructionseta2022-05-101-1/+0
| | | | | | | | A build script reaching into your .git/hooks/ and modifying them nonconsensually was a bit of a horrifying concept, and also made it hard to build arti with the feature disabled. Remove this crate, and replace it with manual instructions on how to install the hooks in CONTRIBUTING.md.
* rename *.sh scripts to bare nameIan Jackson2022-02-181-0/+81
As per #309 Update all references. There is one remaining hit for git-grep '\.sh\b' namely "build.sh" in maint/reproducible_build, which I think is the build script for osxcross - ie, an external project.