Merge ~cjwatson/launchpad:apidoc-git-repositories-url into launchpad:master

Proposed by Colin Watson
Status: Merged
Approved by: Colin Watson
Approved revision: bc238d5e22a2536f3a95c0da586749e3f4a16ffa
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~cjwatson/launchpad:apidoc-git-repositories-url
Merge into: launchpad:master
Diff against target: 23 lines (+5/-0)
1 file modified
lib/lp/services/webservice/wadl-to-refhtml.xsl (+5/-0)
Reviewer Review Type Date Requested Status
Jürgen Gmach Approve
Review via email: mp+435515@code.launchpad.net

Commit message

apidoc: Fix URL of top-level git_repositories collection

Description of the change

Reported by Joao Andre Simioni.

To post a comment you must log in.
Revision history for this message
Jürgen Gmach (jugmac00) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/lib/lp/services/webservice/wadl-to-refhtml.xsl b/lib/lp/services/webservice/wadl-to-refhtml.xsl
2index dc13955..0f6d973 100644
3--- a/lib/lp/services/webservice/wadl-to-refhtml.xsl
4+++ b/lib/lp/services/webservice/wadl-to-refhtml.xsl
5@@ -778,6 +778,8 @@
6 </div>
7 </xsl:template>
8
9+ <!-- These should match the corresponding path segments in
10+ lp.app.browser.launchpad.LaunchpadRootNavigation.stepto_utilities. -->
11 <xsl:template name="find-root-object-uri">
12 <xsl:value-of select="$base"/>
13 <xsl:choose>
14@@ -787,6 +789,9 @@
15 <xsl:when test="@id = 'charm_recipes'">
16 <xsl:text>/+charm-recipes</xsl:text>
17 </xsl:when>
18+ <xsl:when test="@id = 'git_repositories'">
19+ <xsl:text>/+git</xsl:text>
20+ </xsl:when>
21 <xsl:when test="@id = 'polls'">
22 <xsl:text>/+polls</xsl:text>
23 </xsl:when>

Subscribers

People subscribed via source and target branches

to status/vote changes: