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
This is the easy part.
This is the part that makes no sense to me because 1) instructions are all over the place 2) it's not 100% clear to me what are the parts for hacks and what aren't 3) don't tell me where or how to do this. I feel like I'm back when I got into dev work since there were zero instructions for newbies on windows.
no subject
(I hope that doesn't come across as dismissive! I am just crap at documentation and I am happy other people are working on it who are not me.)
no subject
no subject
Pretty much all of the directions here are for Dreamhack moving over while logged in through PuTTy, but I think what is lacking is what happens AFTER that for trying to develop anything. I will make that my top documentation priority now.
no subject
Also thank you very much. I'm sorry I commented on the dw_wiki entry before I saw your comment.
no subject
Probably the first thing is to transfer over your development environment to Git. Fortunately, it is very forgiving--since you just move the old one out of the way, if it ends up messed up, or you want to go back to the old one for whatever reason, you could just move it back and everything would be okay.
We can work on improving this document as we go along:
http://wiki.dwscoalition.org/wiki/index.php/Moving_your_Dreamwidth_installation_to_use_Github
The first time you run into a question, just comment, and I or
no subject
So the the first git clone command gives me an error:
fatal: https://github.com/ninetyd/dw-free.git/info/refs not found: did you run git update-server-info on the server?
Also I used my username on github (ninetyd) as my username. Should I have used something else?
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)
no subject
I'll be lurking around in case you run into any issues; I may have to head to bed soon, but fey is around, and I will be checking in first thing in my morning!
no subject
no subject
no subject
Edit: reread your comment as the page reloaded it and I wanted to clarify something. It's no so much 'encourage' as 'welcome': discussion wherever it takes place is welcome and will get a response, even if it can take some time depending on the mode of communication. Also related, it feels like some info bypasses (edit: not the right word but at least correct grammar) official DW comms entirely, which I've always found odd, and thus preventing comments from happening there because there isn't simply anything to comment on.