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/nixos-channel-scripts
base: 10188a5679e0
Choose a base ref
...
head repository: NixOS/nixos-channel-scripts
compare: 73cf003eccf1
Choose a head ref
  • 14 commits
  • 5 files changed
  • 2 contributors

Commits on Mar 24, 2020

  1. Add .gitignore for result

    samueldr committed Mar 24, 2020
    Copy the full SHA
    9d6f0ce View commit details
    Browse the repository at this point in the history
  2. Add flake-compat default.nix/shell.nix

    Let's keep this repository as accessible to contributors as possible!
    samueldr committed Mar 24, 2020
    Copy the full SHA
    55d8093 View commit details
    Browse the repository at this point in the history
  3. Split native programs build from the main build for shell use

    This way, we can fully run the mirror script in dry-run mode.
    samueldr committed Mar 24, 2020
    Copy the full SHA
    f4d0407 View commit details
    Browse the repository at this point in the history
  4. mirror: Introduce two functions for running commands

    They are thin wrappers over `system`, but two main points:
    
     * They log the (unescaped) command.
     * `run` will auto-die.
    
    This removes the need to pepper `== 0 or die` in the script.
    samueldr committed Mar 24, 2020
    Copy the full SHA
    ab952e5 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    f5d04ea View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    84c6a24 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    877e989 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2020

  1. Copy the full SHA
    13154f8 View commit details
    Browse the repository at this point in the history
  2. 1
    Copy the full SHA
    badde7c View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    0568ef3 View commit details
    Browse the repository at this point in the history
  4. mirror: Use shell-free calls when possible

    Passing a list of parameters to `system` automatically gives us peace of
    mind with regards to shell escaping. This is because it will not rely on
    a shell invocation to run the given parameters, but directly exec to it.
    
    The left-over shell invocations all use redirection.
    samueldr committed Mar 25, 2020
    Copy the full SHA
    51104d8 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    7d46561 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    3cd3da0 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2020

  1. Copy the full SHA
    73cf003 View commit details
    Browse the repository at this point in the history