mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 15:14:31 -04:00
fix pkg management subcommand
Some checks are pending
CodeQL / Analyze (python) (push) Waiting to run
Build Debian package / build (push) Waiting to run
Build Docker image / buildx (push) Waiting to run
Build Homebrew package / build (push) Waiting to run
Build GitHub Pages website / build (push) Waiting to run
Build GitHub Pages website / deploy (push) Blocked by required conditions
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
Some checks are pending
CodeQL / Analyze (python) (push) Waiting to run
Build Debian package / build (push) Waiting to run
Build Docker image / buildx (push) Waiting to run
Build Homebrew package / build (push) Waiting to run
Build GitHub Pages website / build (push) Waiting to run
Build GitHub Pages website / deploy (push) Blocked by required conditions
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
This commit is contained in:
parent
9072f4a999
commit
22a6666bab
1 changed files with 2 additions and 4 deletions
|
@ -8,8 +8,6 @@ from pydantic_pkgr.binprovider import bin_abspath
|
|||
|
||||
from ....config import NODE_BIN_PATH, bin_path
|
||||
|
||||
from plugantic.plugins import LOADED_PLUGINS
|
||||
|
||||
from pkg.settings import env
|
||||
|
||||
|
||||
|
@ -30,11 +28,11 @@ class Command(BaseCommand):
|
|||
|
||||
def list(self, *args, **options):
|
||||
self.stdout.write('################# PLUGINS ####################')
|
||||
for plugin in LOADED_PLUGINS:
|
||||
for plugin in settings.PLUGINS.values():
|
||||
self.stdout.write(f'{plugin.name}:')
|
||||
for binary in plugin.binaries:
|
||||
try:
|
||||
binary = binary.install()
|
||||
binary = binary.load()
|
||||
except Exception as e:
|
||||
# import ipdb; ipdb.set_trace()
|
||||
raise
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue