summaryrefslogtreecommitdiff
path: root/src/mozclient
diff options
context:
space:
mode:
authorFabien Tassin <fta@ubuntu.com>2008-11-02 15:57:24 +0100
committerFabien Tassin <fta@ubuntu.com>2008-11-02 15:57:24 +0100
commit7d883e4b33253752c031c0053e4e199090abc36e (patch)
treea892a2345ffc09bbc5519d7752627e81dfd7ae81 /src/mozclient
parent9c72529fdf2063d5fa632266e3c21d752e107dd0 (diff)
* [mozclient] move seamonkey-2.0 from cvs to hg comm-central
- update src/mozclient/seamonkey-2.0.conf - add src/mozclient/seamonkey-2.0-remove.binonly.sh
Diffstat (limited to 'src/mozclient')
-rw-r--r--src/mozclient/seamonkey-2.0-remove.binonly.sh11
-rw-r--r--src/mozclient/seamonkey-2.0.conf12
2 files changed, 18 insertions, 5 deletions
diff --git a/src/mozclient/seamonkey-2.0-remove.binonly.sh b/src/mozclient/seamonkey-2.0-remove.binonly.sh
new file mode 100644
index 0000000..e8a0388
--- /dev/null
+++ b/src/mozclient/seamonkey-2.0-remove.binonly.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# We have a mozilla dir containing mozilla-central, so we must call the main
+# remove.binonly.sh in it
+SCRIPT=`echo $0 | sed -e 's,/[^/]*-\(remove.binonly.sh\),/\1,'`
+
+echo "\$ cd mozilla" >&2
+cd mozilla
+
+echo "\$ sh $SCRIPT" >&2
+sh $SCRIPT >> ../REMOVED+nobinonly.txt 2>&1
diff --git a/src/mozclient/seamonkey-2.0.conf b/src/mozclient/seamonkey-2.0.conf
index cb0c696..13388be 100644
--- a/src/mozclient/seamonkey-2.0.conf
+++ b/src/mozclient/seamonkey-2.0.conf
@@ -16,10 +16,12 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
MOZCLIENT_APPNAME = seamonkey-2.0
-MOZCLIENT_PROJECT = suite
-MOZCLIENT_VCS = cvs
-MOZCLIENT_VCS_LOC = :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot
+MOZCLIENT_PROJECT = comm-central
+MOZCLIENT_VCS = hg
+MOZCLIENT_VCS_LOC = http://hg.mozilla.org/
+MOZCLIENT_POSTCOCMD = cd mozilla && python client.py checkout
MOZCLIENT_FILE = mozilla/suite/config/version.txt
MOZCLIENT_GETVERSION = tail -1 mozilla/suite/config/version.txt | sed -e 's/pre//; s/\([ab]\)\([0-9]*\)/~\1\2/'
-MOZCLIENT_GETDATE = wget -O - -q --read-timeout=10 --user-agent='' --tries=3 'http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=SeaMonkeyBrowser&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=week&mindate=&maxdate=&cvsroot=%2Fcvsroot' 2> /dev/null | grep "href='http://webtools" | head -1 | tr '<>' '@' | cut -d@ -f5 | tr -d ':-' | sed -e 's/&nbsp;/t/'
-MOZCLIENT_WANTMOZDIR = 0
+MOZCLIENT_GETDATE = wget -O - -q --read-timeout=10 --user-agent='' --tries=3 http://hg.mozilla.org/index.cgi/comm-central/log 2> /dev/null | grep cite | head -1 | sed -e 's,.*</cite>,,' | perl -e '$m = { "Jan" => 1, "Feb" => 2, "Mar" => 3, "Apr" => 4, "May" => 5, "Jun" => 6, "Jul" => 7, "Aug" => 8, "Sep" => 9, "Oct" => 10, "Nov" => 11, "Dec" => 12 } ; $a = <>; $a =~ m/^ - \S+,\s+(\d+) (\S+) (\d+) \S+ \S+ - rev (\d+)/ && do { printf "%04d%02d%02dr%d\n", $3, $$m{$2}, $1, $4 }; '
+MOZCLIENT_WANTMOZDIR = 1
+MOZCLIENT_TAREXCLUDE = CVS .cvsignore