Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Extension manager with dependencies validation #3020

Open
RGX650 opened this issue Apr 2, 2024 · 0 comments
Open

[Feature]: Extension manager with dependencies validation #3020

RGX650 opened this issue Apr 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@RGX650
Copy link

RGX650 commented Apr 2, 2024

Feature description

PURPOSE:

  • prevent breaking SDNEXT installation
  • avoid & trace dependency incompatibility issues
  • giving better oversight for SDNEXT devs and extension devs
  • could possibly automatically sort and identify SDNEXT dev issues from extensions related issues ;)

ADDITIONAL FEATURES:

  • Installed dependencies history: Save/Autosave/Recover SDNEXT dependencies vs Installed extensions dependencies
  • Installed extensions history: Save/Autosave/Recover Installed extensions
  • Ability to define extensions installation order...? (Maybe usefull regarding circular dependencies or to auto sync deps versions, idk...)
  • Ability to share Comments/Flags/Warning/Comments between SDNEXT users regarding "inter-extentions" compatibility

EXTRAS?:

  • Extention relation + compatibility graph visualization...?
  • Ability to use local wheels
  • Ability to use an existing venv upon first SDNEXT installation
  • Ability to use a duplicated venv as sandbox (for devs)

NOTES (regarding the currently implementation i am trying to achieve or managed to do so far...):

  • leverage Python Poetry for package dependency management + debug-resolving
    (package mode = false , poetry debug resolve , poetry install --no-root --only main)
  • VCS control through a dedicated local git repo to host the pyproject.toml and exported requirements.txt files (Poetry + githooks)
  • Poetry + pypiserver with specific configuration to use local wheels if available
  • configurate specific local repo (for local wheels)
  • add supplemental/explicit sources and configurate pypi extra-index-urls

PS: How can i use a premade venv to install SDNEXT? Is it as simple as:

  • git clone SDNEXT
  • create custom venv in .../automatic/
  • Edit webuit.bat with: set VENV_DIR= .../automatic/venv
  • activate created custom venv
  • run webui.bat

Version Platform Description

No response

@RGX650 RGX650 added the enhancement New feature or request label Apr 2, 2024
@vladmandic vladmandic changed the title [Feature]: Extension manager with dependencies check-debug-resolve-validation BEFORE extention installation or update [Feature]: Extension manager with dependencies validation Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant