Re: Extending ostree's functionality (adding a metadat index)



Ok, here is a reworked branch:

 - the .sizes file is now not an object at all, but an optional
   serialised variant (which detail is hidden from the user
   of libostree)

 - the structure of said file is now private to libostree.
   access is by helper function which adds up the numbers
   for you, or via an opaque iterator which gives you
   the checksum/packed/unpacked values one by one.

 - the pull code now has an _OPTIONAL path which fetches
   a file from a relative path from the top of the remote
   repo and puts it in the same location in your repo
   if it is available: This could be reused for other optional
   sha256.<whatever> files too.

 - commits should be in the preferred style now

Hopefully this branch is acceptable for merging.

http://cgit.collabora.com/git/user/vivek/ostree.git/log/?h=commit-index-ii



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]