Is this the proper way to "git" alaska? - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Skin Help and Support (/forumdisplay.php?fid=67)
+---- Forum: Alaska (/forumdisplay.php?fid=126)
+---- Thread: Is this the proper way to "git" alaska? (/showthread.php?tid=64020)
Pages: 1 2
Is this the proper way to "git" alaska? - Evanrich - 2009-12-13 03:19
Like what I did there with the title?
I'm just wondering if this is the proper way to git-pull alaska on ubuntu...I've never done it this way, I'm used to downloading the zip's, so let me know if this is wrong please I pulled the directions from the Aeon how-to, and changed the names to what I have or what I think they should be.
rickatnight11 Wrote:2.1 Using Git (Ubuntu Linux)
- hikaricore - 2009-12-13 03:28
That looks to be it but I don't think you need this step:
Quote:git checkout -b master origin/master
You've already run git clone so a checkout seems redundant.
- uncertainty - 2009-12-13 04:14
hikaricore Wrote:That looks to be it but I don't think you need this step:
That is correct as the additional step for the Aeon git was due to multiple branches available. Alaska atm has just one branch..
- mcborzu - 2009-12-13 04:26
I love git, at first it seemed kind of confusing but it's really easy once you have the skin downloaded to update:
cd "h:\Program Files\XBMC\skin" -which is saved so all I have to do is press up twice
- Evanrich - 2009-12-13 04:28
thanks for the replies. I tried it, without the last line of course (just git-pull) and it worked...very easy.
Now, anyone here good with bash scripting know how i can write something that I can run from the command line when I log in as XBMC or root users to make this even simpler? I know how to do it with batch files of course, but I know nothing about unix scripting. Either that, or perhaps someway to setup a cron-job to run a check every other day or so?
Edit, just found a tutorial, would it be as easy as something like this?
- hikaricore - 2009-12-13 04:45
That'll do it, just save that script in your home folder or something, chmod +x the file, and add it to cron.
Just be aware that this could cause skin breakage if you git pull while hitcher is in the middle of updating or something.
Fairly unlikely occurrence but things happen.
- Evanrich - 2009-12-13 05:03
hikaricore Wrote:That'll do it, just save that script in your home folder or something, chmod +x the file, and add it to cron.
dumb question, but where is the cron job log located? I checked /etc but can't find a cron list in there, and tried running "crontab" but it can't find that either...where is it located? I've searched and found posts saying how to create cron jobs, but nothing yet on where to actually find it? I'm running the Live version installed to a SSD
- uncertainty - 2009-12-13 05:36
Evanrich Wrote:dumb question, but where is the cron job log located?
By default it should be in /var/log/syslog
- hikaricore - 2009-12-13 05:50
uncertainty Wrote:By default it should be in /var/log/syslog
lol wut? that's not where cron stores anything... that would be the syslog (system log) file
Just open a terminal and type:
Wikipedia does a half decent job of explaining the rest.
- Evanrich - 2009-12-13 06:22
hikaricore Wrote:lol wut? that's not where cron stores anything... that would be the syslog (system log) file
doesnt' look like it exists... did both a "find" for it, and tried running it, thats why i had to ask I'm thinking I might need to "apt-get install cron" to get this to work.
EDIT: so just did a backup (to be safe) and then ran the apt-get install cron command, i now have crontab...looks like it's not included in the LIVE Iso.
Thanks for the help guys