summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog4
-rw-r--r--src/mozclient/seamonkey-2.0-remove.binonly.sh11
-rw-r--r--src/mozclient/seamonkey-2.0.conf12
3 files changed, 21 insertions, 6 deletions
diff --git a/debian/changelog b/debian/changelog
index 7cb9065..64a5cbe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,9 +19,11 @@ mozilla-devscripts (0.11) UNRELEASED; urgency=low
- update src/mozclient/mozclient.pl
- update src/mozclient/lib/MozClient/VCS.pm
- update debian/control
- - move thunderbird-3.0 from cvs to hg comm-central
+ - move thunderbird-3.0 and seamonkey-2.0 from cvs to hg comm-central
- update src/mozclient/thunderbird-3.0.conf
+ - update src/mozclient/seamonkey-2.0.conf
- add src/mozclient/thunderbird-3.0-remove.binonly.sh
+ - add src/mozclient/seamonkey-2.0-remove.binonly.sh
- add project midbrowser (LP: #210314)
- add src/mozclient/midbrowser.conf
- update README
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