Needing a method to insert URL to the "main" launchpad page for the context

Bug #141512 reported by Данило Шеган
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Won't Fix
Medium
Unassigned

Bug Description

Like canonical_url(context), we may also need a main_canonical_url(context) which would always direct to the main launchpad.net web site, instead of depending on the configuration (production, edge, staging, demo, beta).

Not sure how easy this is because it involves processing multiple different LP configurations.

Changed in launchpad:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Данило Шеган (danilo) wrote :

Example usage: we are automatically generating translation credits in Launchpad, and the display and exported PO files differ depending on which host you are visiting or where did the export happen: https://translations.edge.launchpad.net/ubuntu/gutsy/+source/gnome-panel/+pots/gnome-panel-2.0/sr/51/+translate

Revision history for this message
Curtis Hovey (sinzui) wrote :

canonical_url does support a rootsite argument that is used to set the host: The tales formatter fmt:link:host can also be used.

Changed in launchpad-foundations:
status: Triaged → Fix Released
Revision history for this message
Данило Шеган (danilo) wrote :

Curtis, the bug specifically describes using a different config, and not a different rootsite.

Changed in launchpad-foundations:
status: Fix Released → Triaged
Revision history for this message
Robert Collins (lifeless) wrote :

I think we can close this with edge going: for staging etc its ok to generate links within staging IMNSHO.

Changed in launchpad-foundations:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.