mainSavannah Administration - Support: sr #108409, Make the old GNU AUCTeX CVS...

 
 

sr #108409: Make the old GNU AUCTeX CVS repository read-only

Submitter:  Tassilo Horn <tsdh>
Submitted:  Mon 07 Oct 2013 01:20:55 PM UTC
   
 
Category:  Source code repositories - developer access Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  rwp
Operating System:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 10 Oct 2013 08:20:06 AM UTC, comment #4: 

Hey Bob,

the commitinfo script is very nice.  Now I get this output:

This repository is obsolete and marked read-only to prevent commits.
The sources have been moved to another repository.
Please contact the developers for more information.
cvs commit: Pre-commit check failed
cvs [commit aborted]: correct above errors first!

That's as good as it gets.  Thanks!

Tassilo Horn <tsdh>
Wed 09 Oct 2013 10:47:14 PM UTC, comment #3: 

A commitinfo script is a good idea.  And it would have wider usage on other projects that have moved.  Let's do it.

I modified auctex so that it once again group auctex and therefore could be committed to.  Before doing that I created a /usr/local/bin/commit_obsolete_notice script and configured it in the commitinfo.

I created a rather generic message so that it could be used generically over other projects that have also moved.  (I already have several in mind.  I tested this on coreutils CVS.)

Please make another commit test to the CVS auctex and verify the new behavior.

Bob Proulx <rwp>
Site Administrator
Tue 08 Oct 2013 08:03:21 AM UTC, comment #2: 

Hi Bob,
it seems to work.  When trying to commit a change, now I get:

/sources/auctex/auctex/THIS_REPOSITORY_IS_OBSOLETE.txt,v  <--  THIS_REPOSITORY_IS_OBSOLETE.txt
new revision: 1.2; previous revision: 1.1
cvs [commit aborted]: could not open lock file `/sources/auctex/auctex/,THIS_REPOSITORY_IS_OBSOLETE.txt,': Permission denied

Well, that's definitively not a very informative output, but it should do the trick.

Another way would have been a pre-commit hook that returns non-zero, but I have no clue if that would allow for a more informative output.  See http://pragmaticautomation.com/cgi-bin/pragauto.cgi/Monitor/LettingCVSPullTheTrigger.rdoc

Tassilo Horn <tsdh>
Mon 07 Oct 2013 05:07:27 PM UTC, comment #1: 

Done. 

I don't do this every day so let me expand my thinking so that others can check my work.  The group permission for the auctex cvs sources is the group name auctex.  I believe that is what allows members of the auctex group to commit changes.  I changed the group of all of those files to group root.  I believe that will block all commits.  Please make an update if this turns out to not be the case.

Bob Proulx <rwp>
Site Administrator
Mon 07 Oct 2013 01:20:55 PM UTC, original submission:  

Some months ago, GNU AUCTeX switched from using CVS to using Git.  The transition went pretty smoothly and now the project page only lists the new git repository, but unfortunately there's one developer who didn't notice the switch, still commits to the CVS repository, and we're unable to contact him.

So could you please make the AUCTeX CVS repository read-only so that he cannot commit anymore? (Hopefully that will direct him to the development list so that we can make him aware of the switch.)

The CVS repository URL is cvs.savannah.gnu.org:/sources/auctex/.

Tassilo Horn <tsdh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rwp (Posted a comment)
  • -email is unavailable- added by tsdh (Submitted the item)
  • -email is unavailable- added by tsdh
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-07 rwp StatusNone Done
        Assigned toNone rwp
        Open/ClosedOpen Closed
    2013-10-07 tsdh Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code