Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #4381 (closed)

Opened 13 years ago

Closed 13 years ago

Bug: long file names cause git to fail on Windows

Reported by: jamoore Owned by: ajpatterson
Priority: blocker Milestone: OMERO-Beta4.3
Component: Model Version: n.a.
Keywords: n.a. Cc: jburel
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2011-02-24 (6)

Description

Due to the ~180 character limit under mingw32, the git repository cannot be checked out under Windows. (See listing below) For the moment, these are the problem files:

~/git $ git ls-files | python count.py | sort -n | tail -n 6
184 components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_InstallationScript_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.map
184 components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_InstallationScript_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.png
187 components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_AnalysisModuleLibrary_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.map
187 components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_AnalysisModuleLibrary_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.png
187 components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_ExecutionInstructions_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.map
187 components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_ExecutionInstructions_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.png

It may make the most sense to move these files out of git.

Change History (3)

comment:1 Changed 13 years ago by jmoore

Hudson output follows. See also: https://code.google.com/p/msysgit/issues/detail?id=434

Started by upstream project "OMERO-trunk-components" build number 264
Building remotely on 10.2.1.194
Checkout:windows / C:\hudson\workspace\OMERO-trunk-components\component/start/label/windows - hudson.remoting.Channel@287f108c:10.2.1.194
Using strategy: Default
Checkout:src / C:\hudson\workspace\OMERO-trunk-components\component\start\label\windows\src - hudson.remoting.LocalChannel@1fb672f
GitAPI created
Cloning the remote Git repository
Cloning repository origin
$ "C:\Program Files\Git\cmd\git.cmd" clone -o origin git://git.openmicroscopy.org/ome.git C:\hudson\workspace\OMERO-trunk-components\component\start\label\windows\src
Fetching upstream changes from git://git.openmicroscopy.org/ome.git
[src] $ "C:\Program Files\Git\cmd\git.cmd" fetch -t git://git.openmicroscopy.org/ome.git +refs/heads/*:refs/remotes/origin/*
Commencing build of Revision d6e5388fd743306c9f89066577452eac277459dd (origin/develop)
GitAPI created
Checking out Revision d6e5388fd743306c9f89066577452eac277459dd (origin/develop)
[src] $ "C:\Program Files\Git\cmd\git.cmd" checkout -f d6e5388fd743306c9f89066577452eac277459dd
FATAL: Could not checkout d6e5388fd743306c9f89066577452eac277459dd
hudson.plugins.git.GitException: Could not checkout d6e5388fd743306c9f89066577452eac277459dd
	at hudson.plugins.git.GitAPI.checkout(GitAPI.java:450)
	at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:981)
	at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:972)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1931)
	at hudson.remoting.UserRequest.perform(UserRequest.java:114)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:270)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: hudson.plugins.git.GitException: Error performing C:\Program Files\Git\cmd\git.cmd checkout -f d6e5388fd743306c9f89066577452eac277459dd
Command returned status code 1: error: unable to create file components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_AnalysisModuleLibrary_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.map (No such file or directory)
error: unable to create file components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_AnalysisModuleLibrary_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.png (No such file or directory)
error: unable to create file components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_ExecutionInstructions_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.map (No such file or directory)
error: unable to create file components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_ExecutionInstructions_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.png (No such file or directory)
error: unable to create file components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_InstallationScript_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.map (No such file or directory)
error: unable to create file components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_InstallationScript_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.png (No such file or directory)
Note: checking out 'd6e5388fd743306c9f89066577452eac277459dd'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at d6e5388... Turned off test3138() in tickets4000.py. See #4334

	at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:379)
	at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:344)
	at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:354)
	at hudson.plugins.git.GitAPI.checkout(GitAPI.java:448)
	... 12 more
Caused by: hudson.plugins.git.GitException: Command returned status code 1: error: unable to create file components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_AnalysisModuleLibrary_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.map (No such file or directory)
error: unable to create file components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_AnalysisModuleLibrary_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.png (No such file or directory)
error: unable to create file components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_ExecutionInstructions_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.map (No such file or directory)
error: unable to create file components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_ExecutionInstructions_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.png (No such file or directory)
error: unable to create file components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_InstallationScript_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.map (No such file or directory)
error: unable to create file components/specification/Documentation/Generated/OME-2003/schemaDiagrams/logical_element_InstallationScript_httpwww.openmicroscopy.orgXMLschemasAnalysisModuleRC1AnalysisModule.xsd.png (No such file or directory)
Note: checking out 'd6e5388fd743306c9f89066577452eac277459dd'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at d6e5388... Turned off test3138() in tickets4000.py. See #4334

	at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:374)
	... 15 more

comment:2 Changed 13 years ago by ajpatterson

  • Status changed from new to accepted

comment:3 Changed 13 years ago by ajpatterson

  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.72085 sec.)

We're Hiring!