[git-users] Independent modules

2013-08-15 Thread pbranc
Hi,

I am completely new in git issues, learning it for one week. Therefore, I 
am thankful for Your leniency.

I develop apps freely divided into modules. Projects are executed in 
external IDE.
Projects structure is as following:

AppDir
- Images
--- - module1
--- - module2
--- - module3
- Scripts
--- - module1
- Libraries
--- - module2
--- - module3
- Translations.xml
- app.xml (starting xml)

Modules are written in independent way. Namely, module1 has structure:
Images - module1
Scripts - module1
Translations.xml
module1.xml (starting xml)

I would like to make separate repositories for each module. Would it be 
possible to store it with git?
Perfect solution would be the structure:

E:\BareRepoDirModule1
E:\BareRepoDirModule2
E:\BareRepoDirModule3

D:\AppDir
- Images
--- - module1
--- - module2
--- - module3
- Scripts
... and so on

Modyfing files in module1 directories I can commit and push to distinct 
bare repository.

I found submodules and subtries - which functionality would be the best?

I would be grateful for Your answers, any initial git commands or tims.
Thanks!

pb2000

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[git-users] Branch performance impact

2013-08-15 Thread Marco Grubert
I have heard conflicting statements about the impact of branching in git. 
Let's say we have 100 feature branches that are all stored in a remote 
repo, would that affect performance (CPU/network) in a noticeable way ? How 
about 1000? 100,000 branches? In other words how does git scale with 
regards to number of branches?

Thank you !

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [git-users] Branch performance impact

2013-08-15 Thread Yawar Amin
Hi,

On 2013-08-15, at 14:03, Marco Grubert grube...@gmail.com wrote:

 I have heard conflicting statements about the impact of branching in git. 
 Let's say we have 100 feature branches that are all stored in a remote repo, 
 would that affect performance (CPU/network) in a noticeable way ? How about 
 1000? 100,000 branches? In other words how does git scale with regards to 
 number of branches?

Remember that git branches are not copies of the files, they are simply 
pointers to commits. So thinking about the two extremes that this allows, you 
could have 100,000 pointers (branches) all referring to the same commit. Or you 
could have 100k branches each referring to a different commit. Thus a 
repository of 100k commits.

Branch lookup and commit checkout times are bound by filesystem and disk 
performance. Checkouts might slow down in a repository with a lot of 
files/commits. But the branch objects themselves are very lightweight.

HTH,

Yawar

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[git-users] Branch level authentication

2013-08-15 Thread Jimit Modi


At our company, we are evaulating to migrate to GIT from SVN. Here we are 
following a process in which we have the following branch and access 
control.

---
| Branch| Purpose  | ACL  |  
---
| `master`  | live copy| AGM  |  
---
| `staging` | staging copy | AGM, TL  |
---
| 'dev` | development copy | AGM, TL, Devs|
---

Now all devs create a feature branch from the dev branch and again merge it 
in dev when they have finished working and push it. Now TL review the work 
and cherry pick or merge dev in staging, depending on the sencario. If 
everything is well they push the changes on staging. Same is done by AGM's 
for master branch.
We want that devs will be able to pull the changes from staging and master 
branch, 
but will not be able to push.

So the question is:
- How can we setup a authentication system where only the allowed one will 
be able to push.?

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.