Skip to content

Commit

Permalink
Update project metadata (#533)
Browse files Browse the repository at this point in the history
* Remove unused build config that allows git dependencies
* Add project URLS
* Add license data as specified in PEP-639
* Add license files to signer and repo -- this is unfortunate copy paste
  but the files need to be there during build

These are relevant mostly to signer as they will affect the
pypi.org page content and "pip show" output.
  • Loading branch information
jku authored Feb 3, 2025
1 parent 8262fac commit 606191d
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ MIT License

TUF-on-CI
Copyright 2022-2023 repository-playground contributors
Copyright 2023 TUF-on-CI contributors
Copyright 2023-2025 TUF-on-CI contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
23 changes: 23 additions & 0 deletions repo/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
MIT License

TUF-on-CI
Copyright 2022-2023 repository-playground contributors
Copyright 2023-2025 TUF-on-CI contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
10 changes: 6 additions & 4 deletions repo/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.metadata]
# for git dependencies
allow-direct-references = true

[project]
name = "tuf-on-ci"
description = "TUF-on-CI repository tools, intended to be executed on a CI system"
license = "MIT"
license-files = [ "LICENSE" ]
readme = "README.md"
dependencies = [
"securesystemslib[awskms, azurekms, gcpkms, sigstore] ~= 1.2",
Expand All @@ -18,6 +16,10 @@ dependencies = [
requires-python = ">=3.10"
dynamic = ["version"]

[project.urls]
issues = "https://github.com/theupdateframework/tuf-on-ci/issues"
source = "https://github.com/theupdateframework/tuf-on-ci/"

[project.scripts]
tuf-on-ci-build-repository = "tuf_on_ci:build_repository"
tuf-on-ci-test-client = "tuf_on_ci:client"
Expand Down
23 changes: 23 additions & 0 deletions signer/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
MIT License

TUF-on-CI
Copyright 2022-2023 repository-playground contributors
Copyright 2023-2025 TUF-on-CI contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
6 changes: 6 additions & 0 deletions signer/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ build-backend = "hatchling.build"
[project]
name = "tuf-on-ci-sign"
description = "Signing tools for TUF-on-CI"
license = "MIT"
license-files = [ "LICENSE" ]
readme = "README.md"
dependencies = [
"packaging ~= 24.0",
Expand All @@ -16,6 +18,10 @@ dependencies = [
requires-python = ">=3.9"
dynamic = ["version"]

[project.urls]
issues = "https://github.com/theupdateframework/tuf-on-ci/issues"
source = "https://github.com/theupdateframework/tuf-on-ci/"

[project.scripts]
tuf-on-ci-delegate = "tuf_on_ci_sign:delegate"
tuf-on-ci-import-repo = "tuf_on_ci_sign:import_repo"
Expand Down

0 comments on commit 606191d

Please sign in to comment.