Skip to content

Filter custom package metadata during sync and publish #1497

Description

@hstct

APT Packages files can contain custom fields that shouldn't always be synced or republished. For example Ubuntu's Phase-Update-Percentage.

The idea is to add excluded_package_metadata_fields parameters to remotes, repositories and publications as well as an global EXCLUDED_PACKAGE_METADATA_FIELDS setting.

Those fields are lists, so you can add multiple custom parameters here. The global and resource level values should be additive.

Filtering should:

  • apply only to custom package fields
  • match field names case-insensitively
  • leave standard fields unchanged
  • not affect verbatim publications

Metadata

Metadata

Assignees

No one assigned

    Labels

    .featureCHANGES/<issue_number>.feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions