[SCM] eclipse-mylyn - Plug-in for eclipse - Debian package. branch, master, updated. upstream/3.6.5+dfsg1-54-g4b34bff

Jakub Adam jakub.adam at ktknet.cz
Wed Mar 7 18:23:50 UTC 2012


The following commit has been merged in the master branch:
commit 253018fb774c6d97360c83db623f6628dd4786f4
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Wed Mar 7 17:05:24 2012 +0100

    d/get-orig-source: Leave changed *.zip archives uncompressed

diff --git a/debian/README.Debian-source b/debian/README.Debian-source
index 6406f96..c53040a 100644
--- a/debian/README.Debian-source
+++ b/debian/README.Debian-source
@@ -4,6 +4,8 @@ These zip archives were affected:
  ./org.eclipse.mylyn.context/org.eclipse.mylyn.context.tests/testdata/projects/project1.zip
  ./org.eclipse.mylyn.context/org.eclipse.mylyn.context.tests/testdata/projects/project2.zip
 
-Zips contain Eclipse projects, if you want to run the tests in org.eclipse.mylyn.context.tests,
-the archives should be unpacked, projects recompiled and compressed again. Directory structure
-of *.class files should be located in bin/ folder inside the archive.
+Contents of these archives are stored uncompressed in directories project1 and project2
+respectively. If you want to run the tests in org.eclipse.mylyn.context.tests, each project
+should be recompiled and compressed with zip to restore the original archive. Directory
+structure of *.class files should be located in bin/ folder inside the archive and the
+directory containing bin/ and src/ should be the root of the zip directory tree.
diff --git a/debian/get-orig-source b/debian/get-orig-source
index 392b06d..feb1fa8 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -47,7 +47,16 @@ rm -f org.eclipse.mylyn.builds/org.eclipse.mylyn.hudson.tests/testdata/org.eclip
 rm -rf org.eclipse.mylyn.commons/org.eclipse.mylyn.discovery.ui/lib-e3.*
 rm -rf org.eclipse.mylyn.docs/org.eclipse.mylyn.htmltext/ckeditor
 
-cd ..
+# Remove precompiled classes and CVS data from test archives, keep them uncompressed
+# for easier handling in version control.
+cd org.eclipse.mylyn.context/org.eclipse.mylyn.context.tests/testdata/projects
+mkdir project1 project2
+unzip project1.zip -d project1
+unzip project2.zip -d project2
+rm -rf project1/bin project2/bin project1.zip project2.zip
+find -type d -name CVS | xargs rm -r
+find -type f -name .cvsignore -delete
+cd ../../../../..
 
 mv org.eclipse.mylyn.all $NAME-$VERSION
 

-- 
eclipse-mylyn - Plug-in for eclipse - Debian package.



More information about the pkg-java-commits mailing list