{"thread":{"id":"49856","subject":"Big repository on Aix","startedAt":"2018-11-19T11:17:30Z","lastAt":"2018-11-19T11:52:42Z","messageCount":2,"participants":["Mgr Georg Black","Ævar Arnfjörð Bjarmason"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"363626","messageId":"BWV.5ClX.tnCYjSNZAD.1RyfaC@seznam.cz","threadId":"49856","inReplyTo":null,"subject":"Big repository on Aix","fromName":"Mgr Georg Black","fromEmail":"georg.black@seznam.cz","sentAt":"2018-11-19T11:05:48Z","receivedAt":"2018-11-19T11:17:30Z","isPatch":false,"sender":{"key":"georg.black@seznam.cz","avatar":null},"body":"Hello everyone,\nWe have source codes in many files of 20 years development. It's approx 800mb. There are many programs. Every has about 100-200 modules.\nCompany has 40 developers. They all works via terminal on aix.\nAt this time we have three folders for three versions. Everybody send changes to them via script blocking parallel work.\nIt's possible migrate to the Git version system. We are afraid of big local copies for every developer. We have not enough space for 40 x 800MB plus history etc. Exist some less dramatic way?\nThanks for your info.\nBest Regards\nGeorg Black\n"},{"id":"363628","messageId":"875zwt1dyx.fsf@evledraar.gmail.com","threadId":"49856","inReplyTo":"BWV.5ClX.tnCYjSNZAD.1RyfaC@seznam.cz","subject":"Re: Big repository on Aix","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2018-11-19T11:52:38Z","receivedAt":"2018-11-19T11:52:42Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"\nOn Mon, Nov 19 2018, Mgr Georg Black wrote:\n\n> Hello everyone,\n> We have source codes in many files of 20 years development. It's approx 800mb. There are many programs. Every has about 100-200 modules.\n> Company has 40 developers. They all works via terminal on aix.\n> At this time we have three folders for three versions. Everybody send changes to them via script blocking parallel work.\n> It's possible migrate to the Git version system. We are afraid of big local copies for every developer. We have not enough space for 40 x 800MB plus history etc. Exist some less dramatic way?\n> Thanks for your info.\n\nThe first thing you should do is import what you have into git. Then run\n\"git gc --prune=now'.\n\nThen see how big your checked-out directory is (everything except .git)\nand the history (the .git folder).\n\nIf it's say 1GB for the working tree and 2GB for the history maybe you\ncan just use git the simplest of modes. You'd have 3GB of data for each\ndeveloper, you have 40 so 3*40=120GB. Let's add RAID 1 to that and end\nup at 50% usage, you're still below 500GB of disk space. Is that really\nthat big of an investment for 40 devs?\n\nIf it is there's still things you can do. E.g. shallow clones, or using\naltrenates on-disk to de-dupe space. See my\nhttps://public-inbox.org/git/87muwzc2kv.fsf@evledraar.gmail.com/ and\nhttps://public-inbox.org/git/87in7nbi5b.fsf@evledraar.gmail.com/ for\nsome details. That needs to be managed very carefully least you\nintroduce repository corruption, but it would bring the disk space down\nto something closer to 40GB for these 40 developers in this example.\n"}]}