Project directory in root folder of repository

that0n3guy - July 21, 2009 - 16:46
Project:Version Control / Project Node integration
Version:6.x-1.0-rc2
Component:User interface
Category:support request
Priority:normal
Assigned:cweagans
Status:active
Issue tags:git, project, Version Control
Description

What if I want my project directory to be in the root of the repository and not in a 'project folder'?

To me, this seems like a normal thing to do and not unusual (i'm using git). (see image)

AttachmentSize
project_in_root.jpg23.89 KB

#1

that0n3guy - July 21, 2009 - 16:49

Oh, this image when creating a project node.

I am using modules:
versioncontrol
versioncontrol_project
versioncontrol_git

My 'project' is the entire repository... all I have in the repository is my project. So I would want the root folder (of the repository) to also be the project folder...

#2

that0n3guy - July 29, 2009 - 03:20
Project:Version Control / Project Node integration» Project
Version:6.x-1.0-rc2» 6.x-1.x-dev

Moving this to "project" issue as I'm not sure it should be in the vcs/project bridge section.

#3

dww - July 29, 2009 - 08:34
Project:Project» Version Control / Project Node integration
Version:6.x-1.x-dev» 6.x-1.0-rc2

Project doesn't know about or care about what repository you specify for your projects. That's a question solely for the versioncontrol_project code, which is what's providing this field in the first place.

#4

that0n3guy - August 3, 2009 - 18:11

Its interesting I got a response on this almost immediately over at 'project', but over here... nothing.

Does no one use versioncontrol integration yet?

#5

jpetso - August 4, 2009 - 03:08

Its interesting I got a response on this almost immediately over at 'project', but over here... nothing.

I guess that's because it's easy to disclaim responsibility (and also the right thing to do for dww in this case), but in order to solve the problem, I have to actually look it up in the code and probably try it out on a test installation, with a potential bugfix. That's probably ten times as much as work, and I tend to do work mostly in phases. At the moment, I'm in one of my very inactive phases. Which is still no excuse for not providing a solution, but might make the above quote more understandable.

#6

jpetso - August 4, 2009 - 03:15

Also, which error message did the module provide that was responsible for the "red" field error on the form? Also, what's the configuration on the "Project node integration" tab for the "Version control settings" admin page (admin/project/versioncontrol-settings/project)? You might just need to disable one or two options there in order to make it work.

#7

that0n3guy - August 6, 2009 - 02:49

The error is "The last part of the project directory () does not match the short project name (testprojname)." (testprojname is just the short project name I put in).

I thought that it was weird that my project directory had to match my project name... but maybe not. Maybe I just dont know what I'm doing :).

Also, on the "project node integration" page, all i have checked is "Enable project-based commit restrictions".

Thanks for your help

#8

cweagans - November 21, 2009 - 16:01
Assigned to:Anonymous» cweagans

I'll be looking at this in about 12 hours. I need to have this supported too, so if a code change needs to be done, I'll donate the time to do it. If it's just a configuration issue, I'll report back here.

 
 

Drupal is a registered trademark of Dries Buytaert.