From: Joshua N Pritikin <jpritikin@pobox.com>
To: Yoshiki Ohshima <yoshiki@squeakland.org>
Cc: git@vger.kernel.org, sugar@laptop.org
Subject: Re: etoys - binary blob in GIT
Date: Sat, 10 Feb 2007 15:19:34 +0530 [thread overview]
Message-ID: <20070210094934.GH13381@always.joy.eth.net> (raw)
In-Reply-To: <usldf3z10.wl%yoshiki@squeakland.org>
On Sat, Feb 10, 2007 at 04:35:07AM +0900, Yoshiki Ohshima wrote:
> > > What the Etoys team actually uses for our own change management is
> > > called "update stream" mechanism. That is a sequence of small patches
> > > in text. These patches are kept on an FTP/HTTP or WebDAV/HTTP server,
> > > and the developers submit the patches via FTP or WebDAV, and other
> > > users and developers fetches them via WebDAV or HTTP into their EToys
> > > image. The image in the git repository is made in this way. 95% of
> > > the case, it is enough to recreate a "practically" identical image by
> > > merely fetching the patches.
> >
> > I think the proper way to do that is to clean the upgrade directory
> > after each commit so that the upgrade directory only keeps patches for
> > the current changeset.
>
> I'm not sure what is the upgrade directory, so not sure the upside
> of this is. Can you elaborate?
Sure, something like this:
$ export IMAGE=$HOME/etoys.image
$ cd etoys
$ git init-db
$ echo 1 > image-version
$ git add image-version
$ mkdir upgrade
$ cd upgrade
$ ls
patch1 patch2
# These patches are the "update stream" from the previous commit to the
# current commit.
$ cat patch1
touch $IMAGE
$ cat patch2
echo abc >> $IMAGE
$ cd ..
$ git add patch1 patch2
$ git commit -a
# After every commit, you can remove the previous update stream.
$ git rm upgrade/*
# Here is the update stream for the next commit:
$ echo 2 > image-version
$ cat upgrade/patch1
echo def >> $IMAGE
$ git add upgrade/patch1
$ git commit -a
$ git rm upgrade/*
# Etc
Now you have a history of the update stream and you know which image
belongs with which commit.
prev parent reply other threads:[~2007-02-10 9:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070208095523.GE3708@always.joy.eth.net>
[not found] ` <u7ius5te9.wl%yoshiki@squeakland.org>
2007-02-09 18:20 ` etoys - binary blob in GIT Joshua N Pritikin
2007-02-09 19:35 ` Yoshiki Ohshima
2007-02-10 9:49 ` Joshua N Pritikin [this message]
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=20070210094934.GH13381@always.joy.eth.net \
--to=jpritikin@pobox.com \
--cc=git@vger.kernel.org \
--cc=sugar@laptop.org \
--cc=yoshiki@squeakland.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.