From: Pavel Machek <pavel@suse.cz>
To: Larry McVoy <lm@work.bitmover.com>, Nicolas Pitre <nico@cam.org>,
Larry McVoy <lm@bitmover.com>,
lkml <linux-kernel@vger.kernel.org>
Subject: bk2cvs [was Re: openbkweb-0.0]
Date: Sun, 16 Feb 2003 23:56:37 +0100 [thread overview]
Message-ID: <20030216225637.GE2546@elf.ucw.cz> (raw)
In-Reply-To: <20030215181211.GA12315@work.bitmover.com>
Hi!
> All of this sounds great and is exactly what is already the plan.
> There is one missing item. A consensus in the community that if we
> provide BK, the CVS mirror, bkbits hosting, in return the community
> agrees to leave off using BK to copy BK.
>
> If what is being asked of us is more free service and engineering and
> we are getting nothing in return, that's a non-starter.
This might help you with engineering, and sourceforge.net is willing
to provide you the bandwidth. If you create an account on sf.net, I
can easily add you to the linux25 project.
Oh, and I believe we do not need exactly Larry for this, just someone
who uses bk anyway and is willing to supervise the scripts. [I'm
mostly on modem, and often go away for > week.]
Pavel
[all2cvs script]
#!/bin/bash
A=$1
while [ $A -lt $2 ]; do
A=$[$A+1]
if [ ! -e ../data/1.$A ]; then
echo "Patch $A does not exist"
exit 1
fi
echo "Processing patch $A"
../scripts/diff2cvs ../data/1.$A
mv ../data/1.$A ../olddata/1.$A
echo "Done processing $A"
if [ -e ../data/STOP ]; then
echo "Stopped at user request after $A"
echo "Stopped at user request after $A" > ../data/STOP
exit 1
fi
I=1; while [ $I -lt 50000 ]; do I=$[$I+1]; done
done
[bk2all]
#!/bin/bash
cd /home/riel/bk-kernel/linux-2.5
A=$1
while [ $A -lt $2 ]; do
PREV=$A
A=$[$A+1]
echo "Processing patch $A"
bk export -tpatch -r1.$PREV,1.$A > ~/bkdata/1.$A
done
[diff2cvs]
#!/bin/bash
fake() {
eval $1
}
dir() {
while [ ! -d $1 ]; do
DIR=$1
OLDDIR=foo
while [ $OLDDIR != $DIR ]; do
mkdir $DIR && fake "cvs add $DIR"
OLDDIR=$DIR
DIR=${DIR%/*}
done
done
}
cat $1 | grep '^+++ ' | grep -v "/dev/null" | (
while true; do
read A B C || break
FILE=${B#*/}
if [ ! -e $FILE ]; then
touch $FILE || dir ${FILE%/*}
touch $FILE || echo "Could not create $FILE"
touch $FILE || exit 1
fake "cvs add -ko $FILE"
fi
done
)
cat $1 | patch -Esp1 || exit 3
cat $1 | grep '^--- ' | grep -v "/dev/null" | (
while true; do
read A B C || break
FILE=${B#*/}
if [ ! -e $FILE ]; then
fake "cvs remove $FILE"
fi
done
)
cat $1 | grep '^#' > /tmp/delme.diff2cvs
fake "cvs -z 3 commit -F /tmp/delme.diff2cvs ."
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
next prev parent reply other threads:[~2003-02-17 23:34 UTC|newest]
Thread overview: 127+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-06 2:10 openbkweb-0.0 Andrea Arcangeli
2003-02-06 2:34 ` openbkweb-0.0 Dave Jones
2003-02-06 3:09 ` openbkweb-0.0 Larry McVoy
2003-02-06 4:23 ` openbkweb-0.0 Ben Collins
2003-02-06 4:37 ` openbkweb-0.0 Larry McVoy
2003-02-06 6:02 ` openbkweb-0.0 Willy Tarreau
2003-02-06 6:14 ` openbkweb-0.0 David Lang
2003-02-06 14:23 ` openbkweb-0.0 Geert Uytterhoeven
2003-02-13 2:47 ` openbkweb-0.0 Jamie Lokier
2003-02-13 11:55 ` openbkweb-0.0 Rik van Riel
2003-02-13 16:13 ` openbkweb-0.0 Larry McVoy
2003-02-13 16:23 ` openbkweb-0.0 Xavier Bestel
2003-02-13 16:46 ` openbkweb-0.0 Larry McVoy
2003-02-13 16:56 ` openbkweb-0.0 John Bradford
2003-02-13 21:11 ` openbkweb-0.0 Adrian Bunk
2003-02-13 21:18 ` openbkweb-0.0 Robert Love
2003-02-14 12:59 ` openbkweb-0.0 Xavier Bestel
2003-02-13 22:05 ` openbkweb-0.0 Larry McVoy
2003-02-13 22:56 ` openbkweb-0.0 Jamie Lokier
2003-02-14 6:02 ` openbkweb-0.0 Matthew D. Pitts
2003-02-14 6:30 ` openbkweb-0.0 David Lang
2003-02-14 14:41 ` openbkweb-0.0 Alan Cox
2003-02-14 13:54 ` openbkweb-0.0 Matthew D. Pitts
2003-02-14 15:30 ` openbkweb-0.0 Larry McVoy
2003-02-14 15:45 ` openbkweb-0.0 Geert Uytterhoeven
2003-02-14 16:56 ` openbkweb-0.0 Alan Cox
2003-02-14 16:47 ` openbkweb-0.0 Tomas Szepe
2003-02-14 16:50 ` openbkweb-0.0 Larry McVoy
2003-02-14 17:09 ` openbkweb-0.0 Tomas Szepe
2003-02-14 17:24 ` openbkweb-0.0 Larry McVoy
2003-02-15 11:42 ` openbkweb-0.0 Henning P. Schmiedehausen
2003-02-15 14:42 ` openbkweb-0.0 Andrew Walrond
[not found] ` <1045342539.5130.5.camel@irongate.swansea.linux.org.uk>
[not found] ` <3E4F7E20.30905@walrond.org>
2003-02-16 20:18 ` openbkweb-0.0 Henning Schmiedehausen
2003-02-16 20:23 ` openbkweb-0.0 Larry McVoy
2003-02-16 21:18 ` openbkweb-0.0 Henning P. Schmiedehausen
2003-02-16 21:48 ` ADSL vs Leased line (was: Re: openbkweb-0.0) John Bradford
2003-02-17 10:13 ` Andrew Walrond
2003-02-17 11:00 ` John Bradford
2003-02-17 11:46 ` Andrew Walrond
2003-02-17 12:00 ` John Bradford
2003-02-15 0:11 ` openbkweb-0.0 Vlad@geekizoid.com
2003-02-15 0:52 ` openbkweb-0.0 Jamie Lokier
2003-02-15 0:56 ` openbkweb-0.0 Vlad@geekizoid.com
2003-02-15 1:50 ` openbkweb-0.0 Alan Cox
2003-02-15 1:01 ` openbkweb-0.0 Vlad@geekizoid.com
2003-02-15 2:00 ` openbkweb-0.0 Jamie Lokier
2003-02-15 2:41 ` openbkweb-0.0 Larry McVoy
2003-02-15 3:11 ` openbkweb-0.0 Jamie Lokier
2003-02-15 3:30 ` openbkweb-0.0 Larry McVoy
2003-02-15 5:00 ` openbkweb-0.0 Aggelos Economopoulos
2003-02-15 5:32 ` openbkweb-0.0 Larry McVoy
2003-02-15 7:24 ` openbkweb-0.0 Aggelos Economopoulos
2003-02-15 6:20 ` openbkweb-0.0 Jamie Lokier
2003-02-15 7:27 ` openbkweb-0.0 Aggelos Economopoulos
2003-02-15 2:13 ` openbkweb-0.0 Alan Cox
2003-02-15 8:02 ` openbkweb-0.0 John Bradford
2003-02-16 11:17 ` openbkweb-0.0 Pavel Janík
2003-02-14 20:31 ` openbkweb-0.0 Adrian Bunk
2003-02-14 22:02 ` openbkweb-0.0 Thomas Molina
2003-02-15 0:39 ` openbkweb-0.0 Jamie Lokier
2003-02-15 16:18 ` openbkweb-0.0 Andrea Arcangeli
2003-02-15 21:31 ` openbkweb-0.0 David Lang
2003-02-19 9:57 ` openbkweb-0.0 Andrea Arcangeli
2003-02-19 10:43 ` openbkweb-0.0 David Lang
2003-02-19 10:51 ` openbkweb-0.0 Andrea Arcangeli
2003-02-16 21:03 ` openbkweb-0.0 Henning P. Schmiedehausen
2003-02-19 9:54 ` openbkweb-0.0 Andrea Arcangeli
2003-02-14 23:45 ` openbkweb-0.0 Jamie Lokier
2003-02-14 23:57 ` openbkweb-0.0 Larry McVoy
2003-02-15 0:45 ` openbkweb-0.0 Jamie Lokier
2003-02-15 1:05 ` openbkweb-0.0 Davide Libenzi
2003-02-15 1:13 ` openbkweb-0.0 David Lang
2003-02-15 1:18 ` openbkweb-0.0 David Lang
2003-02-15 1:29 ` openbkweb-0.0 Vlad@geekizoid.com
2003-02-15 1:40 ` openbkweb-0.0 David Lang
2003-02-15 1:35 ` openbkweb-0.0 Jamie Lokier
2003-02-15 7:36 ` openbkweb-0.0 Adrian Bunk
2003-02-15 9:46 ` openbkweb-0.0 David Lang
2003-02-15 11:47 ` openbkweb-0.0 Henning P. Schmiedehausen
2003-02-15 11:50 ` openbkweb-0.0 Christoph Hellwig
2003-02-15 12:07 ` openbkweb-0.0 Jörn Engel
2003-02-15 16:44 ` openbkweb-0.0 Christoph Hellwig
2003-02-15 12:10 ` openbkweb-0.0 Henning P. Schmiedehausen
2003-02-15 16:58 ` openbkweb-0.0 Christoph Hellwig
2003-02-16 20:26 ` openbkweb-0.0 Henning Schmiedehausen
2003-02-16 21:11 ` openbkweb-0.0 John Jasen
2003-02-18 17:41 ` openbkweb-0.0 Christoph Hellwig
2003-02-15 17:44 ` openbkweb-0.0 Nicolas Pitre
2003-02-15 18:12 ` openbkweb-0.0 Larry McVoy
2003-02-15 20:44 ` openbkweb-0.0 Alan Cox
2003-02-15 20:54 ` openbkweb-0.0 Larry McVoy
2003-02-16 4:08 ` openbkweb-0.0 Nicolas Pitre
2003-02-16 5:18 ` openbkweb-0.0 David Lang
2003-02-16 5:35 ` openbkweb-0.0 Nicolas Pitre
2003-02-16 22:34 ` openbkweb-0.0 Pavel Machek
2003-02-17 4:31 ` openbkweb-0.0 Jamie Lokier
2003-02-17 14:50 ` openbkweb-0.0 Rik van Riel
2003-02-18 22:34 ` openbkweb-0.0 David Lang
2003-02-19 8:31 ` openbkweb-0.0 Pavel Janík
2003-02-19 15:11 ` openbkweb-0.0 Paul Fulghum
2003-02-19 15:16 ` openbkweb-0.0 Larry McVoy
2003-02-19 15:28 ` openbkweb-0.0 Pavel Machek
2003-02-19 15:47 ` openbkweb-0.0 Nicolas Pitre
2003-02-15 21:56 ` openbkweb-0.0 Davide Libenzi
2003-02-15 21:52 ` openbkweb-0.0 Larry McVoy
2003-02-15 22:04 ` openbkweb-0.0 Davide Libenzi
2003-02-15 22:11 ` openbkweb-0.0 John Bradford
2003-02-15 22:24 ` openbkweb-0.0 Andrew Morton
2003-02-15 22:44 ` openbkweb-0.0 John Bradford
2003-02-16 0:15 ` openbkweb-0.0 Matt Reppert
2003-02-16 0:46 ` openbkweb-0.0 John Bradford
2003-02-16 0:55 ` openbkweb-0.0 John Bradford
2003-02-16 3:23 ` openbkweb-0.0 Larry McVoy
2003-02-16 5:22 ` openbkweb-0.0 Alan Cox
2003-02-16 11:08 ` openbkweb-0.0 John Bradford
2003-02-16 11:22 ` openbkweb-0.0 David Woodhouse
2003-02-16 11:50 ` openbkweb-0.0 John Bradford
2003-02-16 9:58 ` openbkweb-0.0 Filip Van Raemdonck
2003-02-16 14:42 ` openbkweb-0.0 Gaël Le Mignot
2003-02-16 16:27 ` openbkweb-0.0 Jörn Engel
2003-02-16 22:56 ` Pavel Machek [this message]
2003-02-18 0:19 ` bk2cvs [was Re: openbkweb-0.0] Vlad@geekizoid.com
2003-02-18 11:22 ` Pavel Machek
2003-02-18 17:19 ` Vlad@geekizoid.com
2003-02-14 20:28 ` openbkweb-0.0 Adrian Bunk
2003-02-14 20:35 ` openbkweb-0.0 nick
2003-02-15 0:17 ` openbkweb-0.0 Vlad@geekizoid.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030216225637.GE2546@elf.ucw.cz \
--to=pavel@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=lm@bitmover.com \
--cc=lm@work.bitmover.com \
--cc=nico@cam.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox