2008-10-08 11:16:15     SVN versus GIT

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

2008-10-08 11:16:15     SVN versus GIT

Frank Van Hooft (CANADA)

Message: 63275   

 

I was just wondering where we should be getting the latest sources from: SVN or GIT?  Or are they exact mirrors of each other?

 

At the moment I'm using SVN. But poking around the u-boot R1.5 release files on this site, it _appears_ there's been more recent activity on the GIT repository than there's been on the SVN repository. But, I could just be looking at it all wrong.

 

Anyway, any recommendations on which repository we should be grabbing files from would be appreciated. Thanks.

QuoteReplyEditDelete

 

 

2008-10-08 13:40:02     Re: SVN versus GIT

Mike Frysinger (UNITED STATES)

Message: 63276   

 

as the git webpage says, it is an exact read-only mirror of svn

QuoteReplyEditDelete

 

 

2008-10-08 14:08:20     Re: SVN versus GIT

Frank Van Hooft (CANADA)

Message: 63278   

 

Thanks.

QuoteReplyEditDelete

 

 

2010-08-31 11:31:09     Re: SVN versus GIT

Rob Maris (GERMANY)

Message: 92973   

 

Yesterday, I loaded git distribution. Contrary to SVN, linux kernel is not included. I suppose that the presense of /linux-2.6.x in .gitignore allows for placing the kernel repository without conflicts.

QuoteReplyEditDelete

 

 

2010-08-31 11:38:59     Re: SVN versus GIT

Mike Frysinger (UNITED STATES)

Message: 92974   

 

yes.  although the svn linux-2.6.x is only a link to the linux-kernel repo ... it isnt directly included either.

 

i believe git submodules might be useful here, but i'm not entirely sure how that works.  every time ive tried, ive just screwed things up.

QuoteReplyEditDelete

 

 

2010-09-01 04:21:35     Re: SVN versus GIT

Mike Sinkovsky (RUSSIAN FEDERATION)

Message: 93012   

 

I use git, and both uclinux-dist and linux-kernel as submodules of my own git repository.

 

uclinux-dist/linux-2.6.x is symlink to ../linux-kernel

 

In my root directory  Makefile calls uclinux Makefile:

 

BFINDIR = /opt/bfin-2010-06-15

TOOLS1 = $(BFINDIR)/bfin-linux-uclibc/bin

TOOLS2 = $(BFINDIR)/bfin-uclinux/bin

TOOLS3 = $(BFINDIR)/bfin-elf/bin

PATH := $(PATH):$(TOOLS1):$(TOOLS2):$(TOOLS3)

TRIKOMDIR = $(shell pwd)

 

all %: uclinux-dist/Makefile

  $(MAKE) -C uclinux-dist \

    BFINDIR=$(BFINDIR) \

    TRIKOMDIR=$(TRIKOMDIR) \

    STAGEDIR=$(TRIKOMDIR)/.staging \

    ROMFSDIR=$(TRIKOMDIR)/.rootfs \

    IMAGEDIR=$(TRIKOMDIR)/.images \

    DL=$(TRIKOMDIR)/.dl \

    $@

 

uclinux-dist/Makefile:

    git submodule update --init

    touch Makefile

Attachments

    Outcomes