Packaging: the published crates contain no LICENSE file
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 77/100
Research direction
The issue identifies the workspace Cargo.toml, the five crate directories, and cargo package --list as the relevant entry point. Read the workspace license settings, then check how Cargo includes files in each crate package. Add the root license text to all five published packages and verify each package list includes LICENSE.
Written by the indexing model from the issue text.
Description
The five published crates declare license = "Apache-2.0", but none of their packages contains the license text. The only copy is the repository's root LICENSE. Each crate's README names the license and links its text on apache.org.
Section 4(a) of the license makes a copy of it a condition of redistribution (LICENSE 90-96): "You must give any other recipients of the Work or Derivative Works a copy of this License". Whoever redistributes a crate as it comes from crates.io, for example as vendored sources or in a distribution package, gets no copy to pass on.
On 392a3bf, from the repository root:
$ cargo package --list --allow-dirty -p tellus-bootstrap-dns
.cargo_vcs_info.json
CHANGELOG.md
Cargo.lock
Cargo.toml
Cargo.toml.orig
README.md
release-notes/351-query-validation.md
release-notes/tellus-0-6.md
release-notes/tellus-0-7.md
src/lib.rs
tests/dns_seeds.rs
$ for c in tellus tellus-bootstrap-dns tellus-bootstrap-k8s tellus-cluster-inspect tellus-persistence-postgres; do cargo package --list --allow-dirty -p $c; done | grep -ci license
0
The packages on crates.io have none either: tellus 0.6.0, tellus-bootstrap-dns 0.2.0, tellus-bootstrap-k8s 0.2.0, tellus-cluster-inspect 0.2.0 and tellus-persistence-postgres 0.3.0, downloaded from static.crates.io and listed with tar tz, contain no file named like a license.
The license field is set once in the workspace (Cargo.toml 9) and inherited by each crate with license = { workspace = true }. No crate sets include, exclude or license-file, and no crate directory holds a LICENSE.
Suggestion: a LICENSE in each of the five crate directories, a copy of the root file or a symlink to it. With tellus-bootstrap-dns/LICENSE as a symlink to ../LICENSE, cargo package --list shows LICENSE, and the .crate holds it as a regular file of 11,358 bytes, the size of the root file.
- Dominant language
- Rust
- Stars
- 37
- Forks
- 1
- Avg merge
- 4h 56m
- Merged PRs (30d)
- 219
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tellus-rs/tellus
-
test
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 91/100
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
All issues in tellus-rs/tellus
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
aaif-goose/goose#13970 ·
Maintainers usually reply within 1 day
-
comp-documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ClickHouse/ClickHouse#136277 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Copperpour/Copperpour#1105 ·
Maintainers usually reply within 1 day
-
bug release-blocker
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day