From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: Mgr Georg Black <georg.black@seznam.cz>
Cc: git@vger.kernel.org
Subject: Re: Big repository on Aix
Date: Mon, 19 Nov 2018 12:52:38 +0100 [thread overview]
Message-ID: <875zwt1dyx.fsf@evledraar.gmail.com> (raw)
In-Reply-To: <BWV.5ClX.tnCYjSNZAD.1RyfaC@seznam.cz>
On Mon, Nov 19 2018, Mgr Georg Black wrote:
> Hello everyone,
> 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.
> Company has 40 developers. They all works via terminal on aix.
> At this time we have three folders for three versions. Everybody send changes to them via script blocking parallel work.
> 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?
> Thanks for your info.
The first thing you should do is import what you have into git. Then run
"git gc --prune=now'.
Then see how big your checked-out directory is (everything except .git)
and the history (the .git folder).
If it's say 1GB for the working tree and 2GB for the history maybe you
can just use git the simplest of modes. You'd have 3GB of data for each
developer, you have 40 so 3*40=120GB. Let's add RAID 1 to that and end
up at 50% usage, you're still below 500GB of disk space. Is that really
that big of an investment for 40 devs?
If it is there's still things you can do. E.g. shallow clones, or using
altrenates on-disk to de-dupe space. See my
https://public-inbox.org/git/87muwzc2kv.fsf@evledraar.gmail.com/ and
https://public-inbox.org/git/87in7nbi5b.fsf@evledraar.gmail.com/ for
some details. That needs to be managed very carefully least you
introduce repository corruption, but it would bring the disk space down
to something closer to 40GB for these 40 developers in this example.
prev parent reply other threads:[~2018-11-19 11:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-19 11:05 Big repository on Aix Mgr Georg Black
2018-11-19 11:52 ` Ævar Arnfjörð Bjarmason [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875zwt1dyx.fsf@evledraar.gmail.com \
--to=avarab@gmail.com \
--cc=georg.black@seznam.cz \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).