summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtins.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2014-07-31 18:50:19 -0400
committerColin Walters <walters@verbum.org>2014-09-03 13:21:52 -0400
commitf8f5da219edd2279322bba916879fd53c2b65350 (patch)
tree2bb77d53e3568e70a164112f4b63246737fba45a /src/ostree/ot-builtins.h
parent3571418557e3a69d5e86dc464499a59df3d38315 (diff)
downloadostree-f8f5da219edd2279322bba916879fd53c2b65350.tar.gz
Add repository "summary" file and metalink support
For Fedora and potentially other distributions which use globally distributed mirrors, metalink is a popular solution to redirect clients to a dynamic set of mirrors. In order to make metalink work though, it needs *one* file which can be checksummed. (Well, potentially we could explode all refs into the metalink.xml, but that would be a lot more invasive, and a bit weird as we'd end up checksumming the checksum file). This commit adds a new command: $ ostree summary -u To regenerate the summary file. Can only be run by one process at a time. After that's done, the metalink can be generated based on it, and the client fetch code will parse and load it. https://bugzilla.gnome.org/show_bug.cgi?id=729585
Diffstat (limited to 'src/ostree/ot-builtins.h')
-rw-r--r--src/ostree/ot-builtins.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ostree/ot-builtins.h b/src/ostree/ot-builtins.h
index fee66f2b..b8b6507f 100644
--- a/src/ostree/ot-builtins.h
+++ b/src/ostree/ot-builtins.h
@@ -46,6 +46,7 @@ BUILTINPROTO(reset);
BUILTINPROTO(fsck);
BUILTINPROTO(show);
BUILTINPROTO(static_delta);
+BUILTINPROTO(summary);
BUILTINPROTO(rev_parse);
BUILTINPROTO(remote);
BUILTINPROTO(write_refs);