Proposal for simple metadata implementation

Jesper Nøhr jesper at noehr.org
Thu Mar 5 03:22:15 CST 2009


On Thu, Mar 5, 2009 at 9:23 AM, Christian Boos <cboos at neuf.fr> wrote:
> Benjamin Pollack wrote:
>> ...
>> Although I would love to have a standard way to keep track of metadata
>> in a Mercurial repository, I'm not convinced that this solution scales.
>> I think perhaps attacking this on a more specific case-by-case basis for
>> metadata problems we already have--such as text file encodings--might be
>> wiser.
>>
>
> Exactly, so for mime-type and encodings, please take a look at the
> proposal I made last month:
>
>  http://selenic.com/pipermail/mercurial/2009-February/024004.html
>
> In short: for Trac, I'd like to define a format inspired from .hgignore
> that would map file patterns to mime-types and /or encodings. This
> metadata might be useful for other tools (even hgweb?), so it would be
> better to get a kind of "standard" format reusable by all interested
> parties.

This was also up on the bitbucket-users mailing list[1], and we came
to the same suggestion. I'd love to see this accepted, as it would
solve a lot of issues I have on Bitbucket with displaying data.


Jesper

[1]: http://groups.google.com/group/bitbucket-users/browse_thread/thread/3b22c6147adbcb33



More information about the Mercurial-devel mailing list