tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cvs import -> cvs add

On Sat, Jun 02, 2012 at 07:20:45AM +0200, Alistair Crooks wrote:
> Not really - the very first pkgsrc entries were added using 'cvs add'. 
> However, in those days there were more subdirs than we have now (a
> pkg/ directory to house PLIST and friends), and it became difficult to
> add packages easily in one go.  Also, we had complaints that we were
> spamming the source-changes list, so we got our own pkgsrc-changes
> list, but the volume of "added directory wibble" traffic was still too
> large - and I think this is before Charles took aim at the cvs log
> message accumulator and made it useful.

Thanks for the info. The 'cvs add' spam is gone now, since there is no
separate mail for directory creations any longer.

> I'd like to keep it so that people can do both - import or add - since
> I do find it much easier to import packages in one fell swoop rather
> than going at it a directory at a time.

I understand your argument about it being easier than cvs adding all
the files, so I won't keep you from doing it, but I think at least the
default suggestion should be changed to 'cvs add'.

> In other words - I'm not sure there's anything broken about cvs import,
> so why fix it?

Well, there is. We are just so used to it nowadays that we don't make
errors, but it really is easy to do so. Just forget an "s" in the
category in the import command and it's somewhere else, completely.

Also, it doesn't serve any purpose any longer.

And when we switch to another SCM system, we'll most probably not have
an equivalent to import.

Home | Main Index | Thread Index | Old Index