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

[HELP] Adding git awareness to the darning patch management system.

From
PWPeter Williams <peter_ono@users.sourceforge.net>
Date
Nov 30, 2011, 02:17 UTC
Message-ID
<4ED59232.3000807@users.sourceforge.net>

I'm the author of the darning patch management system <http://darning.sourceforge.net/> and would like some help adding git awareness to the system. At this stage of the development, "awareness" is fairly simple concept with two broad aims:

1. presenting the file tree of the sources being patched in a way that 
makes sense to the user including the current status of files from the 
point of view of the underlying SCM (in this case, git), and
2. detecting files with uncommitted changes (from the SCM's point of 
view) when the user adds them to a patch (or pushes a patch that 
contains them) so that they may be alerted to the fact and offered the 
choice of absorbing the uncommitted changes into the patch (or not).
I've already implemented this interface for Mercurial (with which I am 
familiar) and looked at doing the same with git but had difficulty 
discovering the definitive mechanisms for obtaining the necessary data. 
  So I'm soliciting your help in overcoming these problems.
Darning's source is managed by Mercurial and can be perused at:
<http://darning.hg.sourceforge.net/hgweb/darning/darning>

The interface to be implemented is defined in the file darning/scm_ifce.py and the implementation for Mercurial is in the file scm_ifce_hg.py.

Any help or pointers would be appreciated.

Thanks Peter

Next: Jeff King
Message 1 of 8 in “[HELP] Adding git awareness to the darning patch management system.”
  1. Peter WilliamsNov 30, 2011
  2. Jeff KingNov 30, 2011
  3. Peter WilliamsDec 1, 2011
  4. Jeff KingDec 1, 2011
  5. Peter WilliamsDec 1, 2011
  6. Jeff KingDec 1, 2011
  7. Tay Ray ChuanNov 30, 2011
  8. Peter WilliamsNov 30, 2011

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.