Instead of removing the .svn dirs/files with a script, use the built in 'svn export' which exports the checkout without all the .svn dirs/files.
http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.export.html Gav... > -----Original Message----- > From: Patricia Shanahan [mailto:p...@acm.org] > Sent: Friday, September 30, 2016 11:28 PM > To: dev@openoffice.apache.org > Subject: Re: Which source files in release? > > I just saw the bug report > https://bz.apache.org/ooo/show_bug.cgi?id=126605, "Make sure the source > package does not contain extra files" > > Since our build instructions and processes are based on the result of an svn > checkout, basing the source package on one seemed obvious to me. The > only change that seems to me to be absolutely required is removing the .svn > directories, and that is a one-liner: > > find . -type d -name '.svn' -exec rm -fr '{}' ';' > > Removing other dot files is a refinement, but I think even without that I am > closer to what should be packaged than working from the result of a > configure. > > On 9/30/2016 5:53 AM, Patricia Shanahan wrote: > > I am trying to select the files that should go in the zip and tar > > files for the source release for 4.1.3. > > > > I did a clean checkout of the 4.1.3 branch, and then deleted the .svn > > directories that I know do not belong in the source release. > > > > The 4.1.2 release includes the following dot files: > > > > ./aoo-4.1.2/main/extras/unx/source/kde/applnk/.directory > > ./aoo-4.1.2/main/vos/docu/.html > > > > The 4.1.3 tree contains those, and the following additional dot files: > > > > ./AOO413/main/.hgignore > > ./AOO413/main/.hgtags > > ./AOO413/test/testassistant/.classpath > > ./AOO413/test/testassistant/.project > > ./AOO413/test/testassistant/.settings > > ./AOO413/test/testassistant.feature/.project > > ./AOO413/test/testcommon/.classpath > > ./AOO413/test/testcommon/.project > > ./AOO413/test/testgui/.classpath > > ./AOO413/test/testgui/.project > > ./AOO413/test/testgui/.settings > > ./AOO413/test/testuno/.classpath_linux > > ./AOO413/test/testuno/.classpath_win > > ./AOO413/test/testuno/.externalToolBuilders > > ./AOO413/test/testuno/.project > > > > The .project and .classpath files may be to do with making it easier > > to set up and run the tests under Eclipse. > > > > Opinions? > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > > For additional commands, e-mail: dev-h...@openoffice.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2016.0.7797 / Virus Database: 4664/13120 - Release Date: 09/30/16 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org