Is this the proper way to "git" alaska? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179) +----- Forum: Alaska (https://forum.kodi.tv/forumdisplay.php?fid=126) +----- Thread: Is this the proper way to "git" alaska? (/showthread.php?tid=64020) |
Is this the proper way to "git" alaska? - Evanrich - 2009-12-13 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 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 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 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 then: cd Alaska then: git pull - Evanrich - 2009-12-13 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? Quote:#!/bin/bash - hikaricore - 2009-12-13 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. :p Fairly unlikely occurrence but things happen. - Evanrich - 2009-12-13 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 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 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: Code: crontab -e Wikipedia does a half decent job of explaining the rest. http://en.wikipedia.org/wiki/Crontab#Operators - Evanrich - 2009-12-13 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 - uncertainty - 2009-12-13 hikaricore Wrote:lol wut? that's not where cron stores anything... that would be the syslog (system log) file Depends on the version of ubuntu....7.x stores cron logs in the syslog file by default.... Don't shoot the messenger...heh |