[beginner] updating via github
#46
Still not getting anywhere with this. If anyone had a step by step walkthrough, on windows that would be fantastic.
Reply
#47
+1
Reply
#48
kulprit Wrote:Still not getting anywhere with this. If anyone had a step by step walkthrough, on windows that would be fantastic.

Not sure if anyones gone through my walkthrough on page 2. Haven't had anyone say it didn't work though. ;)


yazgar Wrote:Thought I'd post my own bit of help for anyone having trouble "gettin" git. ???

This is for windows uses ie xp / vista, and will use msysgit with its command line interface (don't stress, it's easier than the GUI option..honest)


I almost gave up myself and was just going to keep downloading the new auriga zip files every few days to keep it as fresh as possible.

The problem with that is you are downloading everything all over again!! This is why all this "git pull" talk is so popular at the moment, because it will check what has changed on djh's hard drive - well just about :;): - and only update anything that he's changed! Instantly - well just about :;):

Now let me just say, I had never heard of git, have hardly used command prompt stuff, and would probably call myself a "jack of all trades and a master of none" when it comes to all things PC. So if i go around things a bit arse backwards - apologies in advance.

I went about it a bit differently because I already had a copy of auriga in my C:program files/xbmc/skin/ directory, so this is where I'll tell you to start! ready..go..
  • We need an auriga folder inside your XBMC skin directory. ie mine is - C:program files/xbmc/skin/auriga, and in there is all skin stuff! So if you have already been downloading the zip files from git and have it in an auriga folder then you're good to go. If not go here and click the download button, then choose zip file from popup to download. Unzip it and go into the folders until you see the 720p folder, language folder etc, select everything here and copy.
    Go to your install directory, (like mine above) and create an auriga folder inside the skin folder and paste all that stuff you just copied in there.
  • You'll also need to download the latest fonts folder from here. Put the fonts folder into the auriga folder as well.
  • Now we need to download msysgit from here. Once you have it, run it, just leave everything default BUT MAKE SURE you select the git bash choice during install because that's the command line interface we want to use.
  • Once it's installed, find the Git Bash icon in your start menu or desktop and start it up. It's just a simple command line type of deal.
    type the following so that it looks EXACTLY like this below - spaces and all - obviously where it says 'your email' you actually put in your real email address!

    $ ssh-keygen -C "your@email.com" -t rsa

    and press enter.

    This creates a key file called id_rsa.pub and saves it either here for vista people- C:\Users\YourNameHere\.ssh\ or C:\Documents and Settings\YourNameHere\.ssh\ for XP users.
  • Leave Git Bash for a minute and go find that .ssh folder from one of the paths above, right click the id_rsa.pub file inside and open it with notepad. It will look like a bunch of numbers and letters with your email at the end, select all and copy!
  • OK, leave all that for now and go to GIT and register on the site here. Put in a user name , password etc. In the SSH public key box we need to paste all the stuff you just copied from the id_rsa.pub file you opened with notepad. So paste that in hit the sign me up button!
Almost there..really!.. Honest ;
  • Now we can go back to Git Bash. To use the "git pull" command correctly we need to issue the command from the auriga directory. At the moment Git Bash probably looks something like this:

    Username@PCNAME ~
    $


    We need to point this to our auriga folder. This may be different for you depending on your drive letter, or if, like me you map a drive over a network.
    Best way is to navigate to your auriga skin directory in windows explorer and use the address bar as a guide. The standard thing to type would probably be something like:
    $ cd C:/program files/xbmc/skin/auriga

    Press enter. If it finds auriga it should now say:

    Username@PCNAME /c/program files/xbmc/skin/auriga <master>
    $


    As long as you get that <master> part your set. All you need to do now is issue the pull command:

    $ git pull git://github.com/djh/aeon.git auriga

If it's way out of date it may update (download) lots, it may update nothing. I just checked now - last update about 4 hrs ago when I started this! and it shows that Duncan has been busy as usual!! This is what an update looks like:

Image

Now hopefully it all went PERFECT!...if not, either you messed up or I did ;) .Check you did all the steps and typed and pasted everything, check your / \ are the right way round and spaces all in the right spot. It is getting late and I just wrote all this from memory so I pray I didn't forget some major step, if I did let me know.
Now whenever you want to update, just open Git Bash, cd to the correct directory and issue the git pull command and you'll always be on the cutting edge.

Well I'm done! Hope this helped make things clearer than mud.
Reply
#49
well as i've just stated it didnt work for me :/
I'm obviously doing something wrong i just cant work out what
I've spent quiet a few hours already Sad
Reply
#50
Works for me yazgar, i don;t know how i missed that post. Fantastic work, although where you say "As long as you get that <master> part your set." i get <675b575....> instead of master. Any idea why?
Reply
#51
Glad it helped. As for the <master> thing, no idea?? Noticed that someone else posted somewhere with <origin>. I downloaded the full auriga zip so maybe that has something to do with it. Did you do this for the initial 'install' or did you use clone to download auriga?
Reply
#52
Can't get it to say <master>, any ideas?

Think I have a problem with "logging in" to git bash. It says "Livingroom@Livingroom-PC" not "username@Livingroom-PC". Think I got this working earlier, anyone that can help?

Edit: As you probably understand, Livingroom isn't my Git username! Smile
Reply
#53
This thread is getting confusing with different people having different problems. There are several guides out there that will help you do this from the very beginning. Please try and start over with one of them (delete the "aeon" folder from the "skin" directory to start over), and if you still can't get it to work create a new thread documenting your attempt. I will try to find time today to write up a guide for the Git GUI and Git Bash on Windows today.
[04/03/2009 04:42:13PM Agent (Prashant_190023): "You are most welcome to the best democratic countries of the world -- India"] --Dell Chat
Reply
#54
yazgar Wrote:Not sure if anyones gone through my walkthrough on page 2. Haven't had anyone say it didn't work though. Wink

Thanks for the awesome guide, yazgar. I don't believe it is necessary to perform all of these steps, such as the key generation, however. Those steps are for users intending on contributing (and actually have permissions to push data to the server), and if someone is reading your guide for help setting git up, chances are they won't be contributing.

It should be as simple as installing msysgit, navigating to the skins directory, initializing the aeon repository, and pulling the data.
[04/03/2009 04:42:13PM Agent (Prashant_190023): "You are most welcome to the best democratic countries of the world -- India"] --Dell Chat
Reply
#55
mojario Wrote:so i'm a bit stuck. also i was unable to have it say my directory with (master) after it.. not sure if thats of any concern


thanks for any help

May pay to wait for rickatnight11 to post his simplified guide mojario

Hey Mojario, Lets see if we can get this going for you and others. I haven't reread the older posts but lets start fresh anyway. First if you can just quote reply to this post and just fill in the answers to these questions so I can get an idea of where you're at. (I know some of them sound patronizing, pls don't be offended as that is not my intent, just don't want to miss something simple~ also it may help someone else who reads it.)

-running windows?

-what is the path that leads to your xbmc skin folder. ie c:program files\etc etc...\skin\

-Have you downloaded the auriga zip from the right place.

Image

-have you downloaded and installed gitbash 1.6.2.2 ?

-if yes to the above, have you started gitbash and run the $ ssh-keygen -C "your@email.com" -t rsa command and then found / opened with notepad the .pub file it created.

-have you signed up on the github.com website? used the same email address as in gitbash and pasted the contents of the .pub file from notepad into the ssh box?

Lets just start with that.




Quote:Can't get it to say <master>, any ideas?

Think I have a problem with "logging in" to git bash. It says "Livingroom@Livingroom-PC" not "username@Livingroom-PC". Think I got this working earlier, anyone that can help?

Not sure where its pulling the "____"@livingroom-PC part from. Yazgar is the username I used to signup with github.com but its also my username on my laptop, on gitbash it has Yazgar@GAZ-PC ~ where GAZ-PC is my laptop network name. If you can navigate to your skin directory by typing something like $ cd C:/program files/xbmc/skin/auriga and then typing $ git pull git://github.com/djh/aeon.git auriga ,then it shouldn't matter too much.


Quote:It should be as simple as installing msysgit, navigating to the skins directory, initializing the aeon repository, and pulling the data.

I'd love to test this but after spending days getting it to work I'm not game. lol. Is that all you did, no ssh key or reg?

Quote:This thread is getting confusing...........Please try and start over with one of them (delete the "aeon" folder from the "skin" directory to start over), and if you still can't get it to work create a new thread documenting your attempt

Have to agree with rickatnight11, all the info is here, it maybe a matter of just stepping back and starting from scratch. ~Also feel free to copy/paste any of my previous post for that guide of yours if it helps.
Reply
#56
Yeah, I didn't need to set up that info. It was just a simple clone and pull. I'm working on a guide right now that provides the minimum hassle to get things working. Will definitely use some your guide, thanks.
[04/03/2009 04:42:13PM Agent (Prashant_190023): "You are most welcome to the best democratic countries of the world -- India"] --Dell Chat
Reply
#57
rickatnight11 Wrote:Yeah, I didn't need to set up that info. It was just a simple clone and pull. I'm working on a guide right now that provides the minimum hassle to get things working. Will definitely use some your guide, thanks.

Well that removes some of the harder steps. Distilling all this into a simplified guide should help lots. Good work.

Seems silly but I wanted to mention the mistake I made early on when trying to navigate to the skin directory in Gitbash. I was typing the path as windows explorer stated it - C:program files\xbmc\skin\auriga but in gitbash you have to use the / not \ ie C:program files/xbmc/skin/auriga. Spent an hour or more going in circles with that one. lol
Reply
#58
Yeah, cross-platform standards will stickle you 'till the day you die.
[04/03/2009 04:42:13PM Agent (Prashant_190023): "You are most welcome to the best democratic countries of the world -- India"] --Dell Chat
Reply
#59
rickatnight11 Wrote:Yeah, cross-platform standards will stickle you 'till the day you die.
I hear rumblings of Google releasing an OS. lol - "one ring to rule them all" perhaps.

So as not to go OT. Once you all have gitbash going, if you leave it running and want to check for a new update just use CTRL + P to save you retyping the whole git pull git://..blah..blah again.
Reply

Logout Mark Read Team Forum Stats Members Help
[beginner] updating via github0