Skip to content

Update projects which rely on searching for the specfile #168

@csomh

Description

@csomh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions