Hello Paul, Basically, apkg.mergefile gives you a "pre-merged" diff between 2 files, i.e. an hybrid format between the full file and a diff -u (to allow easy edition) apkg.merge let one choose between one version of a file or the other or edit the "pre-merged" version of both apkg -u uses apkg.merge for every file which have changed between old distrib .lrp and new distrib .lrp and also between old distrib .lrp and running config it is really an upgrade utility only and won't be useful in your case
your suggestions are really interesting and could be implemented in a way similar to apkg -u I will take a look Regards, Cedric 2006/9/8, Paul Traina < [EMAIL PROTECTED]>: > > I'm going to try to pound out something to do this, unless someone > tells me that there's already a better way of doing it. I don't quite > understand apkg.merge yet so I'm still scratching my head on how to do > it most efficiently. > > I would like some functionality that would generate a diff -u file of: > > 1) The current running configuration vs. the current saved configuration > in configdb. > > "What changes am I about to make before I save the configuration?" > > 2) The current saved configuration vs. the distribution .lrp > configuration. > > "What makes this router special?" > > I realize that configdb carries all changed files, but I want to know > what config changed, not just which files changed. That way I can > keep archives of config changes of all of my machines on a central host > > and quickly see if someone did something stupid to the network. > > Is anyone (hopefully) already working on adding that functionality to > apkg? > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > leaf-devel mailing list > leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel