is it possible to publish the working tree of a branch?

Asked by Balazs Ree

Hi,

in svn, you can browse the files of your repository directly from the browser, as default behaviour. This is also possible with bzr, if the repository has an updated working tree and served on some server via http. The raw source files can be visited directly from the web.

There are at least two important use cases, that benefit from this and that cannot be easily done in other ways:

1. A branch contains a documentation tree rendered in html. This way, the documentation can be browsed directly from the repository. The documentation urls can be referenced from LaunchPad pages. The documentation can be generated, for example, with Sphinx.

2. A branch contains an UI mockup. This is a static html that loads up all the css and javascript, making the page testable without a server side. Javascript and (on a certain extent) ajax will function in this static page. This can be referenced from a blueprint, for example.

Would there be a way to traverse to the original raw files of a branch, in some url space, in Launchpad? I believe this functionality would be useful and interesting for many others as well.

Best wishes,

Balazs Ree

Question information

Language:
English Edit question
Status:
Invalid
For:
Launchpad itself Edit question
Assignee:
Tim Penhey Edit question
Last query:
Last reply:
Whiteboard:
Gary Poster 2008-12-03: Can we close this question in preference to the bug (https://bugs.launchpad.net/loggerhead/+bug/128926)?
Revision history for this message
Michael Hudson-Doyle (mwhudson) said :
#1

It's not possible at the moment.

Providing some kind of web space/hosting/wiki is an extremely obvious gap in Launchpad's offering at the moment and one we'd like to close, but I don't think it's an immediate priority for the next couple of months. Soon after that, hopefully!

Revision history for this message
Christian Reis (kiko) said :
#2

Balazs, I wonder if the fix that Martin developed at https://bugs.staging.launchpad.net/loggerhead/+bug/128926 -- which allows you to access raw files via loggerhead -- will address this.

Revision history for this message
Balazs Ree (ree) said :
#3

Hi Christian,

thanks for pointing this out. Yes, this would solve my use case.

Please read my reply:

https://bugs.staging.launchpad.net/loggerhead/+bug/128926/comments/4

I think these changes or something similar should be considered to be merged to trunk. Please let me know your opinion.

Revision history for this message
Michael Hudson-Doyle (mwhudson) said :
#4

Argh, the link Christian gave you was to the bug on staging, so the comment got lost :( Can you repost it to the production server?

https://bugs.launchpad.net/loggerhead/+bug/128926

Revision history for this message
Michael Hudson-Doyle (mwhudson) said :
#5

Pressed the wrong button...

Revision history for this message
Balazs Ree (ree) said :
#6

Heh... I did not realize that. I did not have it saved, so I wrote it in again. Please let me know your opinion!

Revision history for this message
Данило Шеган (danilo) said :
#7

This will be handled by bug 128926 instead.