Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ort): Add repository configuration and curation #105

Merged
merged 8 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ort-toolkit.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions .ort.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
curations:
packages:
- id: "PyPI::numpy:1.26.2"
curations:
comment: "The https://github.com/numpy/numpy/blob/v1.26.2/LICENSE.txt, as a\
\ permissive license similar to the BSD 2-Clause License, but with a 3rd clause\
\ that prohibits others from using the name of the copyright holder or its\
\ contributors to promote derived products without written consent."
concluded_license: "BSD-3-Clause"
declared_license_mapping:
BSD License: "BSD-3-Clause"
- id: "PyPI::pypdf2:3.0.1"
curations:
comment: "The https://github.com/py-pdf/pypdf/blob/3.0.0/LICENSE, is a\
\ three-clause BSD."
concluded_license: "BSD-3-Clause"
declared_license_mapping:
BSD License: "BSD-3-Clause"
- id: "PyPI::pandas:2.1.3"
curations:
comment: "From https://github.com/pandas-dev/pandas/blob/v2.1.3/LICENSE,\
\ A permissive license similar to the BSD 2-Clause License,\
\ but with a 3rd clause that prohibits others from using the name\
\ of the copyright holder or its contributors to promote derived products\
\ without written consent."
concluded_license: "BSD-3-Clause"
declared_license_mapping:
BSD License: "BSD-3-Clause"
- id: "NPM::case:1.6.3"
curations:
comment: "From https://github.com/nbubna/Case/blob/1.6.3/LICENSE:\
\ A short and simple permissive license with conditions only requiring\
\ preservation of copyright and license notices. Licensed works,\
\ modifications, and larger works may be distributed\
\ under different terms and without source code."
concluded_license: "MIT-0"
declared_license_mapping:
BSD License: "MIT-0"
6 changes: 5 additions & 1 deletion projenrc/github-workflows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,11 @@ export function buildOrtToolkitWorkflow(project: AwsCdkConstructLibrary) {
},
{
name: 'Run GitHub Action for ORT',
uses: 'oss-review-toolkit/ort-ci-github-action@v1',
uses: 'oss-review-toolkit/ort-ci-github-action@7f23c1f8d169dad430e41df223d3b8409c7a156e',
with: {
'allow-dynamic-versions': 'true',
'ort-cli-args': '-P ort.forceOverwrite=true -P ort.enableRepositoryPackageConfigurations=true -P ort.enableRepositoryPackageCurations=true --stacktrace',
},
},
],
};
Expand Down