AW: AW: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/op tion al Rpm.java

2005-02-09 Thread Jan . Materne
 Or we really could rpm something up, then exec something to 
 look at it

Mmmh, what can the RPM do?
1) add files (e.g. the program files)
2) modify files (e.g. config files)
3) environemt settings (or is that 2?)

So the scenario would be:
- create the rpm
- compare these modifications
  1) checked against the content of a (unzipped) zip file
  2) check if our settings are inserted
  3) dito
- clean
  problem: have to backup the files for 2) before and hope that
  no files else were modified. Or is there a possibility on *nix to
  undo an installation?


Jan


Re: AW: AW: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/op tion al Rpm.java

2005-02-09 Thread Steve Loughran
[EMAIL PROTECTED] wrote:
Or we really could rpm something up, then exec something to 
look at it

Mmmh, what can the RPM do?
1) add files (e.g. the program files)
2) modify files (e.g. config files)
3) environemt settings (or is that 2?)
So the scenario would be:
- create the rpm
- compare these modifications
  1) checked against the content of a (unzipped) zip file
  2) check if our settings are inserted
  3) dito
- clean
  problem: have to backup the files for 2) before and hope that
  no files else were modified. Or is there a possibility on *nix to
  undo an installation?
Jan
We cant actually install an RPM; you need to be root. But there are some 
rpm commands to list the contents of a repository; we could parse the 
output and look for strings.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]