Git

Please post questions that doesn't fall into the above categories here.

Moderators: yoh-dah, chirpa

Git

Postby richt » Wed Jul 30, 2008 7:21 pm

Has anybody tried installing git on a ReadyNAS or know if this is possible?

Thanks.
richt
ReadyNAS Newbie
 
Posts: 2
Joined: Wed Jul 30, 2008 7:16 pm

Re: Git

Postby a.carneiro » Wed Jul 30, 2008 11:22 pm

When I saw the topic title I thought you were telling someone off... ;)

What on earth is Git?
User avatar
a.carneiro
ReadyNAS Expert
 
Posts: 292
Joined: Sat Jun 02, 2007 1:58 pm
Location: Leeds, UK
ReadyNAS: NV+

Re: Git

Postby bbaraniec » Thu Jul 31, 2008 6:21 am

Best regards
Bartek
----

ReadyNAS Pro Business Edition :: 6xSeagate 1TB (ST31000340AS) in X-RAID2 : 1024 MB : RAIDiator : 4.2.5 : JF Enabled : SSH Enabled
Router :: Linksys WRVS4400N / Wireless-N Gigabit Security Router
Desktop :: E8400@3Ghz : 4096 MB : HDD 500GB Seagate (ST3500320NS) : NIC Marvell Yukon 88E8056 : Windows 7 Ultimate 64bit : JF Disabled
Laptop :: IBM Lenovo T400 : P8600@2.40 GHz : 2048 MB : HDD 160GB @ 7200 Hitachi : NIC Intel 82567LM Gigabit : Windows 7 Ultimate 32bit
Laptop :: IBM Lenovo T60 : T2400@1.83 GHz : 2048 MB : HDD 80GB @ 5400 Seagate Momentus : NIC Intel Pro 1000 : OS XP SP3
Players :: Logitech Squeezebox Duet :: PS3
UPS :: APC Back-UPS CS 350
User avatar
bbaraniec
Advanced ReadyNAS Expert
 
Posts: 650
Joined: Sun Dec 30, 2007 2:00 pm
Location: Poland
ReadyNAS: Pro

Re: Git

Postby richt » Thu Jul 31, 2008 8:22 am

bbaraniec wrote:http://git.or.cz/ ??

Yes, sir
richt
ReadyNAS Newbie
 
Posts: 2
Joined: Wed Jul 30, 2008 7:16 pm

Re: Git

Postby bbaraniec » Thu Jul 31, 2008 9:59 am

From browsing forum I don't remember I saw anything about git before.
I never needed such software, so can't help you, sorry :(
Best regards
Bartek
----

ReadyNAS Pro Business Edition :: 6xSeagate 1TB (ST31000340AS) in X-RAID2 : 1024 MB : RAIDiator : 4.2.5 : JF Enabled : SSH Enabled
Router :: Linksys WRVS4400N / Wireless-N Gigabit Security Router
Desktop :: E8400@3Ghz : 4096 MB : HDD 500GB Seagate (ST3500320NS) : NIC Marvell Yukon 88E8056 : Windows 7 Ultimate 64bit : JF Disabled
Laptop :: IBM Lenovo T400 : P8600@2.40 GHz : 2048 MB : HDD 160GB @ 7200 Hitachi : NIC Intel 82567LM Gigabit : Windows 7 Ultimate 32bit
Laptop :: IBM Lenovo T60 : T2400@1.83 GHz : 2048 MB : HDD 80GB @ 5400 Seagate Momentus : NIC Intel Pro 1000 : OS XP SP3
Players :: Logitech Squeezebox Duet :: PS3
UPS :: APC Back-UPS CS 350
User avatar
bbaraniec
Advanced ReadyNAS Expert
 
Posts: 650
Joined: Sun Dec 30, 2007 2:00 pm
Location: Poland
ReadyNAS: Pro

Re: Git

Postby ryanrk » Mon Aug 04, 2008 10:50 am

richt wrote:Has anybody tried installing git on a ReadyNAS or know if this is possible?

Thanks.


I love to see git on ReadyNas. I think it's far superior then cvs or subversion.
ryanrk
ReadyNAS Newbie
 
Posts: 30
Joined: Fri Sep 08, 2006 2:09 pm

Re: Git

Postby super-poussin » Tue Aug 05, 2008 11:58 pm

svn is available as addon in dev section
If you like my add-ons - Si vous aimez mes add-ons :
Image --- -------- Image
User avatar
super-poussin
ReadyNAS Add-ons Expert
 
Posts: 3935
Joined: Fri Jul 13, 2007 1:16 pm
ReadyNAS: Pro

Re: Git

Postby andreocean » Sat Aug 23, 2008 10:24 pm

1) Install the APT add-on from the addons page at http://www.readynas.com/?page_id=93
2) Add sarge-backports to your sources.list. That basically means to paste this line at the end of the file /etc/apt/sources.list:
deb http://www.backports.org/debian/ sarge-backports main

3) apt-get update
4) apt-get install git-core

You're done!

...now does anyone want to figure out how to get Gitosis installed? There are good directions (and a .deb) at http://vafer.org/blog/20080115011413, but the deb has dependencies that aren't in the sarge or sarge-backports trees. :(
andreocean
ReadyNAS Newbie
 
Posts: 38
Joined: Tue Dec 25, 2007 5:37 pm

Re: Git

Postby edwh » Sun Mar 22, 2009 9:57 am

That sarge directory doesn't seem to be there any more. Is there a new URL?
edwh
ReadyNAS Newbie
 
Posts: 8
Joined: Thu Jan 08, 2009 1:26 pm

Re: Git

Postby TaffyDownUnder » Mon Apr 13, 2009 1:15 am

I've used the following to build Git from source on a Duo; as of yet I haven't done that much testing and there were some warnings during the build about a potential conflict between versions of the libcrypto library used by curl ... so use with caution.

First SSH onto the NAS and set up a development environment as per http://www.readynas.com/forum/viewtopic.php?f=35&t=14903
Basically:
Code: Select all
sudo apt-get update
sudo apt-get install libc6-dev
sudo apt-get install gcc
sudo apt-get install gdb
sudo apt-get install libtag1-dev
sudo apt-get install uuid-dev


Now ensure additional packages required by the build are on your NAS:
Code: Select all
sudo apt-get install expat
sudo apt-get install libexpat1-dev
sudo apt-get install curl
sudo apt-get install libcurl3-dev
sudo apt-get install zlib
sudo apt-get install openssl
sudo apt-get install libssl-dev
sudo apt-get install tcl8.4-dev


Seems that the Perl install on the NAS has had a few things removed so we reinstall Perl:
Code: Select all
sudo apt-get --reinstall install perl
sudo apt-get --reinstall install perl-modules


Obtain GIT source and unpack to /usr/src:
Code: Select all
cd /usr/src
sudo wget http://kernel.org/pub/software/scm/git/git-1.6.2.3.tar.bz2
sudo tar -xvjpf git-1.6.2.3.tar.bz2



Build and install GIT (this takes awhile):
Code: Select all
cd /usr/src/git-1.6.2.3
sudo make prefix=/usr install


At this point you should have a built version of git in /usr/bin.

At some point you may want to clean up to save space:
Code: Select all
sudo apt-get clean
cd /usr/src/git-1.6.2.3
sudo make clean

You may even want to zip or remove the code under /usr/src/git-1.6.2.3

NOTE: you still have to set up the git-daemon to run via inetd
TaffyDownUnder
ReadyNAS Newbie
 
Posts: 22
Joined: Sat Jan 17, 2009 4:30 pm
ReadyNAS: Duo

Re: Git

Postby Raz0rEdge » Mon Apr 13, 2009 6:10 am

edwh wrote:That sarge directory doesn't seem to be there any more. Is there a new URL?

Etch-backports and Lenny-backports have replaced Sarge-backports, however, there is a conflict with the installed packages on the NV with what git-core wants on my NV, running the 4.1.5-T74 firmware, so it doesn't install.

So compiling from source might be your best option of getting this to work..
Raz0rEdge
ReadyNAS Newbie
 
Posts: 34
Joined: Thu Feb 26, 2009 1:56 pm
ReadyNAS: NV+

Re: Git

Postby Raz0rEdge » Mon Apr 13, 2009 8:48 am

In reply to myself, I found another repo that has the Sarge-backports files needed to get get GIT running. The version of GIT is 1.5.4.1 which isn't too old..

Ensure that your /etc/apt/sources.list contains:
deb http://www.readynas.com/packages readynas/
deb http://archive.debian.org/debian-security sarge/updates main contrib non-free
deb http://archive.debian.org/backports.org sarge-backports main contrib non-free
deb http://archive.debian.org/debian sarge main contrib non-free

deb-src http://archive.debian.org/debian-security sarge/updates main contrib non-free
deb-src http://archive.debian.org/backports.org sarge-backports main contrib non-free
deb-src http://archive.debian.org/debian sarge main contrib non-free

Then;
  1. apt-get update
  2. apt-get install git-core
  3. apt-get clean
Raz0rEdge
ReadyNAS Newbie
 
Posts: 34
Joined: Thu Feb 26, 2009 1:56 pm
ReadyNAS: NV+

Re: Git

Postby Infinite » Fri Nov 20, 2009 3:40 am

Anyone know if Git has log file that I need to be careful about?
ReadyNas Pro, NV+, Duo
User avatar
Infinite
ReadyNAS User
 
Posts: 62
Joined: Thu Jan 04, 2007 10:25 pm
Location: Seattle, WA
ReadyNAS: Pro


Return to General Questions (English)

Who is online

Users browsing this forum: No registered users and 4 guests