Skip to content

prepare --how artifact --provide repository-file:<URL-to-repo-file> creates two repo files #5106

Description

@tcornell-bus

resulting in this sort of complaint from repoquery:

stderr: Repository brew-task-repo-<nvr>-scratch is listed more than once in the configuration
stderr: Repository brew-task-repo-<nvr>-scratch is listed more than once in the configuration

looks like RepositoryFileProvider.fetch_contents() downloads the repo file directly into /etc/yum.repos.d/ and then later in PrepareArtifact.go() the repo gets installed again via guest.package_manager.install_repository(repo).

I don't think it breaks anything; it just complains. Should likely be Low priority.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin | artifactRelated to the `prepare/artifact` plugin.

    Type

    Projects

    • Status
      backlog
    • Status
      triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions