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: e1d8a61431e1
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: dabdd3a06d92
Choose a head ref
  • 2 commits
  • 10 files changed
  • 2 contributors

Commits on Mar 28, 2020

  1. mariadb-connector-c: add mysqlclient.pc pkgconfig symlink

    (cherry picked from commit 349a991)
    B4dM4n authored and Ma27 committed Mar 28, 2020
    Copy the full SHA
    50de0ac View commit details
    Browse the repository at this point in the history
  2. hydra: 2020-02-06 -> 2020-03-{24,27}

    Upgrades Hydra to the latest master/flake branch. To perform this
    upgrade, it's needed to do a non-trivial db-migration which provides a
    massive performance-improvement[1].
    
    The basic ideas behind multi-step upgrades of services between NixOS versions
    have been gathered already[2]. For further context it's recommended to
    read this first.
    
    Basically, the following steps are needed:
    
    * Upgrade to a non-breaking version of Hydra with the db-changes
      (columns are still nullable here). If `system.stateVersion` is set to
      something older than 20.03, the package will be selected
      automatically, otherwise `pkgs.hydra-migration` needs to be used.
    
    * Run `hydra-backfill-ids` on the server.
    
    * Deploy either `pkgs.hydra-unstable` (for Hydra master) or
      `pkgs.hydra-flakes` (for flakes-support) to activate the optimization.
    
    The steps are also documented in the release-notes and in the module
    using `warnings`.
    
    `pkgs.hydra` has been removed as latest Hydra doesn't compile with
    `pkgs.nixStable` and to ensure a graceful migration using the newly
    introduced packages.
    
    To verify the approach, a simple vm-test has been added which verifies
    the migration steps.
    
    [1] NixOS/hydra#711
    [2] #82353 (comment)
    
    (cherry picked from commit bd5324c)
    Ma27 committed Mar 28, 2020
    Copy the full SHA
    dabdd3a View commit details
    Browse the repository at this point in the history