I asked on mailman-users and got no definative answer, and I have searched the mailman home page and everything it leads me to, but I can't find any place where the CVS is tarballed and ready to ftp.
Is there such a place?
Does anyone have any objection to my creating a CVS tarball on a daily basis and providing this service (assuming it is not already being done somewhere...)?
-- Phil Barnett mailto:midnight@the-oasis.net WWW http://www.the-oasis.net/ FTP Site ftp://ftp.the-oasis.net
"PB" == Phil Barnett <midnight@the-oasis.net> writes:
PB> I asked on mailman-users and got no definative answer, and I
PB> have searched the mailman home page and everything it leads me
PB> to, but I can't find any place where the CVS is tarballed and
PB> ready to ftp.
PB> Is there such a place?
PB> Does anyone have any objection to my creating a CVS tarball on
PB> a daily basis and providing this service (assuming it is not
PB> already being done somewhere...)?
Do you want to create a tarball of the working code, or the repository? If the latter, here's basically the cron script I run:
-------------------- snip snip -------------------- #! /bin/sh cd archives rooturl="http://cvs.sourceforge.net/cvstarballs" /usr/local/bin/wget $rooturl/mailman-cvsroot.tar.gz -------------------- snip snip --------------------
This would be a good thing to do, both as a service to the community, and as a backup should SF ever go away.
-Barry
On 22 Oct 2000, at 20:27, Barry A. Warsaw wrote:
"PB" == Phil Barnett <midnight@the-oasis.net> writes:
PB> I asked on mailman-users and got no definative answer, and I PB> have searched the mailman home page and everything it leads me PB> to, but I can't find any place where the CVS is tarballed and PB> ready to ftp. PB> Is there such a place? PB> Does anyone have any objection to my creating a CVS tarball on PB> a daily basis and providing this service (assuming it is not PB> already being done somewhere...)?
Do you want to create a tarball of the working code, or the repository? If the latter, here's basically the cron script I run:
-------------------- snip snip -------------------- #! /bin/sh cd archives rooturl="http://cvs.sourceforge.net/cvstarballs" /usr/local/bin/wget $rooturl/mailman-cvsroot.tar.gz -------------------- snip snip --------------------
Thanks, but I really wanted to go a step farther than that if I'm going to automate it.
So, here's the scoop...
Each Sunday morning at 2am, I completely remove my copy and grab a fresh copy of the entire CVS repository from SourceForge.
Every morning at 3am, I get a refresh. After each refresh, I create two files, one gzip and one bzip.
I keep both files for three days, so after we get rolling, there should always be 6 files in the directory.
You can reach these CVS files at:
ftp://ftp.linuxceptional.com/mailman
Today, there is:
ftp://ftp.linuxceptional.com/mailman/mailman-dev-001022.tar.gz ftp://ftp.linuxceptional.com/mailman/mailman-dev-001022.tar.bz2
You may include this location in your documentation. I'll leave it running for the foreseeable future.
Enjoy!
-- Phil Barnett mailto:midnight@the-oasis.net WWW http://www.the-oasis.net/ FTP Site ftp://ftp.the-oasis.net
"PB" == Phil Barnett <midnight@the-oasis.net> writes:
PB> Each Sunday morning at 2am, I completely remove my copy and
PB> grab a fresh copy of the entire CVS repository from
PB> SourceForge.
I don't have time at the moment to look at thise, but do you mean you do a fresh "cvs co" each time? That means you get the working files and not the repository (all the ,v files). The former is good for end users, the later is a safeguard for developers.
-Barry
On 23 Oct 2000, at 0:46, Barry A. Warsaw wrote:
"PB" == Phil Barnett <midnight@the-oasis.net> writes:
PB> Each Sunday morning at 2am, I completely remove my copy and PB> grab a fresh copy of the entire CVS repository from PB> SourceForge.
I don't have time at the moment to look at thise, but do you mean you do a fresh "cvs co" each time? That means you get the working files and not the repository (all the ,v files). The former is good for end users, the later is a safeguard for developers.
Not a copy of the repository, but a complete checkout.
Once a week:
#!/bin/bash
export
CVSROOT=:pserver:anonymous@cvs.mailman.sourceforge.net:/cvs
root/mailman
cd /usr/local/plesk/apache/vhosts/linuxceptional.com/current_cvs
rm -r -f mailman
cvs checkout -P mailman
Daily:
#!/bin/bash
export
CVSROOT=:pserver:anonymous@cvs.mailman.sourceforge.net:/cvs
root/mailman
if [ -d
/usr/local/plesk/apache/vhosts/linuxceptional.com/current_cvs/mail
man ]; then
cd
/usr/local/plesk/apache/vhosts/linuxceptional.com/current_cvs/mail
man
cvs update -A -P -d -R
# fix up the permissions
find . -type d | xargs chmod 755
find . -type f | xargs chmod 644
fi
cd /usr/local/plesk/apache/vhosts/linuxceptional.com/current_cvs
DATE=`date +%y%m%d`
PREVDATE=`date +%y%m%d --date '1 day ago'`
PREVDATE2=`date +%y%m%d --date '2 days ago'`
PREVDATE3=`date +%y%m%d --date '3 days ago'`
rm mailman-dev-$PREVDATE3.tar.gz
rm mailman-dev-$PREVDATE3.tar.bz2
tar --gzip -cpf mailman-dev-$DATE.tar.gz mailman
tar --bzip2 -cpf mailman-dev-$DATE.tar.bz2 mailman
rm -f ../ftp/mailman/mailman-dev*
cp -p mailman-dev* ../ftp/mailman
cd /usr/local/plesk/apache/vhosts/linuxceptional.com/ftp/mailman
chown -R linux.pleskcln *
chmod 644 *
-- Phil Barnett mailto:midnight@the-oasis.net WWW http://www.the-oasis.net/ FTP Site ftp://ftp.the-oasis.net
participants (2)
-
barry@wooz.org
-
Phil Barnett