Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend API to include ADD_OR_UPDATE operation #1434

Open
adds68 opened this issue Jan 26, 2018 · 1 comment
Open

Extend API to include ADD_OR_UPDATE operation #1434

adds68 opened this issue Jan 26, 2018 · 1 comment

Comments

@adds68
Copy link

adds68 commented Jan 26, 2018

* OstreeRepoRemoteChange:

We have faced an issue in Buildstream, where we are adding a remote ostree repo to our build.

The issue in Buildstream occurs when a URL has been previously configured fora build, but the REMOTE_URL gets changed before the next build is run, the old REMOTE_URL is maintained, causing the new URL to be ignored as ADD_IF_NOT_EXISTS, fails to UPDATE the URL as of course it has already been set.

It would be nice to have a method, which checks to see if the current URL has been set, if it has, then it UPDATEs the URL, if it hasn't then it simply ADDs the current URL as the remote.

@cgwalters
Copy link
Member

See #1166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants