Skip to content
New issue

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

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

Already on GitHub? # to your account

RFE: migrate ~/.rpmmacros and ~/.rpmrc to ~/.config/rpm/ #3467

Open
pmatilai opened this issue Nov 25, 2024 · 0 comments
Open

RFE: migrate ~/.rpmmacros and ~/.rpmrc to ~/.config/rpm/ #3467

pmatilai opened this issue Nov 25, 2024 · 0 comments
Assignees
Labels
CLI Command-line interface RFE
Milestone

Comments

@pmatilai
Copy link
Member

Commit f24ca5e added support for rpm configuration in XDG ~/.config/rpm but left existing setups alone. Going forward we'll want to be able to rely on having a whole directory available for our purposes, so we should start migrating old setups to the new world order. Something like:

  • detect a legacy setup (non-symlink ~/.rpmmacros and/or ~/.rpmrc)
  • create ~/.config/rpm
  • move legacy paths there
  • for each legacy path moved, plant a symlink to the original location

Would be nice to do this automatically (accompanied with a warning message) but at the very least we should provide and suggest a script to run to let users easily migrate.

@pmatilai pmatilai added RFE CLI Command-line interface labels Nov 25, 2024
@pmatilai pmatilai added this to the 6.0.0 alpha milestone Nov 25, 2024
@pmatilai pmatilai added this to RPM Nov 25, 2024
@github-project-automation github-project-automation bot moved this to Backlog in RPM Nov 25, 2024
@ffesti ffesti self-assigned this Dec 4, 2024
@ffesti ffesti moved this from Backlog to In Progress in RPM Dec 4, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
CLI Command-line interface RFE
Projects
Status: In Progress
Development

No branches or pull requests

2 participants