Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (6befb0f9868430054a6a69ad107225783a35a091)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (6befb0f9868430054a6a69ad107225783a35a091)
  • Date: Tue, 31 May 2011 22:33:50 -0500

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

python-pypi/pymsnt/DOWNLOAD | 65
+-------------------------------------------
python-pypi/pymsnt/HISTORY | 3 ++
2 files changed, 5 insertions(+), 63 deletions(-)

New commits:
commit 6befb0f9868430054a6a69ad107225783a35a091
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

pymsnt: use hg_download

diff --git a/python-pypi/pymsnt/DOWNLOAD b/python-pypi/pymsnt/DOWNLOAD
index ce3191a..89c3683 100755
--- a/python-pypi/pymsnt/DOWNLOAD
+++ b/python-pypi/pymsnt/DOWNLOAD
@@ -1,66 +1,5 @@
-set +x
-function url_hg_crack() {
-
- URL=$(url_strip_prefix "$1" hg_http)
- HG_ROOT=$(echo $URL | sed "s#\(^[^/]*[^:]*\):.*#\1#")
- local HG_MODULE_TAG=$(echo $URL | sed "s#^[^/]*[^:]*\(.*\)#\1#")
- HG_MODULE=$(echo $HG_MODULE_TAG | cut -d : -f2)
- local HG_TAGNAME=$(echo $HG_MODULE_TAG | cut -d : -f3)
- HG_TAG=${HG_TAGNAME:-tip}
-
-}
-
if [[ $PYMSNT_SCM == y ]]; then
-url_hg_crack ${SOURCE_URL}
-message "${MESSAGE_COLOR}Starting Mercurial checkout of" \
- "${FILE_COLOR}${SOURCE}${MESSAGE_COLOR}...${DEFAULT_COLOR}" &&
-if [[ -f $SOURCE_CACHE/${SOURCE} ]]
-then
- message "${MESSAGE_COLOR}Previous source found
unpacking...${DEFAULT_COLOR}" &&
- tar -jxf $SOURCE_CACHE/${SOURCE} &&
- cd ${HG_MODULE} &&
- message "${MESSAGE_COLOR}Running Mercurial update...${DEFAULT_COLOR}" &&
- hg pull -u -r ${HG_TAG}
- cd ..
- message "${MESSAGE_COLOR}Done...${DEFAULT_COLOR}"
+ hg_download
else
- message "${MESSAGE_COLOR}Running initial Mercurial
clone...${DEFAULT_COLOR}" &&
- hg clone -r${HG_TAG} "http://${HG_ROOT}"; ${HG_MODULE}
- message "${MESSAGE_COLOR}Done...${DEFAULT_COLOR}"
-fi &&
-message "${MESSAGE_COLOR}Generating tarball...${DEFAULT_COLOR}" &&
-tar -jcf \
- ${SOURCE} \
- ${HG_MODULE} &&
-cp ${SOURCE} ${SOURCE_CACHE}/${SOURCE} &&
-rm ${SOURCE} &&
-message "${MESSAGE_COLOR}Mercurial checkout complete...${DEFAULT_COLOR}" &&
-# cleaning for the next one
-unset URL HG_ROOT HG_MODULE HG_TAG &&
-url_hg_crack ${SOURCE2_URL} &&
-message "${MESSAGE_COLOR}Starting Mercurial checkout of" \
- "${FILE_COLOR}${SOURCE2}${MESSAGE_COLOR}...${DEFAULT_COLOR}" &&
-if [[ -f $SOURCE_CACHE/${SOURCE2} ]]
-then
- message "${MESSAGE_COLOR}Previous source found
unpacking...${DEFAULT_COLOR}" &&
- tar -jxf $SOURCE_CACHE/${SOURCE2} &&
- cd ${HG_MODULE} &&
- message "${MESSAGE_COLOR}Running Mercurial update...${DEFAULT_COLOR}" &&
- hg pull -u -r ${HG_TAG}
- cd ..
- message "${MESSAGE_COLOR}Done...${DEFAULT_COLOR}"
-else
- message "${MESSAGE_COLOR}Running initial Mercurial
clone...${DEFAULT_COLOR}" &&
- hg clone -r${HG_TAG} "http://${HG_ROOT}"; ${HG_MODULE}
- message "${MESSAGE_COLOR}Done...${DEFAULT_COLOR}"
-fi &&
-message "${MESSAGE_COLOR}Generating tarball...${DEFAULT_COLOR}" &&
-tar -jcf \
- ${SOURCE2} \
- ${HG_MODULE} &&
-cp ${SOURCE2} ${SOURCE_CACHE}/${SOURCE2} &&
-rm ${SOURCE2} &&
-message "${MESSAGE_COLOR}Mercurial checkout complete...${DEFAULT_COLOR}"
-else
- acquire_src ''
+ default_download
fi
diff --git a/python-pypi/pymsnt/HISTORY b/python-pypi/pymsnt/HISTORY
index 2e29a77..2504fbc 100644
--- a/python-pypi/pymsnt/HISTORY
+++ b/python-pypi/pymsnt/HISTORY
@@ -1,3 +1,6 @@
+2011-06-01 Ismael Luceno <ismael AT sourcemage.org>
+ * DOWNLOAD: use hg_download
+
2009-01-03 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
* PRE_BUILD: added for SCM version
* DETAILS: SCM version



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (6befb0f9868430054a6a69ad107225783a35a091), Ismael Luceno, 05/31/2011

Archive powered by MHonArc 2.6.24.

Top of Page