How to start well for a special git construction
- From
- bruno le hyaric <bruno.lehyaric@gmail.com>
- Date
- Mar 18, 2010, 19:26 UTC
- Message-ID
- <e8be804e1003181226y20328151s75641f4341ca12d8@mail.gmail.com>
Hi,
I'm working on an e-commerce development project based on Ruby on Rails.
On the left hand, I use one framework : Spree ; on the other hand , I use Flex generation with another framework : RestfulX; on my third hand ^^, I want to merge both in a third directory.
Basically, my root folder contains one directory for each : ./spree, ./restfulx, ./merge
The merge is a bit special, because Spree is a framework wich provide extension feature, and Spree extensions are located in ./spree/vendor/extensions/extension_name. I want to merge resttfulx folder as a spree extension (I heard about git-module, is this the good way to solve my problem?)
Moreover, in both folder ./spree and ./restfulx I wan't to manage all files with git (except databases and logs), but in ./restfulx there are only few files I need to merge in ./merge. Those files are the result of code generation from RestfulX. So I think I have to use branch, one with all files, one which only contains files to 'deliver' in ./merge.
In my current vision of git, I think branches are used for parallel developments and are merged together after. In other words, in my company I'm used to use ClearCase, and to have a development stream, an integration stream and a release one, in the release stream, we only deliver executable files, not all source code... I don't know if Git branches can be seen as Clearcase streams...
Actually, I'm not in the company and I try to build the same development process automated with git with framework installation (Spree), code generation (RestfulX) and integration (./merge).
Any advice on how to start will be very helpful. Do I need several repositories? Can I use Git-plugins to integrate ./restfulx at a special location in ./merge? Can I merge only specific files from a repository?
Best regards,
Bruno.
--------------------------------------------------------------------------- ---------------------------------------------------------- Spree mailing list, this topic : http://groups.google.com/group/spree-user/browse_thread/thread/4797e4... RestfulX mailing list, this topic : http://groups.google.com/group/restfulx-framework/browse_thread/threa...