git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [StGIT PATCH 2/4] Abstract a PatchSet object out of Series.

From
CMCatalin Marinas <catalin.marinas@gmail.com>
Date
Jun 19, 2007, 22:32 UTC
Message-ID
<b0943d9e0706191532w11439866u5a9c1b540d5ccca8@mail.gmail.com>
In-Reply-To
<20070615201439.GT6992@nan92-1-81-57-214-146.fbx.proxad.net>
On 15/06/07, Yann Dirson <ydirson@altern.org> wrote:
Show 10 quoted lines
> Indeed one of the things that naturally come to mind after hydra, is
> to abstract a parent class above PatchSet and Patch, and allow those
> to be mostly used everywhere one of them is allowed.
>
> That way we can have a (sub-)stack anywhere between 2 patches in a
> stack, and that should I think address the need you describe.  But
> that would also allow to have an hydra built of single patches instead
> of stacks, which would be quite similar to how darcs organizes
> patches.  Combinations are endless, and I don't even count the
> possibility of adding new structures besides stacks and hydras :)

If you can track the patch dependencies, it would be enough to no longer have a stack but a pool of patches (like darcs but without exact patch commuting, the diff3 merging provides a good approximation of this operation and in a much faster time). Simple patch dependency could be detected by trying to apply a patch without others (it can be optimised so that only patches touching common files should be checked).

Show 9 quoted lines
> > It's not a bug. The import command just uses the e-mail sender or a
> > "From:" line before the patch description (see the default mail
> > template). It doesn't check the sign lines (it is following the kernel
> > patch submission guidelines).
>
> We could surely improve things (and I'm not suggesting we should look
> at sign lines).  Eg, by having stg-mail add an Author pseudo-header
> when the patch author is different from the sender, and having
> stg-import use that when available.

But the 'stg mail' command already adds a "From:" line in the body (with the default template) and 'import' checks for 'From:' or 'Author:' which override the e-mail sender. You might be using a different e-mail template.

-- 
Catalin
Previous: Yann DirsonNext: Yann Dirson
Message 12 of 14 in “Cleanups of the Series object.”
  1. 0/4 Cleanups of the Series object.Yann Dirson, Jun 11, 2007
  2. 1/4 Use get/set_name for a stack's name.Yann Dirson, Jun 11, 2007
  3. 2/4 Abstract a PatchSet object out of Series.Yann Dirson, Jun 11, 2007
  4. Catalin MarinasJun 12, 2007
  5. Yann DirsonJun 13, 2007
  6. Yann DirsonJun 14, 2007
  7. Catalin MarinasJun 19, 2007
  8. Catalin MarinasJun 19, 2007
  9. Yann DirsonJun 19, 2007
  10. Catalin MarinasJun 14, 2007
  11. Yann DirsonJun 15, 2007
  12. Catalin MarinasJun 19, 2007
  13. 3/4 Move stack format-version checks into Stack class.Yann Dirson, Jun 11, 2007
  14. 4/4 Rename branch.*.stgitformatversion to branch.*.stgit.stackformatversion.Yann Dirson, Jun 11, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.