Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 387364f9fed8
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 5573fdc6b4e2
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Sep 12, 2020

  1. gotify-server: fix UI

    In version 2.0.15 `gotify` switched to `packr` at 2.x which is why the
    UI can't be served properly via HTTP and causes an empty 500 response and
    the following errors in `journald`:
    
    ```
    2020/09/12 19:18:33 [Recovery] 2020/09/12 - 19:18:33 panic recovered:
    GET / HTTP/1.1
    Host: localhost:8080
    Accept: */*
    User-Agent: curl/7.72.0
    
    stat /home/ma27/Projects/ui/build/index.html: no such file or directory
    ```
    
    This wasn't caught by the VM-test as it only tested the REST and push
    APIs. Using their internal `packr.go` script in our build as it's the
    case in the upstream build-system[1] fixes the issue.
    
    [1] https://github.com/gotify/server/pull/277/files#diff-b67911656ef5d18c4ae36cb6741b7965R48
    
    (cherry picked from commit 4a559f8)
    Ma27 committed Sep 12, 2020
    Copy the full SHA
    5573fdc View commit details
    Browse the repository at this point in the history