summaryrefslogtreecommitdiff
path: root/src/mozclient
diff options
context:
space:
mode:
authorFabien Tassin <fta@ubuntu.com>2008-09-19 20:40:08 +0200
committerFabien Tassin <fta@ubuntu.com>2008-09-19 20:40:08 +0200
commit8b6053db45f3923f7072ffda57aafb546642ce6d (patch)
tree8eb3db5e472e3b5df48ad4c68df824315f396339 /src/mozclient
parente78e3ef2f7449fc9bc2e4cbb8ff83d6d7b346400 (diff)
* [mozclient] move thunderbird-3.0 from cvs to hg comm-central
- update src/mozclient/thunderbird-3.0.conf - add src/mozclient/thunderbird-3.0-remove.binonly.sh
Diffstat (limited to 'src/mozclient')
-rw-r--r--src/mozclient/thunderbird-3.0-remove.binonly.sh11
-rw-r--r--src/mozclient/thunderbird-3.0.conf11
2 files changed, 18 insertions, 4 deletions
diff --git a/src/mozclient/thunderbird-3.0-remove.binonly.sh b/src/mozclient/thunderbird-3.0-remove.binonly.sh
new file mode 100644
index 0000000..e8a0388
--- /dev/null
+++ b/src/mozclient/thunderbird-3.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/thunderbird-3.0.conf b/src/mozclient/thunderbird-3.0.conf
index 91c97a3..76fe6aa 100644
--- a/src/mozclient/thunderbird-3.0.conf
+++ b/src/mozclient/thunderbird-3.0.conf
@@ -16,10 +16,13 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
MOZCLIENT_APPNAME = thunderbird-3.0
-MOZCLIENT_PROJECT = mail
-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/mail/config/version.txt
MOZCLIENT_GETVERSION = tail -1 mozilla/mail/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=SeaMonkeyMailNews&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_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_EMBEDDED = 1
MOZCLIENT_WANTMOZDIR = 1
+MOZCLIENT_TAREXCLUDE = CVS .cvsignore