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

Specify source for images --refresh flag #86

Closed
vilhelmprytz opened this issue Dec 17, 2020 · 0 comments · Fixed by #89
Closed

Specify source for images --refresh flag #86

vilhelmprytz opened this issue Dec 17, 2020 · 0 comments · Fixed by #89
Assignees
Labels
new-feature New feature

Comments

@vilhelmprytz
Copy link
Member

Is your feature request related to a problem? Please describe.
When I am working on a new image in another branch, I’d like to fetch images from another branch than master. Or if I am working in a fork, I’d like to be able to fetch the fork instead of the official one.

Describe the solution you'd like
I want wilfred images --refresh to accept branch and/or URL as alternative image source.

Describe alternatives you've considered
None.

Additional context
I found the need for this when working on wilfred-dev/images#2

@vilhelmprytz vilhelmprytz added the new-feature New feature label Dec 17, 2020
@vilhelmprytz vilhelmprytz self-assigned this Dec 17, 2020
vilhelmprytz added a commit that referenced this issue Dec 17, 2020
* using "--branch" you can now set Wilfred to fetch it's default images from another branch than "master"
* using "--repo" you can now set Wilfred to fetch it's default images from another repo than "wilfred-dev/images"

e.g. I have a fork on "vilhelmprytz/images" and I've been working on images in the branch "patch-1". I can tell Wilfred to fetch images from here by running "wilfred images --refresh --repo vilhelmprytz/images --branch patch-1"

fixes #86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature New feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant