ninetydegrees: Photo: bingo chips (bingo)
ninetydegrees (90d)☕ ([personal profile] ninetydegrees) wrote in [site community profile] dw_dev_training2012-08-23 01:49 pm

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. :)
foxfirefey: A wee rat holds a paw to its mouth. Oh, the shock! (myword)

Re: NEW THREAD

[personal profile] foxfirefey 2012-08-23 07:43 pm (UTC)(link)
Hmm, I would not trust the dwu script that is up there yet, it hasn't taken into account some things I have found. (needing to be on an originating branch, etc). I've never used those scripts myself. So I think doing it by hand and seeing how it happens is ideal for now.

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.
foxfirefey: A picture of a hand where inked stick figures hug across fingers with a heart above them. (hearts)

Re: NEW THREAD

[personal profile] foxfirefey 2012-08-23 08:03 pm (UTC)(link)
Thank YOU so much. I'll be around at the same times tomorrow for you, okay?
foxfirefey: A guy looking ridiculous by doing a fashionable posing with a mouse, slinging the cord over his shoulders. (geek)

Re: NEW THREAD

[personal profile] foxfirefey 2012-08-24 07:07 pm (UTC)(link)
Oh man, we must have passed each other--

I've made some revisions to Dev Maintenance. They basically make this a lot less...dependent on circumstances, in my opinion? Both git pull dreamwidth and git pull had troubles coping with when I was in a different branch and it ended up making things more complicated to make instructions for.

It's normal that it's asking for your password. I'm trying to figure out how to get it to remember the password, since it's kind of annoying.
foxfirefey: A picture of GIR. (gir)

Re: NEW THREAD

[personal profile] foxfirefey 2012-08-24 07:15 pm (UTC)(link)
I think it might be normal if you had styles patches you were working on in the old thing, which I suspect is the case, and now with this new thing those files don't exist anymore, which prompts the update process to be all oh maybe I should delete these and really, never answer yes because I have found out it's far easier to have styles cruft around than to fix it if you had a user using one of those styles that ended up deleted, ha.
foxfirefey: A wee rat holds a paw to its mouth. Oh, the shock! (myword)

Re: NEW THREAD

[personal profile] foxfirefey 2012-08-24 07:23 pm (UTC)(link)
That's kind of strange then. I haven't had that happen and I'm a bit confused as to why it is popping up for you. And the files exist for those styles?

Re: NEW THREAD

[personal profile] swaldman 2012-09-01 08:46 am (UTC)(link)
I don't know if you can git to remember the password for ever, but you can definitely make it remember it for 15 minutes so that you don't have to type it more than that often.

On a dreamhack, type
git config --global credential.helper=cache


I have suggested that this be made a system-wide default on dreamhacks, along with some stuff like putting some outputs into colour.

Re: NEW THREAD

[personal profile] swaldman 2012-09-01 12:28 pm (UTC)(link)
ah - actually, that was me :-)