Skip to content

jeecli install plugin by github source #3057

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

Open
wants to merge 1 commit into
base: alpha
Choose a base branch
from

Conversation

pifou25
Copy link
Contributor

@pifou25 pifou25 commented May 9, 2025

Description

J'avais besoin de pouvoir installer un plugin à l'initialisation du core, mais on est bloqué par le message d'erreur du market (on doit configurer manuellement nos identifiants du market avant de pouvoir installer un plugin)
Cette modification permet d'installer un plugin via le repo github directement à l'aide de jeecli avec la syntaxe suivante:

php jeecli.php plugin install [plugin_id] [user] [repository=plugin_id] [branch=master]

ça nous sera utile aussi pour les phpunit - tests unitaires.

Suggested changelog entry

jeecli : install plugin from github source

Related issues/external references

Fixes #

Types of changes

  • Bug fix (non-breaking change which fixes)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
    • This change is only breaking for integrators, not for external standards or end-users.
  • Documentation improvement

PR checklist

@Sekiro-kost
Copy link
Contributor

Sekiro-kost commented May 12, 2025

Fonctionne parfaitement, très pratique, je valide, merci.
Il faut que github::enable soit activé par contre

@Hotfirenet
Copy link
Contributor

Effectivement si github n'est pas activé alors ca ne fonctionne pas, soit on l'ajoute directement dans https://github.com/jeedom/core/blob/alpha/core/config/default.config.ini

ou alors on le prévoit en variable d'environnement dans .ENV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants