Skip to content

Add rpm packaging to nfpm backend#21297

Merged
cognifloyd merged 211 commits intomainfrom
cognifloyd/nfpm-rpm
Aug 14, 2024
Merged

Add rpm packaging to nfpm backend#21297
cognifloyd merged 211 commits intomainfrom
cognifloyd/nfpm-rpm

Conversation

@cognifloyd
Copy link
Member

@cognifloyd cognifloyd commented Aug 13, 2024

This adds rpm packaging to the nfpm backend introduced in #19308 (which must be merged first). #21300 must also be merged first.

New target (and related fields):

  • nfpm_rpm_package

Also, add type hints for some of the field.alias properties
because mypy was getting confused.
This is needed for the field_set calculations
A common field that all nfpm packages will share,
making it easier to build a common FieldSet base.
Almost all fields are "required" in that, if present, they are
used in the generation of the package.

Users do not have to supply them, but the fields have to exist
on the Nfpm*Package targets.
@cognifloyd cognifloyd force-pushed the cognifloyd/nfpm-rpm branch from 6811598 to dc0698f Compare August 13, 2024 23:11
@cognifloyd cognifloyd force-pushed the cognifloyd/nfpm-rpm branch from dc0698f to f445cf8 Compare August 14, 2024 02:33
@cognifloyd cognifloyd marked this pull request as ready for review August 14, 2024 02:34
@cognifloyd cognifloyd requested review from a team and tdyas August 14, 2024 02:35
@cognifloyd
Copy link
Member Author

After this PR is merged, these will each add another packager:

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants