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: f6a53ee71fbf
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 2e80fb5a206b
Choose a head ref
  • 7 commits
  • 41 files changed
  • 1 contributor

Commits on Apr 15, 2020

  1. Copy the full SHA
    2dff34b View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    a772bc6 View commit details
    Browse the repository at this point in the history
  3. common-updater-scripts: add scripts to help update packages

    - updateScript:
      A nix expression that can be used in passThrough to update a package
    
    - list-git-tags:
      A shell script to list available tags in a git repository
    
    - list-archive-two-level-versions:
    
      A shell script to list available versions in a web site in two
      levels: there is a page listing the available major.minor versions,
      and for each of them there is another page listings the patch level
      versions major.minor.patch.
    
      It is suitable for Xfce packages for instance.
    
    How the updater works:
    
    1. collect the available versions from the source repository (using a
    script given as argument)
    
    2. print the collected versions (for debugging)
    
    3. (optionally) apply some transformation to the collected versions to
    make them compatible with the versions used in nixpkgs (for instance,
    tags in the Xfce git repository may be prefixed with the package name,
    and the prefix need to be removed)
    
    4. sort the available versions in decreasing order
    
    5. choose the first version that pass validation:
       - check if the version may be a development version
    
       - if the version IS unstable, skip it and give a warning about
       skipping a development version (for debugging)
    
       - if the version COULD BE unstable, take it and give a warning
       about taking a potential development version (for debugging)
    
       - if the version IS stable, take it
    
    6. update the package version and checksum in its nix expression
    
    7. print the git commands for adding the modified files and for
    committing the changes
    romildo committed Apr 15, 2020
    Copy the full SHA
    827a661 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    8162d76 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    06ba312 View commit details
    Browse the repository at this point in the history
  6. common-updater-scripts: ignore update-git-commits.txt

    It is generated by common-updater/update-script.nix
    romildo committed Apr 15, 2020
    Copy the full SHA
    a097de3 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #84292 from romildo/xfce.upate-script

    xfce: add update script
    romildo committed Apr 15, 2020
    Copy the full SHA
    2e80fb5 View commit details
    Browse the repository at this point in the history