ninetydegrees (90d)☕ (
ninetydegrees) wrote in
dw_dev_training2012-08-23 01:49 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
Entry tags:
Fetching updates on Dreamhack?
How does one update their repos on their hack now? The 'old' script no longer pulls anything for me (what used to be on http://wiki.dwscoalition.org/wiki/index.php/Dev_Maintenance) and I don't understand how I can keep up with changes. :/
(Context: I'm on Windows; I use PuTTY and WinSCP).
Edit: ok, if anybody else wonders, short answer is you can no longer update your hack using old methods. :/
Edit 2: long answer is you can switch to the new system. See comments for detailed instructions. :)
(Context: I'm on Windows; I use PuTTY and WinSCP).
Edit: ok, if anybody else wonders, short answer is you can no longer update your hack using old methods. :/
Edit 2: long answer is you can switch to the new system. See comments for detailed instructions. :)
no subject
no subject
Edit: Aren't these are what I'm supposed to do in Git Shell and not the old system? This is very confusing.
no subject
no subject
no subject
When you were told you could keep working "the old way," that referred specifically to the patch submission process, not the update process. You are still able to submit patches through Bugzilla instead of having to create a Github pull request. But if you want to work against the very latest code, you will need to download it from the git repository.
I'm sorry if this is upsetting for you! I know it's a lot to take in and there hasn't been a lot of communication because the kinks in the process are still being worked out.
no subject
Huh, I totally missed that. I guess I have a lot of work to do before I can actually go back to coding again, then.
Was there an announcement I missed? I'm not seeing anything on
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
NEW THREAD
I am assuming we want to work through what happens when making changes now?
Re: NEW THREAD
The git stash thing seems simple enough although I'll have questions about that later so first thing I want to know is how grab updates because that's always the first thing I do so updating dwu I guess? If so can you link the two scripts with && \?
Re: NEW THREAD
I went through the Dev Maintenance first section and changed things based on my experiences. Basically, since you should be doing your changes on their own branches, you'll need to checkout the main develop branch, and then pull from the Dreamwidth repository, then push it back to your Dreamwidth fork. If you could look at the changes I made and see if they make sense, I would much appreciate it.
Re: NEW THREAD
Re: NEW THREAD
Re: NEW THREAD
Re: NEW THREAD
Re: NEW THREAD
Re: NEW THREAD
Re: NEW THREAD
Re: NEW THREAD
Re: NEW THREAD
Re: NEW THREAD
Re: NEW THREAD
Re: NEW THREAD
Re: NEW THREAD
Re: NEW THREAD
Re: NEW THREAD
no subject
I have also made slight changes to the moving instructions that I hope will improve them for folks new to them.
no subject
Question: do new users have to move the old hack as well or is it just for people who already had one? And what about the other instructions while I'm at it?
no subject
New users still have to move the old hack--I think Sophie has not yet made a new process for setting up. (It's tricky because of all the account stuff that goes on with Github now.)
I'm assuming by other instructions you mean flow stuff like making a branch, committing changes to it, pushing them up to Github and making a pull request, yes? Because we can make them right now!
no subject
No, I meant all the other instructions on the Moving... page but it was a stupid question because yeah of course.
GitHub Workflow
Re: GitHub Workflow
Making a pull request
Two questions:
a) Should I do that since we're supposed to be upload patches the True and Tried way (Mark's words :)?
b) If I'm not should I simply generate the diff and upload it as my patch on Zilla? Or do something else?
Re: GitHub Workflow
I think that Mark was making a joke about the True and Tried way (or maybe saying that we wouldn't be getting rid of that just yet? I don't remember the context in which he said it)
So yup just make a pull request :)
Re: GitHub Workflow
One more question: my original branch didn't have a correct name so I tried to rename it using branch -m. Bad move because now what I see in PuTTY and on GH are different now. On PuTTY everything went fine; On GH it just created a new branch with the name I wanted. How do I get rid of the old branch on GH?
Re: GitHub Workflow
git branch -r -d origin/OLDBRANCHNAME
Note: the origin is part of it and (probably) shouldn't be changed.
If you want to get a list of all your remote branches to be really sure, do this:
git branch -r
Re: GitHub Workflow
Re: GitHub Workflow
Re: GitHub Workflow
Re: GitHub Workflow
dw-old?
Re: dw-old?
Re: dw-old?
Re: dw-old?
Re: dw-old?