Re: [Savannah-users] Messed up CVS repository

2019-07-31 Thread Asher Gordon
Bob Proulx  writes:

> I know this might no longer be important to you now but I hate to
> leave things like this half done and so wanted to make it right
> regardless.

Yes, I am the same way, but I didn't want to bother you. :-)

> Asher Gordon wrote:
>> But I think I'll probably switch to git or something similar instead as
>> someone else suggested. So I guess I could just disable CVS and enable
>> git or similar and we can forget about the CVS repository?
>
> Yes.  Exactly so.
>
> Git is the more popular revision control system these days.  There is
> a lot of support for it.

I have done it. So far, git seems pretty cool.

Thanks for your help,
Asher

-- 
Reader, suppose you were an idiot.  And suppose you were a member of
Congress.  But I repeat myself.
-- Mark Twain


signature.asc
Description: PGP signature


Re: [Savannah-users] Messed up CVS repository

2019-07-30 Thread Bob Proulx
Asher Gordon wrote:
> Bob Proulx writes:
> > Please give your project a clean checkout and see if things are as you
> > would like them to be.  If not let us know! :-)
> 
> The dead files are indeed gone, but the empty directories are still
> there (in ViewVC and when you checkout without -P).

Oh, drat.  I forgot to remove the empty directories.  I have done that
now.  When I check out now I do not get those empty directories.  Sorry.

I know this might no longer be important to you now but I hate to
leave things like this half done and so wanted to make it right
regardless.

> But I think I'll probably switch to git or something similar instead as
> someone else suggested. So I guess I could just disable CVS and enable
> git or similar and we can forget about the CVS repository?

Yes.  Exactly so.

Git is the more popular revision control system these days.  There is
a lot of support for it.

Bob



Re: [Savannah-users] Messed up CVS repository

2019-07-30 Thread Asher Gordon
Hello Bob,

Bob Proulx  writes:

> Since this is a new project that has only just recently been uploaded
> I see no reason not to correct things manually.  Normally I would
> suggest either writing to savannah-hackers-public and asking for
> assistence from there or filing a support ticket.  But I am reading
> your message here and can do it.

OK, good to know. Next time I'll do it like that.

> Please give your project a clean checkout and see if things are as you
> would like them to be.  If not let us know! :-)

The dead files are indeed gone, but the empty directories are still
there (in ViewVC and when you checkout without -P).

But I think I'll probably switch to git or something similar instead as
someone else suggested. So I guess I could just disable CVS and enable
git or similar and we can forget about the CVS repository?

Thank you for your help,
Asher

-- 
 well there ya go.  say something stupid in irc and have it
  immortalised forever in someone's .sig file


signature.asc
Description: PGP signature


Re: [Savannah-users] Messed up CVS repository

2019-07-30 Thread Marcus Müller
Hi everyone,

I hope I'm not stepping on anyone's toes here, but especially of you're new to 
CVS, it might be a good idea to learn one of the newer versioning tools 
instead. With git being the dominant species there, and it having "adapters" 
for things like CVS and svn, that's what I would recommend.

CVS is a time-proven system, but I'd respectfully point out that other systems 
made progress in terms of making collaboration and especially handling of 
development branches easier. There's strong incentives I expect students and 
FOSS contributors to the projects I'm involved in to work with git instead of 
CVS.

Best regards, and happy coding,
Marcus

On July 30, 2019 5:52:07 AM GMT+02:00, Bob Proulx  wrote:
>Hello Asher,
>
>Asher Gordon wrote:
>> I recently created a new project using CVS
>> (https://savannah.nongnu.org/projects/magic-square) and I
>accidentally
>> imported my entire directory tree including files which should not be
>> imported (i.e. compiled and automatically generated files). I removed
>> these files with "cvs remove", but if I understand correctly,
>> directories cannot be removed with CVS.
>
>That is correct.  Normally CVS is designed to record history not to
>remove it.
>
>> These directories (as well as all the unnecessary dead files) are
>> bothering me. Would it be possible to reset the CVS repository to its
>> initial state so I can start over and only import what I need?
>
>Since this is a new project that has only just recently been uploaded
>I see no reason not to correct things manually.  Normally I would
>suggest either writing to savannah-hackers-public and asking for
>assistence from there or filing a support ticket.  But I am reading
>your message here and can do it.
>
>> Sorry for the inconvenience! I am still pretty new to CVS and version
>> control systems in general.
>
>No worries!  We are happy to help. :-)
>
>> P.S. I know you can use the -P option to prune empty directories, but
>> they are still in the repository and everyone who wanted to check out
>> the repository would have to use -P. The directories are also visible
>in
>> ViewVC.
>
>It appeared that if I took all of the Attic directories which CVS uses
>to store removed files and removed them from the repository that it
>would accomplish what you wanted without needing to purge and
>re-upload everything.  For safety sake I did the remove by moving
>those Attic directories to a trashcan area.
>
>Please give your project a clean checkout and see if things are as you
>would like them to be.  If not let us know! :-)
>
>Bob

-- 
Sent from a device without proper keyboard; please excuse my brevity.


Re: [Savannah-users] Messed up CVS repository

2019-07-29 Thread Bob Proulx
Hello Asher,

Asher Gordon wrote:
> I recently created a new project using CVS
> (https://savannah.nongnu.org/projects/magic-square) and I accidentally
> imported my entire directory tree including files which should not be
> imported (i.e. compiled and automatically generated files). I removed
> these files with "cvs remove", but if I understand correctly,
> directories cannot be removed with CVS.

That is correct.  Normally CVS is designed to record history not to
remove it.

> These directories (as well as all the unnecessary dead files) are
> bothering me. Would it be possible to reset the CVS repository to its
> initial state so I can start over and only import what I need?

Since this is a new project that has only just recently been uploaded
I see no reason not to correct things manually.  Normally I would
suggest either writing to savannah-hackers-public and asking for
assistence from there or filing a support ticket.  But I am reading
your message here and can do it.

> Sorry for the inconvenience! I am still pretty new to CVS and version
> control systems in general.

No worries!  We are happy to help. :-)

> P.S. I know you can use the -P option to prune empty directories, but
> they are still in the repository and everyone who wanted to check out
> the repository would have to use -P. The directories are also visible in
> ViewVC.

It appeared that if I took all of the Attic directories which CVS uses
to store removed files and removed them from the repository that it
would accomplish what you wanted without needing to purge and
re-upload everything.  For safety sake I did the remove by moving
those Attic directories to a trashcan area.

Please give your project a clean checkout and see if things are as you
would like them to be.  If not let us know! :-)

Bob