Should warn about as domain in CVSROOT

Bug #772495 reported by Samuel Bronson on 2011-04-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself

Bug Description

It seems that sourceforge now requires that CVS checkouts be from $, not simply as it was before: see, for example. However, there are still instructions out there giving CVSROOT values in the old form, like this:

It could save users a lot of waiting if Launchpad would warn them when the domain name part of their CVSROOT value was "" (or ""), and tell them about the need to insert the project name as the first component of the domain name: as it stands, users must wait until an import is approved before receiving any indication that something is wrong, and even then they only get a rather unenlightening message such as:

2011-04-26 02:30:40 INFO [chan bzr SocketAsChannelAdapter] Opened sftp connection (server version 3)
2011-04-26 02:30:40 WARNING CVS checkout: ['cvs', '-q', '-d', ':pserver:<email address hidden>:/cvsroot/ucon64', 'co', '-Pd', 'foreign_working_tree', 'ucon64']
Traceback (most recent call last):
  File "/srv/", line 82, in <module>
  File "/srv/", line 77, in main
  File "/srv/", line 452, in run
    return self._doImport()
  File "/srv/", line 534, in _doImport
    foreign_tree = self.getForeignTree()
  File "/srv/", line 487, in getForeignTree
    return self.foreign_tree_store.fetch(self.FOREIGN_WORKING_TREE_PATH)
  File "/srv/", line 359, in fetch
    return self.fetchFromSource(target_path)
  File "/srv/", line 364, in fetchFromSource
  File "/srv/", line 32, in checkout
    repository.get(self.module, self.local_path)
  File "/srv/", line 392, in get
    runProcessKeepAlive(args, checkout_callback, 10.0, cwd=parentdir)
  File "/srv/", line 130, in runProcessKeepAlive
    raise RuntimeError('\n'.join(message))
RuntimeError: ['cvs', '-q', '-d', ':pserver:<email address hidden>:/cvsroot/ucon64', 'co', '-Pd', 'foreign_working_tree', 'ucon64'] failed (1)
>>> Error <<<
cvs [checkout aborted]: connect to failed: Connection refused

Import failed:
Traceback (most recent call last):
Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.


Curtis Hovey (sinzui) on 2011-04-28
Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
tags: added: code-import feature
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers