Re: Re: dist_plone script in cvs
Simon Eisenmann <simon-4x/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.installers |
|---|---|
| Organization | strukturAG |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ok guys, the dist_plone.py is now able to create tarballs. A. default mode is just to download stuff. ~ "python2.3 dist_plone.py" B. build plone core tarball ~ "python2.3 dist_plone.py --build --core" C. build plone tarball ~ "python2.3 dist_plone.py --build" Any of these also take a --dest parameter which can be used to specify the location where to put the result files. Another parameter --target can be used to specify the platform (from platforms subdirectory) which is used. It defaults to independent which shall be used to build the plone standard source distributions. More platform files can be added now to add the required stuff in addition to the stuff from independent. If a target other than independent is choosen it is also added to the filename of the tarball. Let me bring up an additional thing i just noticed .. lots of the tarballs the script gets are rather bad releases. They contain lots of temporary files, wrong file permissions and user/group informations. This shouldnt be like that but it is unfortunately. So .. to solve this dilemma i propose the following to be done in the dist_plone.py script: ~ 1. remove all "CVS" folders ~ 2. remove all "SVN" folders ~ 3. remove all refresh.txt files ~ 4. remove all .cvsignore files ~ 5. remove all .#* files ~ 6. chmod 755 on all folders ~ 7. chmod 644 on all files The problem is that doing this will _break_ at least windows compatibility, so it will only be enabled on posix. That means that the script _has_ to be used on posix to create the official plone tarballs. Thoughts? - -- Simon -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAWOmQcKXkdvrBGTARAn+vAKCOwSmYMP4rgOa8Cqozy92USjtY5gCeJSEi BhAv3msGrL11MoHbQpfAGcI= =ol3E -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click