Skip to Content.
Sympa Menu

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

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 (2ebe798d57a967890328562f2dfecc1e8f4713f3)
  • Date: Wed, 1 Jun 2011 00:10:56 -0500

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

audio-drivers/oss/DOWNLOAD | 37 ++-----------------------------------
audio-drivers/oss/HISTORY | 3 +++
e-17/enna/DOWNLOAD | 43
+++----------------------------------------
e-17/enna/HISTORY | 3 +++
http/surf/DOWNLOAD | 43
+++----------------------------------------
http/surf/HISTORY | 3 +++
windowmanagers/wmii/DOWNLOAD | 42
+++---------------------------------------
windowmanagers/wmii/HISTORY | 3 +++
8 files changed, 23 insertions(+), 154 deletions(-)

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

enna: use hg_download

commit 1cb17f0765602b1f3c042e75ee75682fd6cd3844
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

surf: use hg_download

commit 9683d2f17850952976ca89bb7b78e2b070f0a655
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

wmii: use hg_download

commit 59747676cb89f6da95e14314d7873703d124b5d4
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

oss: use hg_download

diff --git a/audio-drivers/oss/DOWNLOAD b/audio-drivers/oss/DOWNLOAD
index fb763f9..3f3d3c6 100755
--- a/audio-drivers/oss/DOWNLOAD
+++ b/audio-drivers/oss/DOWNLOAD
@@ -1,38 +1,5 @@
-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 [[ $OSS_BRANCH == scm ]]; 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}"
-else
- acquire_src ''
+ default_download
fi
diff --git a/audio-drivers/oss/HISTORY b/audio-drivers/oss/HISTORY
index 08c0768..fb9b7f7 100644
--- a/audio-drivers/oss/HISTORY
+++ b/audio-drivers/oss/HISTORY
@@ -1,3 +1,6 @@
+2011-06-01 Ismael Luceno <ismael AT sourcemage.org>
+ * DOWNLOAD: use hg_download
+
2010-04-07 Andraž "ruskie" Levstik <ruskie+f03a580f AT codemages.net>
* DETAILS: updated stable to 4.2 build 2002
scm is 4.3 now
diff --git a/e-17/enna/DOWNLOAD b/e-17/enna/DOWNLOAD
index 2141846..24a9860 100755
--- a/e-17/enna/DOWNLOAD
+++ b/e-17/enna/DOWNLOAD
@@ -1,45 +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 [[ "${VERSION}" != "mercurial" && "${VERSION}" != "$(date +%Y%m%d)" ]];
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/e-17/enna/HISTORY b/e-17/enna/HISTORY
index 31c3dd1..47f3643 100644
--- a/e-17/enna/HISTORY
+++ b/e-17/enna/HISTORY
@@ -1,3 +1,6 @@
+2011-06-01 Ismael Luceno <ismael AT sourcemage.org>
+ * DOWNLOAD: use hg_download
+
2010-03-03 Philippe "Puppet_Master" Caseiro <puppetmaster AT sourcemage.com>
* DEPENDS: Updating dependencies
Removed dependency on SVN
diff --git a/http/surf/DOWNLOAD b/http/surf/DOWNLOAD
index c6c5535..3e723f3 100755
--- a/http/surf/DOWNLOAD
+++ b/http/surf/DOWNLOAD
@@ -1,45 +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 [[ "${VERSION}" != "scm" && "${VERSION}" != "$(date +%Y%m%d)" ]]; 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/http/surf/HISTORY b/http/surf/HISTORY
index a636ad8..f500c22 100644
--- a/http/surf/HISTORY
+++ b/http/surf/HISTORY
@@ -1,3 +1,6 @@
+2011-06-01 Ismael Luceno <ismael AT sourcemage.org>
+ * DOWNLOAD: use hg_download
+
2010-07-15 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 0.4.1

diff --git a/windowmanagers/wmii/DOWNLOAD b/windowmanagers/wmii/DOWNLOAD
index 4fce9e7..8f67500 100755
--- a/windowmanagers/wmii/DOWNLOAD
+++ b/windowmanagers/wmii/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 [[ $WMII_RELEASE != "SCM version" ]]; 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/windowmanagers/wmii/HISTORY b/windowmanagers/wmii/HISTORY
index 17dd2b0..7fba733 100644
--- a/windowmanagers/wmii/HISTORY
+++ b/windowmanagers/wmii/HISTORY
@@ -1,3 +1,6 @@
+2011-06-01 Ismael Luceno <ismael AT sourcemage.org>
+ * DOWNLOAD: use hg_download
+
2011-05-20 Sukneet Basuta <sukneet AT sourcemage.org>
* DETAILS: fixed checking for SCM version




  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (2ebe798d57a967890328562f2dfecc1e8f4713f3), Ismael Luceno, 06/01/2011

Archive powered by MHonArc 2.6.24.

Top of Page