Skip to content

How to gracefully deprecate remote repo? #310

@gershnik

Description

@gershnik

Consider the following scenario. There is a custom remote repository accessed via HTTP that multiple clients are pulling packages from. For one reason or another this repository needs to be removed and replaced by a completely different one with different location and signing keys.

Is there a way to notify clients about it, as they perform dnf upgrade, either via some HTTP level response or repository XML metadata?

Something like a warning message or an error saying "Hey the repository foo is going away please move to repository bar. More details at http://yadayada.com/migration".

As far as I can see from google searches and reading dnf, libdnf and librepo code there isn't a way to do that but perhaps I am not looking properly.

It's a pity if the only way to handle this situation is to turn off the original repo HTTP server and rely on clients to figure out how to deal with the error via some side channel.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFERequest For Enhancement (as opposed to a bug)TriagedSomeone on the DNF 5 team has read the issue and determined the next steps to take

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions