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

Re: [RFC] Adding stack-level logging/undo to StGIT

From
CMCatalin Marinas <catalin.marinas@gmail.com>
Date
Jan 11, 2007, 00:06 UTC
Message-ID
<b0943d9e0701101606w649fc26ara73f2c9212de4a33@mail.gmail.com>
In-Reply-To
<20070105231944.GB6179@nan92-1-81-57-214-146.fbx.proxad.net>
On 05/01/07, Yann Dirson <ydirson@altern.org> wrote:
> This mail is a draft collection of design ideas to hopefully progress
> towards full "undo" functionnality in StGIT.  The issue is not
> trivial, so I'd prefer to hear from users before starting to code
> anything :)
(couldn't finish reading all the e-mail, too long :-) and I'm too tired)

The idea of transactions and unified undo/redo is very good but it's a bit more complicated with the current structure, which I admit isn't a good design (too many files and metadata; I initially started StGIT as shell script prototype and moved to Python without re-designing the structure). Ideally, we would have the full stack state in a single file that could be stored as git object and get unlimited undo facilities or history tracking.

But this is part of a post 1.0 development. I plan to fix some of the outstanding issues (still need to create the TODO wiki page) and go towards a first 1.0 release candidate (and release 1.0 sometime this spring). I think StGIT now has most of the features I initially planned for 1.0. After that we can re-design the current structure and make it simpler to support transactions and full history for both patches and the stack as a whole.

-- 
Catalin
Previous: Yann Dirson
Message 2 of 2 in “[RFC] Adding stack-level logging/undo to StGIT”
  1. Yann DirsonJan 5, 2007
  2. Catalin MarinasJan 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.