Re: rcs is gone?

From: Xin Li <delphij_at_delphij.net>
Date: Mon, 07 Oct 2013 18:15:34 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 10/07/13 17:42, Glen Barber wrote:
> On Mon, Oct 07, 2013 at 05:36:42PM -0700, John-Mark Gurney wrote:
>>>> So there's no version control in the base at all now?.. When
>>>> did FreeBSD decide to move away from distributing a usable
>>>> OS? Why not just distribute a kernel and a few bits that are
>>>> barely sufficient for the initial set up, and then make users
>>>> fetch everything from ports?
>>>> 
>>> 
>>> svnlite?
>> 
>> cd /etc svnliteadmin create svn svnlite co file:///etc/svn . 
>> svnlite add rc.conf svnlite commit rc.conf
>> 
>> instead of: cd /etc ci rc.conf
>> 
>> really?
>> 
> 
> No, not really.
> 
> # mkdir local # svnadmin create ./local # svn import /etc
> file:///$PWD/local

There is a feature that is lacking from svn: the permissions is not
quite tightened up.  With RCS, for instance, a mode 600 file would
result in a mode 400 ,v file.  With subversion, everything is
dependent on the current user's umask.  So let's say the root checks
in master.passwd, with RCS, the resulting ,v file would be mode 400
but with svn, the local cached copy and the file in the repository
would be both world readable.

Of course, this can be worked around by chmod'ing all the toplevel
directories to 700 or group accessible but it's not quite convenient
and can be easily overlooked.

However, even when I use RCS pretty often, I don't think it's a good
idea to keep it in base system (actually I am supportive in removing
it from the base).  The version shipped with base was not touched for
many years and shipping it with base makes it hard to use a newer
version from ports.

Cheers,
- -- 
Xin LI <delphij_at_delphij.net>    https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iQIcBAEBCgAGBQJSU1y2AAoJEJW2GBstM+nszXkQAKmaSZVELYkQY0i6SqeWXRAd
gOONugSTFq1jMS0fd7LVkrrcGsFa1VpMOf4FctS6iWK1cY8ZJhqYizsu4Qb9eP5e
DciRRtcB337VX3iBAN9vJEgLYiyj7X6RlvspGVJW00QaJFmgrbLuMjkFGxjs/PYN
OVDaIEZCW7FmdHXSbsX7nTiWkWkh/UoMPAzdNNwb+ICKrQB6iWscWBOVQWhufSQZ
mEJr/3exbu9We9kBtk8Qa9pnHYw5Xao8jqNyESORRtDnrznK14Dyc2jdr61Bnlc6
nRGioYhViioVt6x3FekKszZ5/zNr39/Wm+Xv/RNLbhB8SlyEcXjSTfIGByostI2B
r+GibrjOiIGPwntNQcvbm2gwaDaSoWo/xKCeXPoOAViolIALUTkxKlZ7h9qYuoZp
h4rxgENtJlAdKH1SNrSPAaMPnyTzD5GBz2VWN9QGo2TPyxC4NywF/tN0Hz/WEcRN
ruEQ+E9bG0JiiffIo1OJQLeaLp2yTStqgPJG9jYg2e7yfK+Wa66U40sWpWhdIvPq
K5xDtPb01Q91V+J16V++qJPu9uq4rnO7Rk5Ak1vFGRXYuvPHpMovnKKSDO9SaGb2
DXIfTDl4rWTn/WV9o0lriZJyqP31z4ABN47nMc0/2b2+Z1tKLwbaJ5btOHkxFBL3
dJUp+dP1IeZCeESiVBlL
=6X09
-----END PGP SIGNATURE-----
Received on Mon Oct 07 2013 - 23:15:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC