Re: [CentOS] yum/dnf diff

2020-06-10 Thread Peter
On 6/06/20 7:34 am, Kenneth Porter wrote: That's quite handy! But not what I'm looking for. I'm trying to figure out what edits I made to my config files. Just mv those files that you changed (as shown by rpm -V packagename) and yum reinstall the package, then you can diff the original files

Re: [CentOS] yum/dnf diff

2020-06-10 Thread Kenneth Porter
--On Monday, June 08, 2020 5:00 PM +0100 Paddy Doyle wrote: It won't track /var/named/* though. I love etckeeper enough that I started keeping /var/named under git, as well. I do disable etckeeper's nightly commit as I don't want it combining unrelated changes into a single commit if I

Re: [CentOS] yum/dnf diff

2020-06-08 Thread Paddy Doyle
On Mon, Jun 08, 2020 at 04:00:31PM +0100, Paddy Doyle wrote: > Just to mention that 'etckeeper' from EPEL is a great way of tracking Ah, I see you mentioned you were using that already in the original post. Sorry for the noise. Paddy ___ CentOS

Re: [CentOS] yum/dnf diff

2020-06-08 Thread Paddy Doyle
On Fri, Jun 05, 2020 at 12:34:07PM -0700, Kenneth Porter wrote: > I'm trying to figure out > what edits I made to my config files. > > My most recent case was trying to figure out what I'd done to my BIND files > (/etc/named.*, /etc/logrotate.d/named, /var/named/*). I ended up just > tarring

Re: [CentOS] yum/dnf diff

2020-06-08 Thread Johnny Hughes
On 6/5/20 4:31 PM, Kenneth Porter wrote: > --On Friday, June 05, 2020 1:39 PM -0700 John Pierce > wrote: > >> don't most packages create a .rpmnew file if you've modified the previous >> package file ? > > That file is created AFTER you've made edits, and reflects only the > state of the file

Re: [CentOS] yum/dnf diff

2020-06-06 Thread Simon Matter via CentOS
> --On Friday, June 05, 2020 1:39 PM -0700 John Pierce > > wrote: > >> don't most packages create a .rpmnew file if you've modified the >> previous >> package file ? > > That file is created AFTER you've made edits, and reflects only the state > of the file in the latest package. So it's not

Re: [CentOS] yum/dnf diff

2020-06-06 Thread Leon Fauster via CentOS
Am 05.06.20 um 23:31 schrieb Kenneth Porter: --On Friday, June 05, 2020 1:39 PM -0700 John Pierce wrote: don't most packages create a .rpmnew file if you've modified the previous package file ? That file is created AFTER you've made edits, and reflects only the state of the file in the

Re: [CentOS] yum/dnf diff

2020-06-05 Thread Kenneth Porter
--On Friday, June 05, 2020 1:39 PM -0700 John Pierce wrote: don't most packages create a .rpmnew file if you've modified the previous package file ? That file is created AFTER you've made edits, and reflects only the state of the file in the latest package. So it's not clear what changed

Re: [CentOS] yum/dnf diff

2020-06-05 Thread John Pierce
On Fri, Jun 5, 2020 at 12:35 PM Kenneth Porter wrote: > On 6/5/2020 12:21 PM, Johnny Hughes wrote: > > if you click on the six digit number, for example, e52775 for the > > current latest "import 389-ds-base-1.3.10.1-9.el7_8". The result is > > every diff of every change for the rpm. > > That's

Re: [CentOS] yum/dnf diff

2020-06-05 Thread Kenneth Porter
On 6/5/2020 12:21 PM, Johnny Hughes wrote: if you click on the six digit number, for example, e52775 for the current latest "import 389-ds-base-1.3.10.1-9.el7_8". The result is every diff of every change for the rpm. That's quite handy! But not what I'm looking for. I'm trying to figure out

Re: [CentOS] yum/dnf diff

2020-06-05 Thread Johnny Hughes
On 6/5/20 2:21 PM, Johnny Hughes wrote: > On 6/5/20 11:55 AM, Kenneth Porter wrote: >> --On Friday, June 05, 2020 9:10 AM -0500 Johnny Hughes >> wrote: >> >>> These are two totally separate programs and projects. >> >> I'm not talking about diff'ing the yum and dnf programs. I'm talking >> about

Re: [CentOS] yum/dnf diff

2020-06-05 Thread Johnny Hughes
On 6/5/20 11:55 AM, Kenneth Porter wrote: > --On Friday, June 05, 2020 9:10 AM -0500 Johnny Hughes > wrote: > >> These are two totally separate programs and projects. > > I'm not talking about diff'ing the yum and dnf programs. I'm talking > about diffing the RPM packages that "rpm -V" reveals

Re: [CentOS] yum/dnf diff

2020-06-05 Thread Kenneth Porter
--On Friday, June 05, 2020 9:10 AM -0500 Johnny Hughes wrote: These are two totally separate programs and projects. I'm not talking about diff'ing the yum and dnf programs. I'm talking about diffing the RPM packages that "rpm -V" reveals as changed. Such a utility would download the

Re: [CentOS] yum/dnf diff

2020-06-05 Thread Johnny Hughes
On 6/1/20 7:25 PM, Kenneth Porter wrote: > I'm used to using "git diff" and "svn diff" to view changes in my > development system. Is there a similar thing that works with changes > between a repository package and the installed RPM? Ie. something that > shows the changes in /etc hinted at by "rpm

[CentOS] yum/dnf diff

2020-06-01 Thread Kenneth Porter
I'm used to using "git diff" and "svn diff" to view changes in my development system. Is there a similar thing that works with changes between a repository package and the installed RPM? Ie. something that shows the changes in /etc hinted at by "rpm -V". I'm already using etckeeper+git but