[SCM] eclipse-mylyn - Plug-in for eclipse - Debian package. branch, master, updated. upstream/3.6.4+fix1-39-g0610bb8

Jakub Adam jakub.adam at ktknet.cz
Fri Feb 17 19:46:07 UTC 2012


The following commit has been merged in the master branch:
commit 0610bb8486df07d505e0d857a0884579f020c96d
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Fri Feb 17 20:07:35 2012 +0100

    Updated d/get-orig-source

diff --git a/debian/get-orig-source b/debian/get-orig-source
index c9aa539..de257f2 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -2,82 +2,54 @@
 set -e
 
 NAME=eclipse-mylyn
-VERSION=3.2.1
+VERSION=3.6.4
+
+MYLYN_GIT_WEB=http://git.eclipse.org/c/mylyn/
+
+MYLYN_MODULES="org.eclipse.mylyn
+org.eclipse.mylyn.builds
+org.eclipse.mylyn.commons
+org.eclipse.mylyn.context
+org.eclipse.mylyn.docs
+org.eclipse.mylyn.reviews
+org.eclipse.mylyn.tasks
+org.eclipse.mylyn.versions"
 
 rm -rf ${NAME}-${VERSION}
 
-for f in \
-org.eclipse.mylyn \
-org.eclipse.mylyn.bugzilla.core \
-org.eclipse.mylyn.bugzilla-feature \
-org.eclipse.mylyn.bugzilla.ide \
-org.eclipse.mylyn.bugzilla.tests \
-org.eclipse.mylyn.bugzilla.ui \
-org.eclipse.mylyn.commons.core \
-org.eclipse.mylyn.commons.net \
-org.eclipse.mylyn.commons.ui \
-org.eclipse.mylyn.compatibility \
-org.eclipse.mylyn.context.core \
-org.eclipse.mylyn.context-feature \
-org.eclipse.mylyn.context.tests \
-org.eclipse.mylyn.context.ui \
-org.eclipse.mylyn.discovery.core \
-org.eclipse.mylyn.discovery.ui \
-org.eclipse.mylyn-feature \
-org.eclipse.mylyn.help.ui \
-org.eclipse.mylyn.ide.ant \
-org.eclipse.mylyn.ide-feature \
-org.eclipse.mylyn.ide.tests \
-org.eclipse.mylyn.ide.ui \
-org.eclipse.mylyn.java-feature \
-org.eclipse.mylyn.java.tasks \
-org.eclipse.mylyn.java.tests \
-org.eclipse.mylyn.java.ui \
-org.eclipse.mylyn.monitor.core \
-org.eclipse.mylyn.monitor-feature \
-org.eclipse.mylyn.monitor.tests \
-org.eclipse.mylyn.monitor.ui \
-org.eclipse.mylyn.monitor.usage \
-org.eclipse.mylyn.pde-feature \
-org.eclipse.mylyn.pde.ui \
-org.eclipse.mylyn.resources.tests \
-org.eclipse.mylyn.resources.ui \
-org.eclipse.mylyn.tasks.bugs \
-org.eclipse.mylyn.tasks.core \
-org.eclipse.mylyn.tasks.tests \
-org.eclipse.mylyn.tasks.ui \
-org.eclipse.mylyn.team.cvs \
-org.eclipse.mylyn.team-feature \
-org.eclipse.mylyn.team.tests \
-org.eclipse.mylyn.team.ui \
-org.eclipse.mylyn.tests \
-org.eclipse.mylyn.trac.core \
-org.eclipse.mylyn.trac-feature \
-org.eclipse.mylyn.trac.tests \
-org.eclipse.mylyn.trac.ui \
-org.eclipse.mylyn.web.tasks-feature \
-org.eclipse.mylyn.web.tasks \
-org.eclipse.mylyn.wikitext-feature \
-org.eclipse.mylyn.wikitext.confluence.core \
-org.eclipse.mylyn.wikitext.confluence.ui \
-org.eclipse.mylyn.wikitext.core \
-org.eclipse.mylyn.wikitext.help.ui \
-org.eclipse.mylyn.wikitext.mediawiki.core \
-org.eclipse.mylyn.wikitext.mediawiki.ui \
-org.eclipse.mylyn.wikitext.tasks.ui \
-org.eclipse.mylyn.wikitext.tests \
-org.eclipse.mylyn.wikitext.textile.core \
-org.eclipse.mylyn.wikitext.textile.ui \
-org.eclipse.mylyn.wikitext.tracwiki.core \
-org.eclipse.mylyn.wikitext.tracwiki.ui \
-org.eclipse.mylyn.wikitext.twiki.core \
-org.eclipse.mylyn.wikitext.twiki.ui \
-org.eclipse.mylyn.wikitext.ui \
-; do
-cvs -d :pserver:anonymous at dev.eclipse.org:/cvsroot/tools \
-export -r R_3_2_1 $NAME-$VERSION/$f;
+VERSION_UNDERSCORE=$(echo $VERSION | sed "s/\./_/g")
+
+downloadSnapshot() {
+	echo "down"
+	MODULE_NAME=$1
+
+	MODULE_DIR=$MODULE_NAME-R_$VERSION_UNDERSCORE
+	TARBALL=$MODULE_DIR.tar.bz2
+	wget "$MYLYN_GIT_WEB/$1.git/snapshot/$TARBALL"
+	tar xf $TARBALL
+	rm -f $TARBALL
+	mv $MODULE_DIR $MODULE_NAME
+}
+
+downloadSnapshot org.eclipse.mylyn.all
+cd org.eclipse.mylyn.all
+rm *.sh
+rm .gitmodules
+rm .gitignore
+
+for MODULE in $MYLYN_MODULES; do
+	rmdir $MODULE
+	downloadSnapshot $MODULE
 done
 
+find -type f -name .gitignore -delete
+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 ..
+
+mv org.eclipse.mylyn.all $NAME-$VERSION
+
 echo "Creating tarball '${NAME}_$VERSION.orig.tar.gz'..."
 tar -czf ../${NAME}_$VERSION.orig.tar.gz $NAME-$VERSION
 

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



More information about the pkg-java-commits mailing list