Skip to main content

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

  1. Create a new repository using this template
  2. Rename the folder within src/ to the name of your policy package
  3. Update pyproject.toml with your information
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

test_policy_package-0.0.1.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

test_policy_package-0.0.1-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

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

Hashes for test_policy_package-0.0.1.tar.gz
Algorithm Hash digest
SHA256 dd452ff62c689f9b0b2c598fb875216b40dc5bbb8a3bc4fa36addd2f6ec3649a
MD5 5cbc89a2647c19df78567c1935026049
BLAKE2b-256 5743eedb2615152330eb8ed8dba477fd6f209a77c5ea4611fca9fddb26f17ac9

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file test_policy_package-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for test_policy_package-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2445a89dc7cb0b9710b1986333baa8741782e013095c5aee1b28a4b5c2b56e6
MD5 45af2580e5f825fef5f0c8b8615aa559
BLAKE2b-256 8803e40d4a662ce72d079a2e4743707effa701f88473f9886f48e5935a2cce0d

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page