Rucio template policy package
Project description
Template for Rucio policy packages
This repository includes a template policy package that is ready to be customised and used.
Steps
- Create a new repository using this template
- Rename the folder within
src/to the name of your policy package - Update
pyproject.tomlwith your information - Adapt the permission, schema and algorithms to your needs
Building and publishing a policy package
This template provides a GitHub Action workflow for building and publishing a policy package to PyPI; you can trigger this action by publishing a new release on GitHub.
Pointing to your policy package as a requirement
Once released, you can specify your policy package as a requirement by either pointing to its published distribution on PyPI or by pointing to its GitHub release.
Pointing to the published package
The standard way is to point to the package published on PyPI in the same way as any other Python dependency:
package-name==version
For example, a policy package atlas-rucio-policy-package could be listed like this:
atlas-rucio-policy-package==0.5.0
Pointing to the GitHub release
You can also point directly to the GitHub release, by specifying:
package-name @ git+https://github.com/[username]/package-name@tag
This way, you can also avoid publishing to PyPI, and you can remove the PyPI publishing step from the GitHub Action.
For example, a belleii-rucio-policy-package could be listed like this:
belleii-rucio-policy-package @ git+https://github.com/rucio/temporary-belle2-policy-package@v0.1.1
Default algorithms
Rucio supports default algorithms for policy packages, to simplify the configuration process.
In this template, the lfn2pfn algorithm is defined as a default algorithm.
Resources
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file test_policy_package-0.0.1.tar.gz.
File metadata
- Download URL: test_policy_package-0.0.1.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd452ff62c689f9b0b2c598fb875216b40dc5bbb8a3bc4fa36addd2f6ec3649a
|
|
| MD5 |
5cbc89a2647c19df78567c1935026049
|
|
| BLAKE2b-256 |
5743eedb2615152330eb8ed8dba477fd6f209a77c5ea4611fca9fddb26f17ac9
|
Provenance
The following attestation bundles were made for test_policy_package-0.0.1.tar.gz:
Publisher:
build-and-publish.yml on rdimaio/test-policy-package
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
test_policy_package-0.0.1.tar.gz -
Subject digest:
dd452ff62c689f9b0b2c598fb875216b40dc5bbb8a3bc4fa36addd2f6ec3649a - Sigstore transparency entry: 662744339
- Sigstore integration time:
-
Permalink:
rdimaio/test-policy-package@7fc8d7e8af5d5b23bec7d2d155ec1f3d24f26cea -
Branch / Tag:
refs/tags/0.0.1 - Owner: https://github.com/rdimaio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-and-publish.yml@7fc8d7e8af5d5b23bec7d2d155ec1f3d24f26cea -
Trigger Event:
release
-
Statement type:
File details
Details for the file test_policy_package-0.0.1-py3-none-any.whl.
File metadata
- Download URL: test_policy_package-0.0.1-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2445a89dc7cb0b9710b1986333baa8741782e013095c5aee1b28a4b5c2b56e6
|
|
| MD5 |
45af2580e5f825fef5f0c8b8615aa559
|
|
| BLAKE2b-256 |
8803e40d4a662ce72d079a2e4743707effa701f88473f9886f48e5935a2cce0d
|
Provenance
The following attestation bundles were made for test_policy_package-0.0.1-py3-none-any.whl:
Publisher:
build-and-publish.yml on rdimaio/test-policy-package
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
test_policy_package-0.0.1-py3-none-any.whl -
Subject digest:
e2445a89dc7cb0b9710b1986333baa8741782e013095c5aee1b28a4b5c2b56e6 - Sigstore transparency entry: 662744388
- Sigstore integration time:
-
Permalink:
rdimaio/test-policy-package@7fc8d7e8af5d5b23bec7d2d155ec1f3d24f26cea -
Branch / Tag:
refs/tags/0.0.1 - Owner: https://github.com/rdimaio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-and-publish.yml@7fc8d7e8af5d5b23bec7d2d155ec1f3d24f26cea -
Trigger Event:
release
-
Statement type: