Opened 7 years ago

Last modified 3 years ago

#697 new defect

Repository and thorn names cannot be different

Reported by: Erik Schnetter Owned by: Eric Seidel
Priority: major Milestone:
Component: GetComponents Version:
Keywords: Cc:


I am accessing some thorns stored in git repositories at, which insists that all repository names are all lower case. I don't know how to specify this in GetComponents. When I say

!TYPE = git
!URL = git@…:user/thorn.git
!AUTH_URL = git@…:user/thorn.git

then GetComponents does not create a symbolic link from Thorn to ../../repos/thorn, but to ../../repos/thorn/Arrangement/Thorn instead. How do I avoid this?

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by Roland Haas

I think this is by design :-).
There was a discussion that touched this although in a slightly different context. You cannot completely overwrite the checked out path in the repository using REPO_PATH. Unless REPO_PATH contains $1 or $2 it is added to CHECKOUT. If it does contain either one, it replaces CHECKOUT in the checkout/symbolic link procedure. You can fiddle with $2 if your want, eg something like "REPO_PATH=../../arrangements/$1/../../repos/thorn" likely does the trick. This works by first backing out of repos/thorns then into arrangements/Arrangement and then back again. The whole back and forth being required to have the $1 and $2 that GetComponents looks for in order to trigger special code. Otherwise (if you want something that is actually sane :-) ) I fear one might be out of luck.

Last edited 7 years ago by Roland Haas (previous) (diff)

comment:2 Changed 7 years ago by Erik Schnetter

Priority: criticalmajor

Thanks for the work-around -- I'm reducing the priority of this issue now.

As I mention above, bitbucket simply doesn't allow upper case characters, so our design needs to be updated.

comment:3 Changed 3 years ago by Frank Löffler

The same trick works for git-repos that only contain one thorn (at their top level). But this is just wicked. We have to find a better solution for this.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Eric Seidel.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from Eric Seidel to the specified user.
Next status will be 'confirmed'.
The owner will be changed from Eric Seidel to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.