Repository navigation
Reload config - #662
Closed
cgwalters wants to merge 1 commit into
Closed
Reload config#662cgwalters wants to merge 1 commit into
cgwalters wants to merge 1 commit into
Conversation
Member
Author
|
Prep patches in #661 |
Member
|
Hmm, there are other things that we'll probably need to add reload support for (e.g. the repo config itself). Maybe we should call the function |
|
☔ The latest upstream changes (presumably 1fd05fe) made this pull request unmergeable. Please resolve the merge conflicts. |
For a long time we've cached the remote configs in the repo, which mostly makes sense for the `repo/config` file, but less sense for `/etc/ostree/remotes.d`, because we want to support admins interactively editing them. One can delete the repo instance and create a new one, but that's a bit ugly. Let's introduce an API for this so rpm-ostree can reload remotes after admins/scripts edit them in `/etc`. We also might as well reload any other entries in the config. Structurually now, `ostree_repo_open()` deals with file descriptors, and then calls `ostree_repo_reload_config()`. Except for the uncompressed cache, which is the only thing that deals with FDs that can be configured. But we want to delete that anyways. No tests, since...we don't have a daemon in this codebase, don't want to shave that yak just today.
Member
Author
|
Rebased 🏄 And now reloads all of the config ✅ |
cgwalters
force-pushed
the
reload-config
branch
from
February 7, 2017 15:24
01cb029 to
4801f64
Compare
Member
|
Ouuhh very nice! |
|
☀️ Test successful - status-atomicjenkins |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.