-
Notifications
You must be signed in to change notification settings - Fork 810
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
Add branch information for install and update package #685
Conversation
oh-my-fish/packages-main#82 is related repo pull request |
Is this PR dead? Branch support would be helpful when testing plugin PRs locally. |
This has a bunch of unadressed comments, so those should either be handled by the author, handled by whoever merges it or this should be closed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a suggestion to the two changes I think are necessary, so they can be committed. Please confirm, @oh-my-fish/core
Sorry, I have forgotten this PR for a while 😿 . I will follow these comments and modify this PR soon 🚀 . |
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
62d9c9e
to
8eff483
Compare
Could this please be merged and released? This would really help me further develop some plugins that I'm working on :) If this is waiting for testing, let me know :) Happy to test. |
Cool, thanks! |
I think you're close - but I get an error when using $ omf update
Oh My Fish is up to date.
You are now using Oh My Fish version 7-44-gd428b72.
Updating https://github.com/oh-my-fish/packages-main master... Done!
fatal: couldn't find remote ref refs/heads/master
Could not update fish-functions.
bobthefish is already up-to-date.
default is already up-to-date. |
well... I see the PR covers a bit of a different but related issue - I created a separate PR instead: |
Somewhat related to oh-my-fish#905 and oh-my-fish#685
Somewhat related to oh-my-fish#905 and oh-my-fish#685
See #678.
Find branch information in the repository first and then clone (or pull). If package doesn't have a branch attribute,
master
is used as the default branch.Maybe more test is needed for it (especially for function
omf.repo.pull
). I only test them on several packages and themes and it works well, but I don't know wethear this project has some unit tests to go through.