diff options
author | Colin Walters <walters@verbum.org> | 2017-07-27 21:22:48 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-08-02 17:33:10 +0000 |
commit | d5273b34d0b4359aa668563528644061025e7ab1 (patch) | |
tree | 2c479c079789cc85d7268c431f3b80f331d1dec7 /apidoc | |
parent | d1eb909cd0a45246095d71f077c7e4cd4b5646fe (diff) | |
download | ostree-d5273b34d0b4359aa668563528644061025e7ab1.tar.gz |
lib/repo: Add API to create and list ref aliases
There are multiple use cases where we'd like to alias refs.
First, having a "stable" alias which gets swapped across major
versions: https://pagure.io/atomic-wg/issue/228
Another case is when a ref is obsoleted;
<https://pagure.io/atomic-wg/issue/303>
This second one could be done with endoflife rebase, but I think
this case is better on the server side, as we might later change
our minds and do actual releases there.
I initially just added some test cases for symlinks in the `refs/heads` dir to
ensure this actually works (and it did), but I think it's worth having APIs.
Closes: #1033
Approved by: jlebon
Diffstat (limited to 'apidoc')
-rw-r--r-- | apidoc/ostree-sections.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apidoc/ostree-sections.txt b/apidoc/ostree-sections.txt index 47f351d2..43e267f6 100644 --- a/apidoc/ostree-sections.txt +++ b/apidoc/ostree-sections.txt @@ -307,6 +307,7 @@ ostree_repo_abort_transaction ostree_repo_transaction_set_refspec ostree_repo_transaction_set_ref ostree_repo_set_ref_immediate +ostree_repo_set_alias_ref_immediate ostree_repo_set_cache_dir ostree_repo_sign_delta ostree_repo_has_object |