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: bc99830b675a
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: eb013e679e07
Choose a head ref
  • 4 commits
  • 62 files changed
  • 1 contributor

Commits on Oct 2, 2020

  1. treewide: fix redirected urls (run 3)

    Related:
     - 9fc5e7e
     - 593e11f
     - 508ae42
    
    Since the last time I ran this script, the Repology API changed, so I had to
    adapt the script used in the previous PR. The new API should be more robust, so
    overall this is a positive (no more grepping the error messages for our relevant
    data but just a nice json structure).
    
    Here's the new script I used:
    
    ```sh
    curl https://repology.org/api/v1/repository/nix_unstable/problems \
       | jq -r '.[] | select(.type == "homepage_permanent_https_redirect") | .data | "s@\(.url)@\(.target)@"' \
       | sort | uniq | tee script.sed
    find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
    ```
    
    I will also add this script to `maintainers/scripts`.
    Synthetica9 authored and Jon committed Oct 2, 2020
    Copy the full SHA
    f7e390e View commit details
    Browse the repository at this point in the history
  2. maintainers/scripts: add update_redirected_urls to fix redirected url…

    …s using Repology data
    Synthetica9 authored and Jon committed Oct 2, 2020
    Copy the full SHA
    e9acc77 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    b133532 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    eb013e6 View commit details
    Browse the repository at this point in the history