Re: [openstack-dev] [all][docs] Incorrect '/p' in Project Source URLs on docs.openstack.org/developer

2015-10-16 Thread Doug Hellmann
Excerpts from Doug Hellmann's message of 2015-10-16 16:22:55 -0400: > Excerpts from Jeremy Stanley's message of 2015-10-16 20:02:15 +: > > On 2015-10-16 15:27:30 -0400 (-0400), Doug Hellmann wrote: > > > Maybe we can combine the ideas. Define an option with a default value > > > based on an env

Re: [openstack-dev] [all][docs] Incorrect '/p' in Project Source URLs on docs.openstack.org/developer

2015-10-16 Thread Doug Hellmann
Excerpts from Jeremy Stanley's message of 2015-10-16 20:02:15 +: > On 2015-10-16 15:27:30 -0400 (-0400), Doug Hellmann wrote: > > Maybe we can combine the ideas. Define an option with a default value > > based on an environment variable, and then projects can override it if > > they care about

Re: [openstack-dev] [all][docs] Incorrect '/p' in Project Source URLs on docs.openstack.org/developer

2015-10-16 Thread Jeremy Stanley
On 2015-10-16 15:27:30 -0400 (-0400), Doug Hellmann wrote: > Maybe we can combine the ideas. Define an option with a default value > based on an environment variable, and then projects can override it if > they care about having the doc build generate that link correctly > outside of CI. > > What

Re: [openstack-dev] [all][docs] Incorrect '/p' in Project Source URLs on docs.openstack.org/developer

2015-10-16 Thread Doug Hellmann
Excerpts from Jeremy Stanley's message of 2015-10-16 17:49:00 +: > On 2015-10-16 12:59:29 -0400 (-0400), Doug Hellmann wrote: > > Excerpts from Jeremy Stanley's message of 2015-10-16 15:46:33 +: > [...] > > > * You never know what the form of a developer's local origin URL > > > might

Re: [openstack-dev] [all][docs] Incorrect '/p' in Project Source URLs on docs.openstack.org/developer

2015-10-16 Thread Jeremy Stanley
On 2015-10-16 12:59:29 -0400 (-0400), Doug Hellmann wrote: > Excerpts from Jeremy Stanley's message of 2015-10-16 15:46:33 +: [...] > > * You never know what the form of a developer's local origin URL > > might be, so this is likely locally broken for a lot of people > > anyway. For e

Re: [openstack-dev] [all][docs] Incorrect '/p' in Project Source URLs on docs.openstack.org/developer

2015-10-16 Thread Doug Hellmann
Excerpts from Jeremy Stanley's message of 2015-10-16 15:46:33 +: > On 2015-10-16 15:03:57 + (+), Neil Jerram wrote: > [...] > > Surely it must be intended to be browseable? If it was intended as a > > clone URL, shouldn't it be presented in plain text, instead of as a link? > > That's

Re: [openstack-dev] [all][docs] Incorrect '/p' in Project Source URLs on docs.openstack.org/developer

2015-10-16 Thread Jeremy Stanley
On 2015-10-16 15:46:33 + (+), Jeremy Stanley wrote: [...] > a somewhat more thorough regex like '/([^/]+/[^/]$)(\.git|)$' [...] Heh, mailer regex obviously. ;) I meant '/([^/]+/[^/]+)(\.git|)$' of course (and then take search().group(1) if it succeeds). -- Jeremy Stanley ___

Re: [openstack-dev] [all][docs] Incorrect '/p' in Project Source URLs on docs.openstack.org/developer

2015-10-16 Thread Jeremy Stanley
On 2015-10-16 15:46:33 + (+), Jeremy Stanley wrote: [...] > Depending on how the job is constructed in our CI, the origin may > be reset to a proxied URL which isn't formed in the expected > fashion. In this case you can see it happen in a recent job > log[*], demonstrating this as the unde

Re: [openstack-dev] [all][docs] Incorrect '/p' in Project Source URLs on docs.openstack.org/developer

2015-10-16 Thread Jeremy Stanley
On 2015-10-16 15:03:57 + (+), Neil Jerram wrote: [...] > Surely it must be intended to be browseable? If it was intended as a > clone URL, shouldn't it be presented in plain text, instead of as a link? That's my assumption as well. So given this, it's probably better to think about our cg

Re: [openstack-dev] [all][docs] Incorrect '/p' in Project Source URLs on docs.openstack.org/developer

2015-10-16 Thread Neil Jerram
On 16/10/15 15:51, Jeremy Stanley wrote: > On 2015-10-16 10:20:17 -0400 (-0400), Doug Hellmann wrote: >> Excerpts from Neil Jerram's message of 2015-10-16 13:10:41 +: > [...] >>> Well, it would appear that 'git config --local --get remote.origin.url' >>> on the docs build machine gives a URL wh

Re: [openstack-dev] [all][docs] Incorrect '/p' in Project Source URLs on docs.openstack.org/developer

2015-10-16 Thread Jeremy Stanley
On 2015-10-16 10:20:17 -0400 (-0400), Doug Hellmann wrote: > Excerpts from Neil Jerram's message of 2015-10-16 13:10:41 +: [...] > > Well, it would appear that 'git config --local --get remote.origin.url' > > on the docs build machine gives a URL whose path includes a leading /p. > > But there

Re: [openstack-dev] [all][docs] Incorrect '/p' in Project Source URLs on docs.openstack.org/developer

2015-10-16 Thread Doug Hellmann
Excerpts from Neil Jerram's message of 2015-10-16 13:10:41 +: > On 16/10/15 13:53, Christian Berendt wrote: > > On 10/16/2015 01:46 PM, Neil Jerram wrote: > >> I'd be happy to submit a fix for this, but I haven't yet found which > >> project generates this URL. Can someone advise? > > The deve

Re: [openstack-dev] [all][docs] Incorrect '/p' in Project Source URLs on docs.openstack.org/developer

2015-10-16 Thread Neil Jerram
On 16/10/15 13:53, Christian Berendt wrote: > On 10/16/2015 01:46 PM, Neil Jerram wrote: >> I'd be happy to submit a fix for this, but I haven't yet found which >> project generates this URL. Can someone advise? > The developer documentations use the oslosphinx > theme.(http://git.openstack.org/cg

Re: [openstack-dev] [all][docs] Incorrect '/p' in Project Source URLs on docs.openstack.org/developer

2015-10-16 Thread Christian Berendt
On 10/16/2015 01:46 PM, Neil Jerram wrote: > I'd be happy to submit a fix for this, but I haven't yet found which > project generates this URL. Can someone advise? The developer documentations use the oslosphinx theme.(http://git.openstack.org/cgit/openstack/oslosphinx). The mentioned URL is gene