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

Update projects which rely on searching for the specfile #168

Open
csomh opened this issue Dec 2, 2022 · 0 comments
Open

Update projects which rely on searching for the specfile #168

csomh opened this issue Dec 2, 2022 · 0 comments

Comments

@csomh
Copy link
Contributor

csomh commented Dec 2, 2022

Search for projects in the service database, which rely on Packit recursively searching for the specfile.

These are projects in which:

  • The package config (for exmple packit.yaml) doesn't define specfile_path, AND
  • The package config doesn't define downstream_package_name, AND
  • There is no <repo_name>.spec file in the root of the repository, AND
  • The jobs configured a build to happen (not all the jobs are test jobs with skip_build), AND
  • There is no specfile generated matching <repo_name>.spec when running packit srpm (it might not be necessary to script this check).

For projects not matching the above: recursively search for a specfile and open a PR proposing to update packit.yaml with the specfile_path config option set to the path found. Before opening the PR, make sure packit srpm works with this change. Explain that the reason for this change is that recursively searching for the specfile when building is going to be dropped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: backlog
Development

No branches or pull requests

1 participant