[sabayon-dev] RFC: switching to CVS

2013-04-01 Thread Sławomir Nizio
Hello all,

As you may know, Sabayon uses git for its repositories.
It is a good version control system: it is fast, has
really good support for branching, support for rewriting
history (which has good use cases) and is pretty well
known among VCSs).

However, there is nothing without disadvantages and git
has them too. What really bothers me is that it stores
the full history on disk… well, not this, but the disk
space needed for it. Even though it is able to store years
of history using a relatively small amount of space,
it still requires more than some people need. It also
increases time needed for initial checkout.

Shallow clones are there, but they are not the perfect
solution (when you update the repository, size of .git
increases and as far as I know, you can't tell it easily
keep as small amount of history as possible).

Instead, I'm proposing a solution that is superior to this.
Let's use CVS.

A bit of background information: CVS is a centralized
application that does version control. It is old and proven
No surprise that big projects like Gentoo have chosen
to use it! At the basic level, it does exactly what every
application of this kind does. You can create an initial
checkout, update a repository, commit, make branches, merge
them, view history… Everything you need in this small
package. And, what is important, you don't store the full
history on disk!

Okay, disk space is so cheap! - but you have SSD drives that
are not that cheap, you have small devices with small disks,
and then with CVS there's no need to fetch everything during the
initial checkout.

Some numbers (after running git gc) - du -hs on .git directory:
57M - sabayon overlay,
104M - entropy.git.

Now you may ask: why not Subversion? It's overall better, more
modern, but it still has its pristine copies and still, CVS
is enough for our uses.

But its branching and merging support is a bit worse than
outstanding - I have to agree, but we don't do much branching.

It's old! - and proven! It also has proven bugs or limitations -
- well known bugs or limitations, that is, but well known bugs are
often better than new surprising ones.

Why not ${some other DVCS}? - they store full history too so
they're not a solution. Bazaar with lightweight checkouts is a
nice exception but as far as I know it doesn't have the ability
to checkout a selected directory. Which is another useful feature
CVS (and Subversion too, but see above) provides. Suppose you
want to checkout only app-misc category. Doable!

Last but not least, its web frontend(s) have a really cool feature
to display removed files.

What do you think?



Re: [sabayon-dev] RFC: switching to CVS

2013-04-01 Thread Steven Cristian
The history could be kept anyway on the web. I will post soon another reply
on CVS.


On Mon, Apr 1, 2013 at 4:57 PM, Fabio Erculiani lx...@sabayon.org wrote:

 The idea looks good to me.
 I also wonder, do we really need history at all? We are supposed to
 know what and why we did modifications in the past.

 My 0.02$...

 --
 Fabio Erculiani




-- 
Lead-Developer at Project Rogentos (Romanian Gentoo Operating System)
GNU/Linux. Based on Sabayon and Gentoo Linux, Rogentos tends to offer
support mainly for all Romanian Linux users and entrepreneurs which seek to
learn an open and free system based on true values :)
http://rogentos.ro
www.facebook.com/RogentosLinux
https://plus.google.com/106559511636021124919/ Google+



Re: [sabayon-dev] RFC: switching to CVS

2013-04-01 Thread Danilo Pianini
Agree. We could adopt as a rule to leave a comment when changing something,
and just use a FTP server.


2013/4/1 Fabio Erculiani lx...@sabayon.org

 The idea looks good to me.
 I also wonder, do we really need history at all? We are supposed to
 know what and why we did modifications in the past.

 My 0.02$...

 --
 Fabio Erculiani




-- 
Ing. Dott. Danilo Pianini

Site: http://www.danilopianini.org/
Phone: +39 320 41 36 573
Skype: dany.sk



Re: [sabayon-dev] RFC: switching to CVS

2013-04-01 Thread Sławomir Nizio
On Mon, 1 Apr 2013 18:36:04 +0200
Danilo Pianini danilo.pian...@gmail.com wrote:

 Agree. We could adopt as a rule to leave a comment when changing something,
 and just use a FTP server.

I disagree: CVS provides history for free anyway* so it's not a big deal;
and it is easier to collaborate this way than using an FTP server
(WTF? Seriously?).