Skip to content

Don't exclude CI files by default from source-release archives #134

Open

Description

@kwin

New feature, improvement proposal

Currently lots of CI related files are excluded by default:

<!-- CI -->
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.github(/.*)?]</exclude>
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.Jenkinsfile]</exclude>
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.asf\.yaml]</exclude>
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.travis\.yml]</exclude>
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?deploySite\.sh]</exclude>

I would argue that those are valuable to leave inside source release archives.
Particularly the .asf.yaml should not be excluded as this maintains crucial metadata about the project.

Activity

  1. added
    enhancement
    on Oct 15, 2026
  2. kwin commented on Oct 15, 2026

    @kwin
    MemberAuthor

    Originally they were excluded by https://issues.apache.org/jira/browse/MASFRES-30 (#36). However I think those files are IP of the project. Although most probably not necessary to consider while reproducing the build locally I consider the use case of a source archive broader than that. It should allow to review all files being created in the context of an ASF project.

    The description at https://www.apache.org/legal/release-policy.html#source-packages is rather fuzzy though:

    Every ASF release MUST contain one or more source packages, which MUST be sufficient for a user to build and test the release provided they have access to the appropriate platform and tools. A source release SHOULD not contain compiled code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions