threads / discuss / 8403

StGIT: stgitformatversion vs. stgit.formatversion

Subject: StGIT: stgitformatversion vs. stgit.formatversion

## tl;dr

5 messages between Jun 2, 2007 and Jun 10, 2007.

replies: 4people: 3as markdown or json

Yann Dirson· Jun 2, 2007, 19:16 UTC · lore

What about using branch.*.stgit.formatversion to store the version, to be consistent with other stgit-specific per-branch settings ?

Bet regards,
-- 
Yann.
Karl Hasselström· Jun 3, 2007, 12:17 UTC · re: Yann Dirson · lore

Re: StGIT: stgitformatversion vs. stgit.formatversion

On 2007-06-02 21:16:41 +0200, Yann Dirson wrote:
> What about using branch.*.stgit.formatversion to store the version,
> to be consistent with other stgit-specific per-branch settings ?

Good idea. But we should probably fall back to stgitformatversion (or better, upgrade from it) to be nice to those running Catalin's master.

It happens a bit too often that we find problems with patches only after Catalin has published them on "master". (At least that seems to be the case with patches coming from me!) Maybe a "pu" branch (maintained either by Catalin or someone else) would be a good way to smoke them out before they're written in stone and distributed to lots of people.

If the stgitformatversion patch had been on such a branch, we could just have edited it and not have to worry about upgrading old configs (aside from posting a mail on how to upgrade manually).

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Catalin Marinas· Jun 4, 2007, 22:12 UTC · re: Karl Hasselström · lore

Re: StGIT: stgitformatversion vs. stgit.formatversion

On 03/06/07, Karl Hasselström <kha@treskal.com> wrote:
> On 2007-06-02 21:16:41 +0200, Yann Dirson wrote:
>
> > What about using branch.*.stgit.formatversion to store the version,
> > to be consistent with other stgit-specific per-branch settings ?
I agree as well.
> Good idea. But we should probably fall back to stgitformatversion (or
> better, upgrade from it) to be nice to those running Catalin's master.

It could, indeed, fall back to stgitformatversion and upgrade from it. Anyway, I'm not sure there are that many running the master branch but this would be needed for us as well.

Show 6 quoted lines
> It happens a bit too often that we find problems with patches only
> after Catalin has published them on "master". (At least that seems to
> be the case with patches coming from me!) Maybe a "pu" branch
> (maintained either by Catalin or someone else) would be a good way to
> smoke them out before they're written in stone and distributed to lots
> of people.

Well, I consider "master" to be a development branch anyway. It would be useful to get an idea of how many are using this branch (people not following the GIT list are probably using the stable releases anyway). A "pu" branch would make sense for more experimental stuff, like the DAG patches.

> If the stgitformatversion patch had been on such a branch, we could
> just have edited it and not have to worry about upgrading old configs
> (aside from posting a mail on how to upgrade manually).

But now I have plenty of branches in my Linux tree already, so I wouldn't do it manually. We already have checks for the repository version, adding this would probably only be 2-3 lines.

-- 
Catalin
Catalin Marinas· Jun 7, 2007, 21:55 UTC · re: Karl Hasselström · lore

Re: StGIT: stgitformatversion vs. stgit.formatversion

On 03/06/07, Karl Hasselström <kha@treskal.com> wrote:
Show 6 quoted lines
> It happens a bit too often that we find problems with patches only
> after Catalin has published them on "master". (At least that seems to
> be the case with patches coming from me!) Maybe a "pu" branch
> (maintained either by Catalin or someone else) would be a good way to
> smoke them out before they're written in stone and distributed to lots
> of people.

BTW, if any of you is willing to maintain such a branch, I'll happily pull from it when it gets stable.

-- 
Catalin
Karl Hasselström· Jun 10, 2007, 11:01 UTC · re: Catalin Marinas · lore

Re: StGIT: stgitformatversion vs. stgit.formatversion

On 2007-06-07 22:55:09 +0100, Catalin Marinas wrote:
> BTW, if any of you is willing to maintain such a branch, I'll
> happily pull from it when it gets stable.

I'm on vacation the next few weeks (though this week I'm at the FCRC in San Diego if someone wants to say hi!) and have rather spotty internet connectivity, so I haven't really been able to follow the mailing list. But I think this would be useful, so I'll probably start doing it as soon as I'm all settled again.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle

← back to recent threads