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-search
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b751dec5eb1f
Choose a base ref
...
head repository: NixOS/nixos-search
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cb30293956ad
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 10, 2020

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    picnoir Félix
    Copy the full SHA
    cb30293 View commit details
Showing with 6 additions and 3 deletions.
  1. +6 −3 scripts/import-channel
9 changes: 6 additions & 3 deletions scripts/import-channel
Original file line number Diff line number Diff line change
@@ -39,11 +39,11 @@ CHANNELS = {
},
"19.09": {
"packages": "nixpkgs/nixpkgs-19.09pre",
"options": "nixos/19.09/",
"options": "nixos/19.09/nixos-19.09.",
},
"20.03": {
"packages": "nixpkgs/nixpkgs-19.09pre",
"options": "nixos/20.03/",
"options": "nixos/20.03/nixos-20.03.",
},
}
ANALYSIS = {
@@ -205,7 +205,10 @@ def get_last_evaluation(prefix):
if not item:
continue
logger.debug(f"get_last_evaluation: evaluation in raw {item}")
revisions_since_start, git_revision = item['Prefix'][len(prefix):].rstrip('/').split('.')
try:
revisions_since_start, git_revision = item['Prefix'][len(prefix):].rstrip('/').split('.')
except:
__import__('pdb').set_trace()
evaluation = {
"revisions_since_start": int(revisions_since_start),
"git_revision": git_revision,