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
Okay, when I go to your page here:
https://github.com/ninetyd
I see that you forked dw-free and dw-nonfree a while ago, but when I try to go to the repository they link to, I get a 404:
https://github.com/ninetyd/dw-free
Is this the case for you while you are logged in? It also says that "ninetyd doesn’t have any public repositories yet".
no subject
Edit: forgot to say: I'm going to take notes to make sure I remember every step so my apologies if I'm slow to answer.
no subject
no subject
no subject
no subject
no subject
Contents of $LJHOME will be live when you start the server
Contents of $LJHOME/ext will be used automatically (no syncing)
It looks like it speaks of the same thing but I don't understand what the difference is, if there is one.
no subject
So the two are the same thing; the differences only relevant if you're comparing against the old way of doing things. Hmm, I'm not quite sure how to explain.
Maybe take out those two points and instead say:
* all code from dw-free ($LJHOME) and the additional repos under $LJHOME/ext are live. There's no need to run any additional syncing steps
no subject
no subject
no subject
I'll try to figure out some alternative wording.
no subject
I was reading over the instructions and realized that they don't have the authenticated versions of the Github URLs, so I have edited them to be like:
git clone https://USERNAME@github.com/USERNAME/dw-free.git $LJHOME
Same with nonfree.
I remember having troubles when it came to actually trying to push anything to my repository without this. I have changed the documentation to reflect the correct things. I'm pretty sure you have already cloned and everything though, but you can change it by being in $LJHOME or $LJHOME/ext/dw-nonfree and going:
git remote set-url origin NEWURL
(you are free to make me explain that some more)
no subject
Missing optional secret 'invite_img_auth': Auth code for invite code status images
Re: the URLs thing. I don't understand if I'm supposed to do something or not.
no subject
So, if you end up trying to push from your Dreamhack, and you used this URL to clone:
git clone https://github.com/USERNAME/dw-free.git $LJHOME
Instead of one that has an authentication added to it:
git clone https://USERNAME@github.com/USERNAME/dw-free.git $LJHOME
It won't know what to do to authenticate when you try and push changes back--although cloning will have worked just fine! But, you can change the URLs in dw-free and dw-nonfree without having to reclone things by using the remote set-url command:
cd $LJHOME
git remote set-url origin https://ninetyd@github.com/ninetyd/dw-free.git $LJHOME
cd $LJHOME/ext/dw-nonfree
git remote set-url origin https://ninetyd@github.com/ninetyd/dw-nonfree.git $LJHOME
That way, when you go to push something, it will ask you for a password and you can provide it.
no subject
fatal: No such URL found: /dreamhack/home/8174-ninetydegrees/dw
no subject
cd $LJHOME
git remote set-url origin https://ninetyd@github.com/ninetyd/dw-free.git
cd $LJHOME/ext/dw-nonfree
git remote set-url origin https://ninetyd@github.com/ninetyd/dw-nonfree.git
no subject