Diff for "VcsImportRequests"

Not logged in - Log In / Register

Differences between revisions 66 and 67
Revision 66 as of 2006-10-23 16:31:04
Size: 16655
Editor: ddaa
Comment: gtimelog, josm, comix failures
Revision 67 as of 2006-10-28 12:17:33
Size: 16655
Editor: ddaa
Comment: found trivial fix for "initial revision is a move" svn failures
Deletions are marked like this. Additions are marked like this.
Line 37: Line 37:

== [svn] Initial revision is a move ==

[https://launchpad.net/bugs/58029 Bug 58029].

It appears that when a svn branch is created by a move (copy + delete), the initial imported revision is empty, which causes a failure on the first revision that tries to modify a pre-existing file.

In the case of the katapult import (svn://anonsvn.kde.org/home/kde/trunk/extragear/utils/katapult), the branch is created at revision 521764 by moving from /trunk/playground/utils/katapult:521763. The initial revision of the bzr import is an empty tree.

 * [https://launchpad.net/people/mez Mez]: https://launchpad.net/products/katapult/mainstream [[BR]] svn://anonsvn.kde.org/home/kde/trunk/extragear/utils/katapult [[BR]] [[[Date(2006-08-28T15:43:43Z)]]]
   * On changeset 522145 [[BR]] 'action': 'M', 'path': u'/trunk/extragear/utils/katapult/katapult/katapult.desktop', 'copyfrom_path': None, 'copyfrom_revision': None [[BR]] RuntimeError: file katapult/katapult.desktop not present in tree

 * https://https://launchpad.net/products/bcfg2/trunk [[BR]]
   https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2 [[BR]]
   [[[Date(2006-08-29T09:52:23Z)]]]
   * On changeset 1717 [[BR]] in write_file_breaking_links [[BR]] IOError: [Errno 2] No such file or directory

 * [https://launchpad.net/people/jaq-spacepants jaq]: https://launchpad.net/products/puppet/trunk [[BR]] http://reductivelabs.com/svn/puppet/trunk [[BR]] [[[Date(2006-07-18T22:47:35Z)]]]
   * On changeset 576 [[BR]] This is the initial revision of the branch, it is a complicated combination of renames and file modifications, consolidating a trunk branch out of multiple parts. Some of the moved files are properly imported, but one of the files which is copied _and_ modified in this revision was not imported, and causes a failure when trying to apply the modification. [[BR]] 'action': 'M', 'path': u'/trunk/test/test', 'copyfrom_path': None, 'copyfrom_revision': None [[BR]] RuntimeError: file test/test not present in tree

 * nobody: https://launchpad.net/products/tmw/trunk [[BR]] https://svn.sourceforge.net/svnroot/themanaworld/tmw/trunk [[BR]] [[[Date(2006-09-29T15:57:33Z)]]]
   * On changeset 2201 [[BR]] RuntimeError: file ChangeLog not present in tree /srv/importd.ubuntu.com/botslave/series-00001478/bzrworking, log {'action': 'M', 'path': u'/tmw/trunk/ChangeLog', 'copyfrom_path': None, 'copyfrom_revision': None}

 * nobody: https://launchpad.net/products/karra/trunk [[BR]] https://svn.sourceforge.net/svnroot/karra/trunk/karra [[BR]] [[[Date(2006-09-29T20:55:14Z)]]]
   * On changeset 917 [[BR]] IOError: [Errno 2] No such file or directory: u'/srv/importd.ubuntu.com/botslave/series-000012c3/bzrworking/locale/,,new.0.646637021358.template.po'
Line 162: Line 137:
== [svn] Initial revision is a move ==

[https://launchpad.net/bugs/58029 Bug 58029].

It appears that when a svn branch is created by a move (copy + delete), the initial imported revision is empty, which causes a failure on the first revision that tries to modify a pre-existing file.

In the case of the katapult import (svn://anonsvn.kde.org/home/kde/trunk/extragear/utils/katapult), the branch is created at revision 521764 by moving from /trunk/playground/utils/katapult:521763. The initial revision of the bzr import is an empty tree.

 * [https://launchpad.net/people/mez Mez]: https://launchpad.net/products/katapult/mainstream [[BR]] svn://anonsvn.kde.org/home/kde/trunk/extragear/utils/katapult [[BR]] [[[Date(2006-08-28T15:43:43Z)]]]
   * On changeset 522145 [[BR]] 'action': 'M', 'path': u'/trunk/extragear/utils/katapult/katapult/katapult.desktop', 'copyfrom_path': None, 'copyfrom_revision': None [[BR]] RuntimeError: file katapult/katapult.desktop not present in tree

 * https://https://launchpad.net/products/bcfg2/trunk [[BR]]
   https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2 [[BR]]
   [[[Date(2006-08-29T09:52:23Z)]]]
   * On changeset 1717 [[BR]] in write_file_breaking_links [[BR]] IOError: [Errno 2] No such file or directory

 * [https://launchpad.net/people/jaq-spacepants jaq]: https://launchpad.net/products/puppet/trunk [[BR]] http://reductivelabs.com/svn/puppet/trunk [[BR]] [[[Date(2006-07-18T22:47:35Z)]]]
   * On changeset 576 [[BR]] This is the initial revision of the branch, it is a complicated combination of renames and file modifications, consolidating a trunk branch out of multiple parts. Some of the moved files are properly imported, but one of the files which is copied _and_ modified in this revision was not imported, and causes a failure when trying to apply the modification. [[BR]] 'action': 'M', 'path': u'/trunk/test/test', 'copyfrom_path': None, 'copyfrom_revision': None [[BR]] RuntimeError: file test/test not present in tree

 * nobody: https://launchpad.net/products/tmw/trunk [[BR]] https://svn.sourceforge.net/svnroot/themanaworld/tmw/trunk [[BR]] [[[Date(2006-09-29T15:57:33Z)]]]
   * On changeset 2201 [[BR]] RuntimeError: file ChangeLog not present in tree /srv/importd.ubuntu.com/botslave/series-00001478/bzrworking, log {'action': 'M', 'path': u'/tmw/trunk/ChangeLog', 'copyfrom_path': None, 'copyfrom_revision': None}

 * nobody: https://launchpad.net/products/karra/trunk [[BR]] https://svn.sourceforge.net/svnroot/karra/trunk/karra [[BR]] [[[Date(2006-09-29T20:55:14Z)]]]
   * On changeset 917 [[BR]] IOError: [Errno 2] No such file or directory: u'/srv/importd.ubuntu.com/botslave/series-000012c3/bzrworking/locale/,,new.0.646637021358.template.po'

This page tracks requests for actions from the vcs-imports operator.

To request an import, please:

  • Create a product in Launchpad and set the source details to the CVS or Subversion repository you wish to have imported. In particular
  • Add a request on this page, with the name of your launchpad account so I can find your email.

Note that we only do imports of MAIN branches on CVS (the form will have to be updated to remove the "branch" field) and trunk branches on Subversion.

We will handle your request and keep you informed of progress or issues. You can contact the vcs-imports operator: ddaa in #launchpad on irc.freenode.net.

Template to request an import:

  • [@DATE@]


TableOfContents()


Incoming

Open requests

Imports that need intervention from the vcs-imports operator.

In progress

Imports being processed.

Blocked

Imports that are currently failing, and for which no fix is currently being worked on.

[cvs] file created by merge

Relevant fragment of the cvs log:

$ cvs rlog epiphany/data\/ui/epiphany-toolbar.xml.in

RCS file: /cvs/gnome/epiphany/data/ui/Attic/epiphany-toolbar.xml.in,v
head: 1.17
branch:
locks: strict
access list:
symbolic names:
[...]
        eog-menu-api: 1.1.0.2
keyword substitution: kv
total revisions: 19;    selected revisions: 19
description:
----------------------------
[...]
----------------------------
revision 1.2
date: 2003/01/20 18:57:15;  author: mpeseng;  state: Exp;  lines: +15 -0
2003-01-20  Marco Pesenti Gritti  <marco@it.gnome.org>

        * Merge eog-menu-api branch
----------------------------
revision 1.1
date: 2003/01/20 17:53:25;  author: mpeseng;  state: dead;
branches:  1.1.2;
file epiphany-toolbar.xml.in was initially added on branch eog-menu-api.
----------------------------
revision 1.1.2.1
date: 2003/01/20 17:53:25;  author: mpeseng;  state: Exp;  lines: +15 -0
implement context menus
----------------------------
[...]

[svn] Cannot import whole repository

The svn import code fails at processing imports at the root of a svn repository. Some repository are set up that way, with the actual root containing the source code. That's broken, but people actually do this.

File name not supported by bzr

Unknown failures

  • nobody: https://launchpad.net/products/xrms/trunk BR :pserver:anonymous@xrms.cvs.sourceforge.net:/cvsroot/xrms/ xrms BR [Date(2006-09-29T21:20:41Z)]

    • on changeset MAIN.4167: BR CRITICAL: requested checkout of reporoot '/cvsroot/xrms', file 'xrms/include/adodb/pear/Attic/readme.Auth.txt', revision '1.1.1.2' BR CRITICAL: log of checkout responses follow. BR CRITICAL: "E cvs checkout: cannot find module BR `xrms/include/adodb/pear/Attic/readme.Auth.txt' - ignored\n" BR CRITICAL: 'error \n'

    • cscvs wants to create a filler changeset 1.1->1.1.1.2 for include/adodb/pear/readme.Auth.txt, but there is no revision 1.1.1.2 for that file. The cvs rlog shows revision 1.1 (branches: 1.1.1) used in changeset MAIN.915, revision 1.1.1.1, not used by cscvs. The cvs log header for that file reads "head: 1.1" and "branch: 1.1.1".

lifeless suggests:

(15:28:25) lifeless: I'd do a search in the file revision table for that file, all revisions, see what cscvs is thinking happened to it
(15:29:45) ddaa: you suggest it might be a problem in the log parser and checking the catalog contents would help narrowing the cause of the problem?
(15:33:11) lifeless: something is inventing the .2
(15:33:22) lifeless: if its in the catalog then the catalog generator can be checked
(15:33:42) lifeless: if its not in the catalog then the application-of-changesets can be checked
(15:33:45) lifeless: it will narrow it down
(15:34:03) lifeless: As its a very small rlog I'd make a test case from it

Failed to fork, memory error

Some large imports fail to os.fork() (when spawning gpg to sign a revision) with "OSError: [Errno 12] Cannot allocate memory". It's not clear why that happen, since Linux should overcommit memory up to 50x (the value of /proc/sys/vm/overcommit_ratio) and allow large processes like cscvs to spawn small processes like gpg.

Fix in progress

Failures for which a fix is currently being worked on.

[svn] Initial revision is a move

[https://launchpad.net/bugs/58029 Bug 58029].

It appears that when a svn branch is created by a move (copy + delete), the initial imported revision is empty, which causes a failure on the first revision that tries to modify a pre-existing file.

In the case of the katapult import (svn://anonsvn.kde.org/home/kde/trunk/extragear/utils/katapult), the branch is created at revision 521764 by moving from /trunk/playground/utils/katapult:521763. The initial revision of the bzr import is an empty tree.

[svn] Better REPLACE support

Imports that have failed and that need better support for replaced files.

[svn] Partial copy

Current cscvs in production does not correctly handle revisions that combine a copy (that is 'A' or 'R' action with copyfrom set) with a simultaneous delete ('D' or 'R' action) in a path below the copy.

A new changeset generation logic that fixes this issue has been implemented and is currently undergoing review. When the code review and fixage has been completed, those import will be re-run and are expected to succeed.

Imports that failed to do REPORT on a path with a bang. I do not know what that means, but there's clearly a pattern.

VcsImportRequests (last edited 2021-05-27 14:19:59 by cjwatson)