hound: exclude nixops-dashboard
This commit is contained in:
parent
6085612ccc
commit
57e0bb9f1c
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,10 @@ import requests
|
||||||
import json
|
import json
|
||||||
from pprint import pprint
|
from pprint import pprint
|
||||||
|
|
||||||
|
disallowed_repos = [
|
||||||
|
'NixOS/nixops-dashboard', # empty repo causes an error
|
||||||
|
];
|
||||||
|
|
||||||
allowed_forks = [
|
allowed_forks = [
|
||||||
'nix-community/acpi_call',
|
'nix-community/acpi_call',
|
||||||
'nix-community/bundix',
|
'nix-community/bundix',
|
||||||
|
@ -36,6 +40,7 @@ def all_for_org(org):
|
||||||
'url': repo['clone_url'],
|
'url': repo['clone_url'],
|
||||||
}
|
}
|
||||||
for repo in repos
|
for repo in repos
|
||||||
|
if repo['full_name'] not in disallowed_repos
|
||||||
if repo['archived'] == False
|
if repo['archived'] == False
|
||||||
if repo['fork'] == False or repo['full_name'] in allowed_forks
|
if repo['fork'] == False or repo['full_name'] in allowed_forks
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue