[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Re: Certificates for files
From: |
Nathaniel Smith |
Subject: |
Re: [Monotone-devel] Re: Certificates for files |
Date: |
Fri, 9 Sep 2005 14:45:52 -0700 |
User-agent: |
Mutt/1.5.9i |
On Fri, Sep 09, 2005 at 12:50:51PM +0100, Bruce Stephens wrote:
> Technically I imagine that would be possible, if files have a
> permanent identity as proposed by Nathaniel recently, it might be
> possible to expose that sufficiently to attach certs to them. File
> attrs could be done like that, I guess? On the other hand, you'd
> probably want them to be versionable, so that wouldn't work well.
The current plan is for files to get a permanent identity in the
implementation, but not to expose this at all -- the permanent
identities aren't transferred or even guaranteed to be stable (just
globally consistent -- so you could regenerate identities for the
whole tree at once, say).
And attributes will be "done like that", inasmuch as attribute changes
will be first class and attached to logical files; internally, they'll
be indexed by the permanent identities just like content hashes.
In principle, one could add certs on (revision, filename) pairs, but
it seems a bit brittle (if your use case wants to cert a revision and
a _set_ of files, you're right back where we started), and when you
define a new cert type, you get to pick the format used for it -- and
it's trivial for this format to include a filename or several
filenames or whatever you like.
-- Nathaniel
--
"Of course, the entire effort is to put oneself
Outside the ordinary range
Of what are called statistics."
-- Stephan Spender
- [Monotone-devel] Certificates for files, Thomas Haas, 2005/09/08
- Re: [Monotone-devel] Certificates for files, Nathaniel Smith, 2005/09/08
- Re: [Monotone-devel] Certificates for files, Thomas Haas, 2005/09/09
- [Monotone-devel] Re: Certificates for files, Bruce Stephens, 2005/09/09
- Re: [Monotone-devel] Re: Certificates for files, Thomas Haas, 2005/09/09
- [Monotone-devel] Re: Certificates for files, Bruce Stephens, 2005/09/09
- Re: [Monotone-devel] Re: Certificates for files,
Nathaniel Smith <=
- Re: [Monotone-devel] Re: Certificates for files, Thomas Haas, 2005/09/12
- [Monotone-devel] Re: Certificates for files, Bruce Stephens, 2005/09/12
- Re: [Monotone-devel] Re: Certificates for files, Jon Bright, 2005/09/12
- [Monotone-devel] Re: Certificates for files, Bruce Stephens, 2005/09/12
- Re: [Monotone-devel] Re: Certificates for files, Thomas Haas, 2005/09/12
- Re: [Monotone-devel] Re: Certificates for files, Nathaniel Smith, 2005/09/13
- Re: [Monotone-devel] Re: Certificates for files, Thomas Haas, 2005/09/13
- Re: [Monotone-devel] Re: Certificates for files, Daniel Vogelheim, 2005/09/13
- [Monotone-devel] Re: Certificates for files, Bruce Stephens, 2005/09/13
- Re: [Monotone-devel] Re: Certificates for files, Daniel Vogelheim, 2005/09/14