Project With Reusable Libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Consider a directory tree something like this:

	...
	foo\
	  bar\
	   project-root\
	     app1\
	         contents of app1
	     app2\
	         contents of app2
	     lib1\
	         contents of library 1
	     lib2\
	         contents of library 2


Each project, whether application or library, has its own git repository
already.  A program, say app1, is now dependant on the libraries.  The
libraries are meant to be used in multiple applications.

This is not like what is described under subprojects, since the libs are
not "under" the application, but are peers in the directory structure.
It would be wrong to put lib1 and lib2 as subdirectories of app1 because
they are also used by app2, right?

Then again... if app1 and app2 are not always built as part of the same
set, they might have different versions of the libs specified.  I
understand that the newer versions of msysgit do hard linking so having
multiple repositories for the same thing won't waste disk space, but
still requires fetching to keep them in sync?

Anyway, how would you do it?

TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux