How can I create a container directory?

Asked by Brandon Williams

My Launchpad project currently has one branch, which is the mainline development branch.

    ~opensource-subakutty/tunnelmanager/devel/...

I want to be able to store branches for stable releases in a subdirectory of tunnelmanager, as in:

    ~opensource-subakutty/tunnelmanager/releases/0.2.1/...
    ~opensource-subakutty/tunnelmanager/releases/0.3/...
    ~opensource-subakutty/tunnelmanager/releases/0.4.5/...
    etc.

I can't figure out how to get bazaar and/or launchpad to allow me to create branches under the non-existent releases subdirectory. I have tried branching from devel and then pushing to the desired directory structure:

$ bzr branch -r13 lp:tunnelmanager tunnelmanager-0.2.1
$ cd tunnelmanager-0.2.1
$ bzr push bzr+ssh://<email address hidden>/%7Eopensource-subakutty/tunnelmanager/releases/0.2.1
bzr: ERROR: Permission denied: "/~opensource-subakutty/tunnelmanager/releases/0.2.1"

I have tried the same, but with the addition of the --create-prefix option. The result is identical.

I have tried to register an empty branch in launchpad with the desired directory structure, but there is not way to do so.

The bazaar user documentation appears to indicate that it is possible to create such a directory hierarchy. What other method should I try?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Curtis Hovey
Solved:
Last query:
Last reply:
Revision history for this message
Brandon Williams (opensource-subakutty) said :
#1

I have cross posted this question to the Bazaar project, since it is more directly relevant to bazaar. However, I'm leaving it open here, since I can't figure out how to carry out the desired operation using the Launchpad interface, either.

Revision history for this message
Best Curtis Hovey (sinzui) said :
#2

Launchpad does not permit arbitrary directories. Launchpad reserves a place (one directory) in the path for the branch name. the path below the branch name is used to perform actions or select views.

Revision history for this message
Brandon Williams (opensource-subakutty) said :
#3

Ah-hah ... so although it's technically possible to do this with bazaar, it's functionality that is not supported by Launchpad. OK.

Revision history for this message
Brandon Williams (opensource-subakutty) said :
#4

Thanks Curtis Hovey, that solved my question.