Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upFedora template update: automatically reinstall custom user rpms #2477
Comments
rootkovska
added
enhancement
help wanted
UX
labels
Dec 3, 2016
rootkovska
added this to the Release 3.2 updates milestone
Dec 3, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
marmarek
Dec 4, 2016
Member
Interesting. But I was thinking about something totally different:
install additional packages using salt stack. This way, you can easily
redo the operation on any other template.
Also, I think if someone want to preserve as much as possible - can
simply upgrade the template in-place. If someone want to "refresh" the
template, probably want to review the list anyway (and not install no
longer used tools). So the above command IMHO should just go somewhere
into documentation.
BTW - slightly simplified command:
sudo dnf history userinstalled | sed -e 's/\(.*\)-.*-.*/\1/' | tail -n
+2
…--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
Interesting. But I was thinking about something totally different:
install additional packages using salt stack. This way, you can easily
redo the operation on any other template.
Also, I think if someone want to preserve as much as possible - can
simply upgrade the template in-place. If someone want to "refresh" the
template, probably want to review the list anyway (and not install no
longer used tools). So the above command IMHO should just go somewhere
into documentation.
BTW - slightly simplified command:
sudo dnf history userinstalled | sed -e 's/\(.*\)-.*-.*/\1/' | tail -n
+2
…--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
andrewdavidwong
added
the
C: Fedora
label
Apr 3, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rootkovska commentedDec 3, 2016
For users upgrading their original Fedora templates (which don't have any custom repos added), it's easy to retrieve and "play back" the list of all custom RPMs installed:
Of course the above doesn't take into account any non-RPM-packaged template modifications (e.g. custom /rw/config/), nor RPM packages from other-than default YUM repos.
Still, I think somehow aumating the above would be helpful for many users. It's not clear to me, however, UI-wise, how this automation should be done to be most useful and easy to use? I.e. who should offer to run these scripts?