Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build dnf and libdnf with packit #2021

Open
7 of 13 tasks
inknos opened this issue Nov 21, 2023 · 4 comments
Open
7 of 13 tasks

Build dnf and libdnf with packit #2021

inknos opened this issue Nov 21, 2023 · 4 comments
Assignees

Comments

@inknos
Copy link
Contributor

inknos commented Nov 21, 2023

Let's consider using packit to build dnf/libdnf.

Actions that packit could takeover:

  • Build coprs in PRs
    • createrepo_c
    • dnf
    • dnf5
    • libdnf
  • Run the ci-stack using packit from the source repo of each project
    • createrepo_c
    • dnf
    • dnf5
    • libdnf
  • Run the tests from the ci-stack
  • Run propose_downsream jobs
  • Run bodhi updates

Build coprs in PRs:

  • Quick to implement, few lines of code

Run tests with tmt:

  • Quick to implement
  • Some tweaks might be necessary to run dnf/dnf5 tests (currently the tests are set just for dnf5)

Run propose_downsream jobs:

  • Tweaks in the specfile are necessary to have a nice changelog
  • There might be problems when dnf depends on other components. Manual intervention necessary

Run bodhi updates

  • Easy to implement
  • Depend on propose_downstream mostly
  • Have to be run manually when the previous step is also run manually
@inknos inknos added this to DNF team Nov 21, 2023
@github-project-automation github-project-automation bot moved this to Backlog in DNF team Nov 21, 2023
@inknos inknos self-assigned this Nov 29, 2023
@inknos inknos moved this from Backlog to In Progress in DNF team Nov 29, 2023
@inknos
Copy link
Contributor Author

inknos commented Nov 29, 2023

The first item, "Build coprs in PRs" is quick to address and will unblock the second part

#2023
rpm-software-management/libdnf#1636
rpm-software-management/createrepo_c#409

@inknos
Copy link
Contributor Author

inknos commented Nov 29, 2023

To run tests from ci-dnf-stack an approach like this should be taken and it will satisfy partially the step "Run tests with tmt and integrate with dnf5 recent changes in testing"
rpm-software-management/ci-dnf-stack#1415

@inknos
Copy link
Contributor Author

inknos commented Jan 4, 2024

The step "Run the ci-stack using packit from the source repo of each project" is covered in these PRs

#2034
rpm-software-management/createrepo_c#417
rpm-software-management/libdnf#1639

@inknos
Copy link
Contributor Author

inknos commented Jan 9, 2024

The step "Run the ci-stack using packit from the source repo of each project" requires a fix for the dnf4 stack

rpm-software-management/ci-dnf-stack#1435

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

1 participant