Apache tooling

Clone this repo:
  1. b3608ef Create a new build for testing releases by Sean B. Palmer · 2 days ago main
  2. addf1a7 Allow workflow users to set the release version by Sean B. Palmer · 2 days ago
  3. 2e07d18 Update actions to their latest commit by Sean B. Palmer · 2 days ago
  4. 50fa979 Update to the action commit to mask emails in the logs by Sean B. Palmer · 2 days ago
  5. 64c0592 Add a workflow to use ATR to announce a release by Sean B. Palmer · 2 days ago

asf-example

This package does not have official Apache Software Foundation (ASF) releases.

This is an example test package issued by Tooling at the ASF. It contains no stable user facing functionality. We do not make guarantees about any of the interfaces contained herein, nor the continued existence of this package.

The purpose of this package is to test:

  • Proposed package naming conventions and version schemes within ASF Infra and ASF Tooling
  • GHA workflows for trickle down use in other ASF Tooling projects
  • Interaction with the ATR platform presently under development by ASF Tooling

Proposed conventions

The proposed packaging conventions are:

  • Use the asf-* prefix scheme for PyPI package names to align with PEP 752
  • Use asf.* for package interfaces, utilising PEP 420 namespacing
  • Ensure that package code is in src/asf/*/ only
  • Ensure that src/asf/*/ contains an __init__.py
  • Use 0.0.N for versions, starting with 0.0.1
  • Increment N for each released version
  • Optionally use 0.0.(N+1)-devM for non-release main commits
  • Start with -dev1 if using non-release main commit versions

A package having three commits on main, then a release, then two more commits to main, then another release, will for example use the following versions if opting into -devM versions:

0.0.1-dev1
0.0.1-dev2
0.0.1-dev3
0.0.1
0.0.2-dev1
0.0.2-dev2
0.0.2

These packaging conventions are proposed only for ASF Infra and Tooling packages which will be published to PyPI. Other packages, for internal use, may use any packaging conventions. Aligning with these conventions, if adopted, would, however, make it easier to promote internal packages to PyPI.