Merge lp://qastaging/~mabac/launchpad-work-items-tracker/remove-html-extensions into lp://qastaging/~linaro-automation/launchpad-work-items-tracker/linaro

Proposed by Mattias Backman
Status: Rejected
Rejected by: Mattias Backman
Proposed branch: lp://qastaging/~mabac/launchpad-work-items-tracker/remove-html-extensions
Merge into: lp://qastaging/~linaro-automation/launchpad-work-items-tracker/linaro
Diff against target: 74 lines (+7/-7)
3 files modified
report_tools.py (+4/-4)
templates/roadmap_card.html (+1/-1)
templates/roadmap_lane.html (+2/-2)
To merge this branch: bzr merge lp://qastaging/~mabac/launchpad-work-items-tracker/remove-html-extensions
Reviewer Review Type Date Requested Status
Linaro Infrastructure Pending
Review via email: mp+85744@code.qastaging.launchpad.net

Description of the change

Hi,

This branch removes the .html extension from the generated card and lane pages.

It also removes the leading blank line from the base.html template. The reason we need it is that IS has enabled some magic apache trick that will show pages without extensions if the content "looks like" html. That heuristic fails if there is a blank line before any tags.

Thanks,

Mattias

To post a comment you must log in.
317. By Mattias Backman

Revert removing the leading blank line.

Revision history for this message
Mattias Backman (mabac) wrote :

IS changed their solution so we don't need to remove the blank line anymore.

Revision history for this message
Guilherme Salgado (salgado) wrote :

I'm not sure I understand why we're doing this. Is this something we
wanted to do and now we can as they've changed apache to detect the
content-type of extensionless files?

Revision history for this message
Mattias Backman (mabac) wrote :

We need the changes that are left in the branch. That is generate the files without the .html extension. I reverted the other change.

Unmerged revisions

317. By Mattias Backman

Revert removing the leading blank line.

316. By Mattias Backman

Remove .html extension from lane and card reports.

315. By Mattias Backman

Remove leading blank line in the base.html template.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches