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

Re: Tracking file metadata in git -- fix metastore or enhance git?

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Apr 18, 2011, 00:45 UTC
Message-ID
<20110418004550.GA2529@elie>
In-Reply-To
<BANLkTimTszUC+4d3tMTP-cxG3AoWmr08HA@mail.gmail.com>
Hi again,

Not sure if my thoughts will be useful here since you dropped me from the cc list. But anyway:

Richard Hartmann wrote:
Show 9 quoted lines
> here are the three options:
>
> 1) fix metastore
> 2) default to gitperms
> 3) extend git
>
> I still think 3) would be best, but someone would need to step up to
> do this. Is anyone up for this task? If not, we will have to resort to
> 1) or 2)
The usual practice in git development is
 (1) people make scripts wrapping plumbing commands (see git(1)) that
     work well for themselves
 (2) they tell the git list about it and publish it
 (3) an idea emerges that this is suitable for inclusion, and it
     gets included

In particular, git's design is not so monolithic --- "extend git" can mean "add a script" or "add a builtin" so it is not so involved as you seem to think. See also contrib/README for a place to stop on the way.

Anyway, if you want something the just works, my suggestion is (4) use the hook scripts from etckeeper. Last time I looked into this they worked better than metastore.

Hope that helps. Jonathan

Previous: Richard HartmannNext: johnnyutahh
Message 17 of 19 in “Tracking file metadata in git -- fix metastore or enhance git?”
  1. Richard HartmannApr 7, 2011
  2. Thorsten GlaserApr 7, 2011
  3. Richard HartmannApr 8, 2011
  4. Michael J GruberApr 8, 2011
  5. Jonathan NiederApr 8, 2011
  6. Thorsten GlaserApr 8, 2011
  7. Jonathan NiederApr 8, 2011
  8. Thorsten GlaserApr 8, 2011
  9. Richard HartmannApr 8, 2011
  10. Chris WebbApr 9, 2011
  11. Richard HartmannApr 9, 2011
  12. Jonathan NiederApr 10, 2011
  13. Junio C HamanoApr 10, 2011
  14. Richard HartmannApr 10, 2011
  15. Richard HartmannApr 11, 2011
  16. Richard HartmannApr 18, 2011
  17. Jonathan NiederApr 18, 2011
  18. johnnyutahhDec 14, 2011
  19. Richard HartmannDec 20, 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.