[Solved] How to setup Github repo for my plugin?

Hello developers:

I saw on the plugin management page (Jeedom Market), there is a tab github, I wonder how I can set the plugin connected to its repo?

I did input the following, but when I click test, it reports Not found.

Utilisateur ou organisation du dépot: snipsco
Nom du dépôt: snips-jeedom-plugin

Beta: beta
Stable: master

The real repo address : GitHub - snipsco/snips-jeedom-plugin: Jeedom plugin allows connecting Snips voice assistant with Jeedom platform. (public)
The other optiosn are empty since I don’t need the documentation generation.

What should I do to make it connected and keep the plugin updated with the repo automatically?


Thanks in advance.

Hi,

Your setup seems right.

When you edit your plugin on the market, on General tab, does all is right ? Does the ID is same as in your plugin_info/info.json ?

Also, your plugin repo doesn’t seems right. The plugin is in a snips folder, where the structure should be at the root of the repo, just like it will be copied to jeedom plugin folder.
You could try to put snips-jeedom-plugin/snips as repo name but not sure it will work.
The folders core, desktop, plugin_info etc should be directly accessible from github/user/repoName

Hi,

In fact, the beta branch was on the root directory and plugin id page was all correct(plugin_info.json as well). I’v just merged beta to master branch. But I still have the same problem Not found.

One thing that could happen, when I click envoyer mon plugin button in Jeedom, the plugin folder does not contain .git directory. It’s purer plugin code.

it’s okay

1 « J'aime »

C’est parfait, merci beaucoup!!

seems the last stable is broken, did you had a look at public jeedom forum ?

[2019-03-25 12:40:07] snips.ERROR: Erreur sur la fonction deamon_start du plugin : Can not find taks corn [] []

Yes, the fix is already pushed to master branch.

Jeedom market will do the sync everyday right?

yes but you go to your account, plugin, edit and hit test on master branch to put immediately available

1 « J'aime »

Just realised this function. Done. New fixes is pushed.

Next, jeedom V4 adaption

Hello Alexandre:

I have the same issue again, when I tried to add my v3 branch to v3 input box, it always reports branch not found.

Could you please take a look if it’s a bug? And help me set it up if you can :grinning:

I checked the ajax request form, it gets the correct input value. It seems a backend issue.

jeedom_token: acdjj9s3me9py19chrhj
action: getFromGithub
id: 3419
branch: v3

Hello @ke.fang ,

you must click on « validate » on the top right before syncronizing.

Normally everything is ok now;)

Thank you! This was the issue. I didn’t notice the validate button at all.