commit | 61eaf8a9eccf4edbef18f55593d1095254ed3ff5 | [log] [tgz] |
---|---|---|
author | Tamar Christina <tamar.christina@arm.com> | Thu Aug 06 18:56:36 2020 +0100 |
committer | Thomas Preud'homme <thomasp@graphcore.ai> | Thu Aug 06 18:59:09 2020 +0100 |
tree | 81ce4345ff4750640b5bc476b2f02fcda42f0211 | |
parent | 554f0722ae0daaab3abb7fd2205a9f00ce787cf0 [diff] |
Generate relative URLs instead of absolute urls for weburls. Currently LNT generates for the web views a url by using flask, however the documentation[1] specifies that when _External is true then an absolute URL is generated. This base url is used in links generated by the page. This means we now emit absolute urls into the html. This is problematic as it breaks when LNT is used behind a reverse proxy. The urls used then won't match and will be incorrect. OK for master? Also I don't have commit rights so if OK Can someone commit it for me? [1] https://flask.palletsprojects.com/en/1.1.x/api/#flask.url_for Reviewed By: thopre Differential Revision: https://reviews.llvm.org/D85425
This directory and its subdirectories contain the LLVM nightly test infrastructure. This is technically version “4.0” of the LLVM nightly test architecture.
The infrastructure has the following layout:
$ROOT/lnt - Top-level Python ‘lnt’ module
$ROOT/lnt/server/db - Database schema, utilities, and examples of the LNT plist format.
$ROOT/docs - Sphinx documentation for LNT.
$ROOT/tests - Tests for the infrastructure.
For more information, see the web documentation, or docs/.