Uploading part of the tree

Asked by Panos Laganakos on 2008-06-26

In my web projects structure, I divide, code, design and docs


And I only need to publish the 'src' dir. How can I define that?

Question information

English Edit question
bzr Upload plugin Edit question
No assignee Edit question
Last query:
Last reply:
Martin Albisetti (beuno) said : #1

Since bzr works tree-wide, you would have to have src/ in a separate branch.

I'm wondering if this would be a good case to have bzr upload-ignore


Martin Albisetti (beuno) said : #2

Just subscribed us so we can get notified in the future.

Vila ^

Martin Pool (mbp) said : #3

Yes, it seems like this should be a feature request for bzr-upload. Alternatively maybe you could just configure your server to only publish /src/

Panos Laganakos (panosl) said : #4

It only publishes `src/`, 'cause in this particular situation, it's called through mod_python, and the rest ain't in the public dir structure.

Still a way to specify the only dir to upload, would be handy - cleaner. Should I open a ticket on it, like Martin suggested for `bzr upload-ignore`?

Vincent Ladeuil (vila) said : #5

Having a bzr upload-ignore doesn't seem to fit the plugin model, it will require overriding or duplicate some bzr commands or features.

A better long-term solution will be to use a nested tree once the feature is available in bzr.

Can you help with this problem?

Provide an answer of your own, or ask Panos Laganakos for more information if necessary.

To post a message you must log in.