https://github.com/awslabs/attribution-gen
Licenses attributions file generator
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.2%) to scientific vocabulary
Keywords
Repository
Licenses attributions file generator
Basic Info
Statistics
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 5
- Releases: 4
Topics
Metadata Files
README.md
attribution-gen CLI tool
attribution-gen is a tools that helps you generate license attributions
files. Currently it only works with Go projects using modules.
We hope you find this tool useful; please verify the accuracy of the detected third party code and licenses.
Installing
- Install to $GOBIN
go install github.com/awslabs/attribution-gen/...@latest
Using attribution-gen
The easiest way to use attribution-gen is to run it inside the directory
of your Go project.
bash
attribution-gen --debug # default generated file name is ATTRIBUTIONS.md
By default the max depth allowed while exploring the dependency graph is 2,
you can override this value by using the --depth flag.
bash
attribution-gen --depth 5 --debug
You can also set the output/input and the templates used to generate the attributions file.
bash
attribution-gen --output ATTRIBUTIONS.md --modfile go.mod\
--attr-header-template $(HEADER_TMP)\
--attr-block-template $(BLOCK_TMP)
You can also print the dependency graph using the --show-graph flag
```bash attribution-gen --show-graph --depth 2
OUTPUT
INFO[0004] attribution-gen ├── github.com/google/go-cmdtest@v0.4.0 Apache-2.0 │ ├── github.com/google/go-cmp@v0.5.9 BSD-3-Clause │ └── github.com/google/renameio@v1.0.1 Apache-2.0 ├── github.com/google/licenseclassifier/v2@v2.0.0 Apache-2.0 │ ├── github.com/davecgh/go-spew@v1.1.1 ISC │ ├── github.com/google/go-cmp@v0.5.9 BSD-3-Clause │ └── github.com/sergi/go-diff@v1.2.0 Copyright ├── github.com/sirupsen/logrus@v1.8.1 MIT │ ├── github.com/davecgh/go-spew@v1.1.1 ISC │ ├── github.com/pmezard/go-difflib@v1.0.0 BSD-3-Clause │ ├── github.com/stretchr/testify@v1.2.2 MIT │ └── golang.org/x/sys@v0.1.0 BSD-3-Clause ├── github.com/spf13/cobra@v1.4.0 Apache-2.0 │ ├── github.com/cpuguy83/go-md2man/v2@v2.0.1 MIT │ ├── github.com/inconshreveable/mousetrap@v1.0.0 Apache-2.0 │ ├── github.com/spf13/pflag@v1.0.5 BSD-3-Clause │ └── gopkg.in/yaml.v2@v2.4.0 Apache-2.0 ├── github.com/xlab/treeprint@v1.1.0 MIT │ └── github.com/stretchr/testify@v1.7.0 MIT ├── golang.org/x/exp@v0.0.0-20230522175609-2e198f4a06a1 BSD-3-Clause │ ├── github.com/google/go-cmp@v0.5.9 BSD-3-Clause │ ├── golang.org/x/mod@v0.6.0 BSD-3-Clause │ ├── golang.org/x/tools@v0.2.0 BSD-3-Clause │ └── golang.org/x/sys@v0.1.0 BSD-3-Clause └── golang.org/x/mod@v0.6.0 BSD-3-Clause ```
Testing
make cli-test
Security
See CONTRIBUTING for more information.
License
This project is licensed under the Apache-2.0 License.
Owner
- Name: Amazon Web Services - Labs
- Login: awslabs
- Kind: organization
- Location: Seattle, WA
- Website: http://amazon.com/aws/
- Repositories: 914
- Profile: https://github.com/awslabs
AWS Labs
GitHub Events
Total
- Release event: 2
- Watch event: 3
- Push event: 2
- Pull request review event: 2
- Pull request event: 4
- Fork event: 1
- Create event: 1
Last Year
- Release event: 2
- Watch event: 3
- Push event: 2
- Pull request review event: 2
- Pull request event: 4
- Fork event: 1
- Create event: 1
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 7
- Total pull requests: 6
- Average time to close issues: N/A
- Average time to close pull requests: 11 days
- Total issue authors: 2
- Total pull request authors: 5
- Average comments per issue: 0.29
- Average comments per pull request: 0.33
- Merged pull requests: 5
- Bot issues: 0
- Bot pull requests: 1
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: about 1 hour
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- a-hilaly (5)
- joneidaws (2)
Pull Request Authors
- a-hilaly (6)
- cheeseandcereal (2)
- yuxiang-zhang (1)
- joneidaws (1)
- dependabot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- github.com/google/licenseclassifier v0.0.0-20210722185704-3043a050f148
- github.com/inconshreveable/mousetrap v1.0.0
- github.com/sergi/go-diff v1.2.0
- github.com/sirupsen/logrus v1.8.1
- github.com/spf13/cobra v1.4.0
- github.com/spf13/pflag v1.0.5
- github.com/xlab/treeprint v1.1.0
- golang.org/x/mod v0.5.1
- golang.org/x/sys v0.0.0-20191026070338-33540a1f6037
- golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
- github.com/cpuguy83/go-md2man/v2 v2.0.1
- github.com/davecgh/go-spew v1.1.0
- github.com/davecgh/go-spew v1.1.1
- github.com/google/go-cmp v0.2.0
- github.com/google/licenseclassifier v0.0.0-20210722185704-3043a050f148
- github.com/inconshreveable/mousetrap v1.0.0
- github.com/kr/pretty v0.1.0
- github.com/kr/pty v1.1.1
- github.com/kr/text v0.1.0
- github.com/pmezard/go-difflib v1.0.0
- github.com/russross/blackfriday/v2 v2.1.0
- github.com/sergi/go-diff v1.0.0
- github.com/sergi/go-diff v1.2.0
- github.com/sirupsen/logrus v1.8.1
- github.com/spf13/cobra v1.4.0
- github.com/spf13/pflag v1.0.5
- github.com/stretchr/objx v0.1.0
- github.com/stretchr/testify v1.2.2
- github.com/stretchr/testify v1.3.0
- github.com/stretchr/testify v1.4.0
- github.com/stretchr/testify v1.7.0
- github.com/xlab/treeprint v1.1.0
- golang.org/x/mod v0.5.1
- golang.org/x/sys v0.0.0-20191026070338-33540a1f6037
- golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
- gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
- gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15
- gopkg.in/yaml.v2 v2.2.2
- gopkg.in/yaml.v2 v2.2.4
- gopkg.in/yaml.v2 v2.4.0
- gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
- actions/checkout v3 composite
- actions/setup-go v4 composite
- actions/checkout v3 composite
- actions/setup-go v4 composite
- actions/checkout v3 composite
- actions/setup-go v4 composite