Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gotify: 2.0.21 -> 2.1.0 #140139

Merged
merged 1 commit into from
Oct 1, 2021
Merged

gotify: 2.0.21 -> 2.1.0 #140139

merged 1 commit into from
Oct 1, 2021

Commits on Oct 1, 2021

  1. gotify: 2.0.21 -> 2.1.0

    ChangeLog: https://github.com/gotify/server/releases/tag/v2.0.22
    ChangeLog: https://github.com/gotify/server/releases/tag/v2.0.23
    ChangeLog: https://github.com/gotify/server/releases/tag/v2.1.0
    
    While the update only contains a few small features and a few bugfixes,
    the change was rather messy for us unfortunately:
    
    * It seems as if `npmjs.org`-packages can't be transformed into
      `pkg___pkg-x.y.z` for Yarn's offline cache. The name
      `https___registry.npmjs.org_caniuse_lite___caniuse_lite_1.0.30001237.tgz`
      isn't the problem because when changing the URL "parser" of `yarn2nix`
      to transform this into `org_caniuse_lite___caniuse_lite_1.0.30001237`
      this doesn't help either.
    
      Instead, I derived the fix from `gitlab`[1] where `yarn.lock` gets
      patched to make sure that it detects the package in the offline-cache
      properly.
    
    * The frontend is now built with `react-scripts`. This is a problem for
      us because it tries to write into `node_modules/.cache` even though
      `node_modules` is a store-path in the context of `yarn2nix`[2].
    
      The change isn't pretty, but solves the issue for us.
    
    [1] https://github.com/NixOS/nixpkgs/blob/f007b794c758000a275b00dd0695d2fb155195f0/pkgs/applications/version-management/gitlab/default.nix#L85-L86
    [2] facebook/create-react-app#11263
    Ma27 committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    920474b View commit details
    Browse the repository at this point in the history