public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Øyvind Harboe" <oyvind.harboe@zylin.com>
To: eCos Disuss <ecos-discuss@ecos.sourceware.org>
Subject: [ECOS] eCos submodule support
Date: Mon, 19 Oct 2009 21:17:00 -0000	[thread overview]
Message-ID: <c09652430910191417n584ceed8kdf4f06906f96c91f@mail.gmail.com> (raw)
In-Reply-To: <c09652430910191038m6ddd7153gcb6d7616719a72c9@mail.gmail.com>

I've been tinkering w/git submodules and it really is
a killer feature for the typical eCos application we
work on:

- we'll clone eCos repository and keep a modified
version of that repository on our servers. Here we
track various modifications in eCos until those
modifications eventually make it back into the official
eCos tree, or for those modifications that never should
be made part of the main tree we keep it on our
servers. This eCos repository is shared between
clients/projects.

- we'll clone the eCos repository onto *our* server in-house,
yielding super fast checkout times. (git submodule update).
This also does not waste bandwidth of official servers.

- git submodules are also used for other eCos repositories
that e.g. keep a specific HAL or some other feature.

- this also works fine w/projects that use svn as a server,
e.g. libmicrohttpd which is a module we use, but it's
not actually an eCos project.

- when various people work on the same project, we don't
have to write scripts to set up the build environment(e.g.
extract a specific version of eCos snapshot). It's
clone + submodule init + submodule update => voila!

At this point I have no idea what happens when
throwing mercurial into the mix here, but "easy"
isn't the first word that comes to mind :-)

When choosing DVCS I hope that non-trivial operations
are considered more than trivial ones.

Trivial operations, like cloning, is trivial with git & mercurial
both.

For the most trivial operations downloading and
untarring is probably the way to go rather than introducing
version control at all.




--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

       reply	other threads:[~2009-10-19 21:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <c09652430910191038m6ddd7153gcb6d7616719a72c9@mail.gmail.com>
2009-10-19 21:17 ` Øyvind Harboe [this message]
2009-10-20  7:50   ` [ECOS] " Daniel Néri
2009-10-20 10:47   ` Øyvind Harboe
2009-10-20 14:45     ` Sergei Organov
2009-10-20 21:37       ` Alex Schuilenburg
2009-10-20 23:19     ` Alex Schuilenburg
2009-10-21  6:47       ` Øyvind Harboe
2009-10-20 14:37   ` [ECOS] " Alex Schuilenburg
2009-10-20 14:50     ` Øyvind Harboe
2009-10-20 19:22       ` Alex Schuilenburg
2009-10-20 19:36         ` Øyvind Harboe
2009-10-21  0:00       ` Jonathan Larmour
2009-10-20 23:55     ` Jonathan Larmour
2009-10-21  1:43       ` Alex Schuilenburg

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=c09652430910191417n584ceed8kdf4f06906f96c91f@mail.gmail.com \
    --to=oyvind.harboe@zylin.com \
    --cc=ecos-discuss@ecos.sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).