Skip to content
  • Kevin Morris's avatar
    feat(fastapi): add configurable commit hash display · 0d734eb0
    Kevin Morris authored
    
    
    Two new options have been added:
    
    - [devel] commit_url
        - URL including an %s format specifier that can be used to link
          to a webpage for the commit.
    - [devel] commit_hash
        - HEAD's commit hash (produced via `git rev-parse HEAD`)
    
    If a `[devel] commit_hash` is configured, a link to the commit based on
    `[devel] commit_url` will be displayed in the aurweb footer in
    the form: `HEAD@<commit_hash>`. If no `[devel] commit_url` is
    configured, a non-linked hash will be displayed.
    
    Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
    0d734eb0