Skip to Content.
Sympa Menu

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

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 (a852318435c40b3bc90293529fde33a7b84f712f)
  • Date: Tue, 31 May 2011 22:49:35 -0500

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

libs/libixp/DOWNLOAD | 42 +++---------------------------------------
libs/libixp/HISTORY | 3 +++
2 files changed, 6 insertions(+), 39 deletions(-)

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

libixp: use hg_download

diff --git a/libs/libixp/DOWNLOAD b/libs/libixp/DOWNLOAD
index c163c82..c176f1e 100755
--- a/libs/libixp/DOWNLOAD
+++ b/libs/libixp/DOWNLOAD
@@ -1,44 +1,8 @@
#once the hg download handler hits stable sorcery this DOWNLOAD script would
#only need to be removed, SOURCE_URL is compatible with the planned hg
handler

-function my_url_hg_http_crack() {
-
- URL=$(url_strip_prefix "$1" hg_http)
- HG_ROOT=$(echo $URL | sed "s#\(^[^/]*[^:]*\):.*#\1#")
- HG_ROOT=http://$HG_ROOT
- local HG_DIRECTORY_TAG=$(echo $URL | sed "s#^[^/]*[^:]*\(.*\)#\1#")
- HG_DIRECTORY=$(echo $HG_DIRECTORY_TAG | cut -d : -f2)
- local HG_TAGNAME=$(echo $HG_DIRECTORY_TAG | cut -d : -f3)
- HG_TAG=${HG_TAGNAME:=default}
-
-}
if [[ $LIBIXP_HG != y ]]; then
- default_download &&
- return $?
-fi &&
-
-message "${MESSAGE_COLOR}Starting Mercurial checkout of" \
- "${FILE_COLOR}${SOURCE}${MESSAGE_COLOR}...${DEFAULT_COLOR}" &&
-my_url_hg_http_crack $SOURCE_URL &&
-if [[ -f $SOURCE_CACHE/$SOURCE ]]; then
- message "${MESSAGE_COLOR}Previous source found
unpacking...${DEFAULT_COLOR}" &&
- tar -jxf $SOURCE_CACHE/$SOURCE &&
- message "${MESSAGE_COLOR}Running hg pull...${DEFAULT_COLOR}" &&
- ( cd $HG_DIRECTORY &&
- echo hg pull $HG_ROOT &&
- hg pull $HG_ROOT &&
- echo hg update $HG_TAG &&
- hg update $HG_TAG )
+ default_download
else
- message "${MESSAGE_COLOR}Running hg clone...${DEFAULT_COLOR}"
- echo hg clone $HG_ROOT $HG_DIRECTORY
- hg clone $HG_ROOT $HG_DIRECTORY &&
- ( cd $HG_DIRECTORY &&
- echo hg update $HG_TAG &&
- hg update $HG_TAG )
-fi &&
-message "${MESSAGE_COLOR}Generating tarball...${DEFAULT_COLOR}" &&
-tar -jcf $SOURCE $HG_DIRECTORY &&
-cp $SOURCE $SOURCE_CACHE/$SOURCE &&
-rm $SOURCE &&
-message "${MESSAGE_COLOR}Mercurial checkout complete...${DEFAULT_COLOR}"
+ hg_download
+fi
diff --git a/libs/libixp/HISTORY b/libs/libixp/HISTORY
index 8f59af5..cf3d0e2 100644
--- a/libs/libixp/HISTORY
+++ b/libs/libixp/HISTORY
@@ -1,3 +1,6 @@
+2011-06-01 Ismael Luceno <ismael AT sourcemage.org>
+ * DOWNLOAD: use hg_download
+
2008-12-04 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* DOWNLOAD: use the better one from mutt
* DETAILS: fixed hg url



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

Archive powered by MHonArc 2.6.24.

Top of Page