FS#7308 - .pacsave files could be saved by date

Attached to Project: Pacman
Opened by Carlos (archville) - Wednesday, 30 May 2007, 11:02 GMT
Last edited by Allan McRae (Allan) - Saturday, 04 August 2012, 03:12 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture All
Severity Low
Priority Normal
Reported Version 3.0.4
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Normally when pacman removes an application like Mysql, a file like:
"/etc/my.cnf.pacsave" is created with the current configuration for future use.
I think it would be usefull to be able to have them saved by the date they were created, so one can easily browse in the future his own configuration files and choose the one he needs:
/etc/my.cnf.pacsave(date)
Maybe this could be handled by a directive in /etc/pacman.conf general options section.


This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 04 August 2012, 03:12 GMT
Reason for closing:  None
Additional comments about closing:  Superseded by  FS#24192 
Comment by Dan McGee (toofishes) - Wednesday, 30 May 2007, 19:12 GMT
Interesting idea, although I'm not putting this near the top of my todo list. Patches always welcome.
Comment by Ronny Prinse (DeliQ) - Friday, 24 August 2007, 23:23 GMT
I don't know how stuff goes around here usually, but as I am liking this feature also, I am trying to implement it, to get a little affinity with the pacman code and to give something back to the community. As I am also busy with other stuff I don't really know if I can pull this of, but I give it a shot;) Now here is the deal, how would this date string look like? I would say something like YYYYMMDDHHSS, maybe seconds even?
Comment by Ronny Prinse (DeliQ) - Friday, 24 August 2007, 23:40 GMT
Uhmmm sorry what I meant was YYYYMMDDHHMM offcourse... Maybe we could also do this on .pacnew files? And I was thinking of a directive name in pacman.conf, maybe AddDateSuffix or something?
Comment by Allan McRae (Allan) - Saturday, 04 August 2012, 03:11 GMT
The current idea is to save with suffix .1, .2 etc. See  FS#24192 

Loading...