Re: Git documentation at kernel.org
- From
Ted Ts'o <tytso@mit.edu>
- Date
- Feb 10, 2012, 19:57 UTC
- Message-ID
- <20120210195736.GA5381@thunk.org>
- In-Reply-To
- <1328900154.3171.27.camel@i5.mricon.com>
How about this as something *way* simpler? Define a way of marking the top of a particular directory hierarchy as a tree. Then the *only* way of updating that tree is all or nothing. That is, someone submits a signed tarball; then after the signed tarball has its signature checked, it gets unpacked into a dir.new, and then we rename dir to dir.old, rename dir.new to dir, and then dir.old gets removed.
That way there's no conflicts between directories that are managed via the kup-servers PUT and DELETE commands, and those where they get uploaded as a single tarball to create or replace a specific directory hierarcy, or which can be deleted only as a entire directory hierarcy.
What do you think?
- Ted