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

StGIT and repo-config

From
Yann Dirson <ydirson@altern.org>
Date
Jan 25, 2007, 22:55 UTC
Message-ID
<20070125225512.GF4083@nan92-1-81-57-214-146.fbx.proxad.net>

I'm trying to get StGIT to work with git's config information. Currently, the stgit.config stuff uses a generic ConfigParser, which I'm not sure is adequate for the work:

- it requires to forge section names like 'branch "foo"'
- it is only a reader and I'm not sure it is easy to turn it to a
writer.  It has a set() method, but it appears to only act on
in-memory stuff.
- since it parses the file at startup, it would not see any change
done from stgit by calling repo-config.
- the canonical way to access the info is git-repo-config.

I'd think this would be sufficient to rewrite stgit.config. No objection ?

Best regards,
-- 
Yann.
Next: Catalin Marinas
Message 1 of 8 in “StGIT and repo-config”
  1. Yann DirsonJan 25, 2007
  2. Catalin MarinasJan 25, 2007
  3. Johannes SchindelinJan 25, 2007
  4. Yann DirsonJan 26, 2007
  5. Catalin MarinasJan 26, 2007
  6. Johannes SchindelinJan 26, 2007
  7. Yann DirsonJan 27, 2007
  8. Catalin MarinasJan 28, 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.