git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Richard Hartmann <richih.mailinglist@gmail.com>
To: Thorsten Glaser <tg@mirbsd.de>
Cc: Jonathan Nieder <jrnieder@gmail.com>,
	Michael J Gruber <git@drmicha.warpmail.net>,
	Git List <git@vger.kernel.org>
Subject: Re: Tracking file metadata in git -- fix metastore or enhance git?
Date: Fri, 8 Apr 2011 23:23:29 +0200	[thread overview]
Message-ID: <BANLkTi=3LPRzohnZStAogddpL5ZLehb97Q@mail.gmail.com> (raw)
In-Reply-To: <Pine.BSM.4.64L.1104081955490.22999@herc.mirbsd.org>

Ignoring any potentially flame-ish comments in the shared interest of
factual discussion and eventual consensus followed by progress; please
do the same :)


On Fri, Apr 8, 2011 at 21:58, Thorsten Glaser <tg@mirbsd.de> wrote:

> This might be an alternative. RichiH, what are the requirements?

The main use case from my/our POV is to track mtime etc to maintain
relative and absolute differences which can be extremely useful for
data even if it's not needed for code files.


> I fear that the dotfile way will meet them better, considering
> that they are versioned together, not separately, and what you
> told me quickly about the idea.

Points to consider:

* In most cases I can think of, it would be preferable to track
changes in metadata along with the actual files.

* It should be possible for other repositories to ignore this metadata.

* I am not sure if notes are suitable for this. Using notes.displayRef
to hide those notes is an option, but it would force everyone to set
this up locally. Else, it would be very spammy.

* .gitattributes is too important to fill with potentially thousands
of lines, imo. Using it to define what metadata should be stored would
make sense, though.

* would a .gitmetadata make sense for storage? Alternatively, a
.git/objects/??/*.metadata per object could make sense.


Thoughts?
Richard

  reply	other threads:[~2011-04-08 21:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 19:16 Tracking file metadata in git -- fix metastore or enhance git? Richard Hartmann
2011-04-07 19:27 ` Thorsten Glaser
2011-04-08  0:29   ` Richard Hartmann
2011-04-08 10:01     ` Michael J Gruber
2011-04-08 18:59       ` Jonathan Nieder
2011-04-08 19:05         ` Thorsten Glaser
2011-04-08 19:45           ` Jonathan Nieder
2011-04-08 19:58             ` Thorsten Glaser
2011-04-08 21:23               ` Richard Hartmann [this message]
2011-04-09  8:11                 ` Chris Webb
2011-04-09  9:09                   ` Richard Hartmann
2011-04-10  0:15                     ` Jonathan Nieder
2011-04-10  1:03                       ` Junio C Hamano
2011-04-10  1:31                         ` Richard Hartmann
2011-04-11  0:12                           ` Richard Hartmann
2011-04-18  0:21 ` Richard Hartmann
2011-04-18  0:45   ` Jonathan Nieder
2011-12-14  4:54     ` johnnyutahh
2011-12-20  0:55       ` Richard Hartmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTi=3LPRzohnZStAogddpL5ZLehb97Q@mail.gmail.com' \
    --to=richih.mailinglist@gmail.com \
    --cc=git@drmicha.warpmail.net \
    --cc=git@vger.kernel.org \
    --cc=jrnieder@gmail.com \
    --cc=tg@mirbsd.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).