Joel Andres Granados wrote:
Hi list:

Been working on a general way to add directories and files to the pungi tree. This patch allows what I think is the best way to do it. It allows the user to add whatever directory or file to the tree by means of an additional configuration file :( something I did not want to do, but saw no other choice) and packages (the packages are the ones that contain the data). I tested the code for the inclusion of files and directories into the tree. All my tests were successful (the script added the files and directories that I specified). I also tried changing the location of the Release notes to a docs directory. The pungi modifications performed as expected but I had to change anaconda so it could read from the new tree.
The patches are attached (pungi's and anaconda's)

Comments greatly appreciated.
Regards

------------------------------------------------------------------------

--
Fedora-buildsys-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
Just realized that the diffRelNot was backwards, This will correct the mistake.
Regards.

--
Joel Andres Granados

--- /mnt/WP/temp/anaconda-11.2.0.66/iw/release_notes.py 2007-04-24 
22:51:00.000000000 +0200
+++ release_notes.py    2007-06-15 18:30:41.000000000 +0200
@@ -61,8 +61,9 @@
 
                for suffix in suffixList:
                        fn = "RELEASE-NOTES%s" % (suffix,)
+                       fn = os.path.join("docs/relnotes/",fn)
                        try:
-                               tmpfile = 
os.path.abspath(self.anaconda.dispatch.method.getFilename(fn, destdir="/tmp", 
retry=0))
+                               tmpfile = 
os.path.abspath(self.anaconda.dispatch.method.getFilename(fn))
                                if tmpfile is None:
                                        continue
 
--
Fedora-buildsys-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list

Reply via email to