diff options
Diffstat (limited to 'sys')
6 files changed, 5 insertions, 8 deletions
diff --git a/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md b/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md index b8263464..48909e76 100644 --- a/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md +++ b/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md @@ -1,4 +1,4 @@ - - Plugin count: 3 +- Plugin count: 3 | Repo | Last Update | Nix package name | Last checked | |:---|:---|:---|:---| diff --git a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/spec.py b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/spec.py index edbd876b..0f2fb29c 100644 --- a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/spec.py +++ b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/spec.py @@ -27,7 +27,7 @@ class PluginSpec: name is the name to use for the plugin (default is value of repo). """ repository_host = RepositoryHost.GITHUB - gitref = "master" + # gitref = "master" repository_host_regex = r"((?P<repository_host>[^:]+):)" owner_regex = r"(?P<owner>[^/:]+)" diff --git a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/fixtures.py b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/fixtures.py index a90d67c6..75dd251a 100644 --- a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/fixtures.py +++ b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/fixtures.py @@ -3,7 +3,7 @@ import json import pytest from pytest_mock import MockerFixture -from update_vim_plugins.nix import GitSource, License, UrlSource +from update_vim_plugins.nix import GitSource, UrlSource @pytest.fixture() diff --git a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_nix.py b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_nix.py index 5d6e51b1..46e59f76 100644 --- a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_nix.py +++ b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_nix.py @@ -1,7 +1,5 @@ from update_vim_plugins.nix import GitSource, License, UrlSource -from .fixtures import git_source, rev, sha256, url, url_source - def test_url_source(url_source: UrlSource, url: str, sha256: str): assert url_source.url == url diff --git a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_plugin.py b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_plugin.py index 27d1a8db..32377e24 100644 --- a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_plugin.py +++ b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_plugin.py @@ -4,12 +4,10 @@ from typing import Callable import pytest from pytest_mock import MockFixture -from update_vim_plugins.nix import License, Source, UrlSource +from update_vim_plugins.nix import License, UrlSource from update_vim_plugins.plugin import GitHubPlugin, VimPlugin from update_vim_plugins.spec import PluginSpec -from .fixtures import sha256, url, url_source - @pytest.fixture() def mock_source(sha256: str): diff --git a/sys/secrets/update.sh b/sys/secrets/update.sh index 82aea59e..edc4ae8a 100755 --- a/sys/secrets/update.sh +++ b/sys/secrets/update.sh @@ -1,5 +1,6 @@ #!/usr/bin/env nix #! nix shell nixpkgs#age nixpkgs#jq nixpkgs#dash --command dash +# shellcheck shell=dash cleanup() { [ "$key_file" ] && rm "$key_file" |