Skip to content

Add deb packaging and integration tests to nfpm backend#21300

Merged
cognifloyd merged 209 commits intomainfrom
cognifloyd/nfpm-deb
Aug 14, 2024
Merged

Add deb packaging and integration tests to nfpm backend#21300
cognifloyd merged 209 commits intomainfrom
cognifloyd/nfpm-deb

Conversation

@cognifloyd
Copy link
Member

@cognifloyd cognifloyd commented Aug 13, 2024

This adds deb packaging to the nfpm backend introduced in #19308. It also adds the integration tests that require an nfpm_*_package target.

New target (and related fields):

  • nfpm_deb_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-deb branch from 299d2a8 to 89a366e Compare August 13, 2024 22:51
@cognifloyd cognifloyd force-pushed the cognifloyd/nfpm-deb branch from 89a366e to 7074fc4 Compare August 13, 2024 23:06
@cognifloyd cognifloyd force-pushed the cognifloyd/nfpm-deb branch from 7074fc4 to c68249b Compare August 14, 2024 01:08
@cognifloyd cognifloyd marked this pull request as ready for review August 14, 2024 01:25
@cognifloyd cognifloyd changed the title Add deb packaging to nfpm backend Add deb packaging and integration tests to nfpm backend Aug 14, 2024
@cognifloyd cognifloyd requested review from a team and tdyas August 14, 2024 01:31
@cognifloyd
Copy link
Member Author

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

@cognifloyd cognifloyd enabled auto-merge (squash) August 14, 2024 02:00
@cognifloyd cognifloyd merged commit ef4a0de into main Aug 14, 2024
@cognifloyd cognifloyd deleted the cognifloyd/nfpm-deb branch August 14, 2024 02:12
@cognifloyd cognifloyd restored the cognifloyd/nfpm-deb branch August 14, 2024 02:15
@cognifloyd cognifloyd deleted the cognifloyd/nfpm-deb branch August 14, 2024 02:15
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