Go to file
Anne LoVerso fd56952d6b ostree-repo-resolve-rev: Add function to accept a partial checksum
This patch adds a function that will parse a partial checksum when
resolving a refspec.  If the inputted refspec matches a truncated
existing checksum, it will return that checksum to be parsed.  If
multiple truncated checksums match the partial refspec, it is not
unique and will return false.  This addition is inspired by the same
functionality in Docker, which allows a user to reference a specific
commit without typing the entire checksum.

partial checksums: Add function to abstract comparison

This modifies the list_objects and list_objects_at functions
to take an additional argument for the string that a commit starts
with.  If this string arg is not null, it will only list commit
objects beginning with that string.  This allows for a new function
ostree_repo_list_commit_objects_starting_with to pass a partial string
and return a list of all matching commits.  This improves on the
previous strategy of listing refs because it will list all commit objects,
even ones in past history.  This update also includes bugfixes on
error handling and string comparison, and changes the output structure
of resolve_partial_checksum. The new strcuture will no longer return FALSE
without error.  Also, the hashtable foreach now uses iter.  Also
includes modified test file
2014-07-18 15:15:44 -04:00
doc core: add "tls-ca-path" option 2014-06-27 13:16:47 -04:00
manual-tests manual-tests: New directory with custom test scripts 2014-02-14 18:16:37 -05:00
packaging [trivial]: Update .gitignore 2014-06-24 08:33:02 -04:00
src ostree-repo-resolve-rev: Add function to accept a partial checksum 2014-07-18 15:15:44 -04:00
tests ostree-repo-resolve-rev: Add function to accept a partial checksum 2014-07-18 15:15:44 -04:00
.gitignore Update .gitignore 2014-01-19 11:33:52 -05:00
COPYING COPYING: Update to latest FSF with current address 2014-01-16 10:22:30 -05:00
Makefile-boot.am Add support for mkinitcpio 2013-10-24 14:27:49 -04:00
Makefile-decls.am build: Don't use += for ACLOCAL_AMFLAGS 2014-01-11 10:02:34 -07:00
Makefile-libostree-defines.am Add an OstreeSysrootUpgrader API 2014-03-24 18:08:22 -04:00
Makefile-libostree.am deploy: Set the immutable bit on the deployment root 2014-06-03 13:41:48 -04:00
Makefile-ostree.am Support /etc/ostree/remotes.d 2014-05-08 18:59:24 -04:00
Makefile-otutil.am Use external libgsystem 2014.2 2014-04-04 16:52:37 -04:00
Makefile-switchroot.am Add support for mkinitcpio 2013-10-24 14:27:49 -04:00
Makefile-tests.am Limit metadata to 10 MiB 2014-05-27 14:15:27 -04:00
Makefile.am build: Remove --enable-embedded-dependencies 2014-04-22 09:08:35 -04:00
README-historical.md README: Just link to wiki, move most of it to README-historical.md 2014-01-20 18:00:09 -05:00
README.md README: Just link to wiki, move most of it to README-historical.md 2014-01-20 18:00:09 -05:00
TODO trivial: TODO: Add link sizes/progress bar 2014-05-23 07:59:35 -04:00
autogen.sh Use external libgsystem 2014.2 2014-04-04 16:52:37 -04:00
configure.ac Add --enable-libsoup-client-certs 2014-06-26 08:03:33 -04:00
ostree.doap ostree.doap: Update description based on docs. 2013-08-19 10:32:08 -04:00

README.md

OSTree is a tool for managing bootable, immutable, versioned filesystem trees. While it takes over some of the roles of tradtional "package managers" like dpkg and rpm, it is not a package system; nor is it a tool for managing full disk images. Instead, it sits between those levels, offering a blend of the advantages (and disadvantages) of both.

For more information, see:

https://live.gnome.org/Projects/OSTree