https://github.com/artichoke/generate_third_party
📜 Generate listings of third party licenses for Artichoke Ruby
https://github.com/artichoke/generate_third_party
artichoke cli github-actions license-checking licensing ruby rubygem rust spdx
Last synced: 6 months ago
JSON representation
📜 Generate listings of third party licenses for Artichoke Ruby
- Host: GitHub
- URL: https://github.com/artichoke/generate_third_party
- Owner: artichoke
- License: mit
- Created: 2022-09-03T03:15:28.000Z (about 3 years ago)
- Default Branch: trunk
- Last Pushed: 2025-03-03T23:25:33.000Z (7 months ago)
- Last Synced: 2025-03-24T15:41:58.920Z (7 months ago)
- Topics: artichoke, cli, github-actions, license-checking, licensing, ruby, rubygem, rust, spdx
- Language: Ruby
- Homepage: https://github.com/artichoke/generate_third_party#github-actions
- Size: 979 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# generate_third_party
[](https://github.com/artichoke/generate_third_party/actions)
[](https://discord.gg/QCe2tp2)
[](https://twitter.com/artichokeruby)Generate listings of third party dependencies and their licenses for copyright
attribution in distributed Artichoke binaries.## Usage
To generate a `THIRDPARTY` text file for all targets Artichoke supports:
```sh
bundle exec generate-third-party-text-file path/to/artichoke/Cargo.toml
```To generate a `THIRDPARTY` text file for a single target triple:
```sh
bundle exec generate-third-party-text-file-single-target \
--target x86_64-unknown-linux-gnu \
path/to/artichoke/Cargo.toml
```### GitHub Actions
This repository is available as a GitHub Action:
```yaml
- name: Generate THIRDPARTY license listing
id: generate_third_party
uses: artichoke/generate_third_party@v1.15.0
with:
artichoke_ref: trunk
target_triple: x86_64-unknown-linux-gnu
output_file: ${{ github.workspace }}/THIRDPARTY
github_token: ${{ secrets.GITHUB_TOKEN }}
```## Supported Targets
`generate_third_party` supports all [tier 1 Rust platforms] and [tier 2 MUSL
targets].- `aarch64-apple-darwin`
- `aarch64-unknown-linux-gnu`
- `aarch64-unknown-linux-musl`
- `i686-pc-windows-gnu`
- `i686-pc-windows-msvc`
- `i686-unknown-linux-gnu`
- `x86_64-apple-darwin`
- `x86_64-pc-windows-gnu`
- `x86_64-pc-windows-msvc`
- `x86_64-unknown-linux-gnu`
- `x86_64-unknown-linux-musl`[tier 1 rust platforms]:
https://doc.rust-lang.org/nightly/rustc/platform-support.html#tier-1-with-host-tools
[tier 2 musl targets]:
https://doc.rust-lang.org/nightly/rustc/platform-support.html#tier-2-with-host-tools