chore: Don't use clearly defined for license info #101
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I recently struggled with merging a change because the checksums seemed to keep changing. One potential explanation is that the LICENSE file generation is not reproducible; when I test locally only 2/10 runs produce identical license files for all apps. After this change 10/10 runs produce identical license files for all apps.
The problems may coincide with warnings about 429 and 502 responses from clearly defined, but I have not confirmed if there is actually a correlation.
I compared the generated license for the
hello_world
app and the differences do not seem catastrophic:aho-corasick
andmemchr
being dual licensed have been removed; The MIT license of both remain.winapi
being dual licensed have been removed.Makefile
:--fail
for good measure; It didn't cause any failures for me either with or withoutno-clearly-defined
meaning I could not observe any improvements. But in theory it should be easier to detect that it was unnecessarily set than the other way around.about.toml
:no-clearly-defined
because this stopscargo-about
from consulting clearly defined, which seems to make the builds reproducible. Other potential benefits from this include lower risk of supply chain attacks and faster builds.