-
-
Notifications
You must be signed in to change notification settings - Fork 561
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
from Construct developer, a note #222
Comments
Could you grant me write access so I could work on patches on local branches? |
PRs fixing issues & improving things are very welcome. We use that as a mechanism to allow easier code reviews & pre-commit QA to keep everyone involved in a loop. |
I am going to use PRs but its a pain in the butt to pull from forked repository. Much easier to work on local side-branch when doing PRs. |
I've added this repo as "upstream" remote and then configured my local master branch to use it by default ( |
How can I make this repo "upstream", thats a different command, right? |
If you have a local clone of your python-miio fork on github, then:
then
should pull master branch from this repository to your local master branch by default.
Of course the name "upstream" can be anything you want. It's just a name. I like "upstream" as it clearly describe what it is. |
How does |
My local repo is up to date, so it's hard to tell but:
|
Thats very helpful, thanks. I used to just delete the fork repo and re-fork it. 😕 |
You need to remember though that this will not automatically keep your github fork's master branch up to date. It just point your local branch to pull from this repo by default. If, for some reason, you want to also keep your origin/master up to date, then after pulling from here, you need to run:
But I think this is not really necessary. |
Thanks again for the tutorial @yawor . I learned something useful. |
I am having problems with using upstream branch, could you just give me write access? I have 2 more PRs to be added, and the idea of reforking repo each time seems just dull. Well, maybe this would work: https://stackoverflow.com/a/9646323/2375119 |
Hi, and sorry for not getting back before. In generally there is only do a fork once (you can always use branches for different PRs), and just keep it up to date with with the upstream. Homeassistant's guide is pretty much what I do for all the repositories I contribute (although the branch is usually As you have probably also noticed I do not usually write into this repo directly either, but more or less everything goes through the PR process and I'm not very eager giving write access just for doing contributions, no offence. |
I am the developer of Construct (a parsing library) since I took over the project 2 years ago. Please refer any other projects that also use this library to this post, or copy it over to them.
Construct is undergoing heavy changes at the moment, similar to those between 2.5->2.8, including addition of compiler feature (to make it much faster than Kaitai), but also several classes are going to be removed (for a good reason), and also few were added. API will be unstable for about a month.
What you can do:
Close this topic at your discretion.
The text was updated successfully, but these errors were encountered: