Ooh handy to know thanks!
Forgot about my pi Zero 2. It turns out that the plugin publish is telling me to run git add *
but when I commit the changes github tells me that my branch is up to date, so Iām not sure what the problem is :ā( Help!
volumio@volumio3:~/volumio-plugins-sources/gpio_control$ volumio plugin submit
This command will submit a plugin for publishing in the plugins store. Newly submitted plugins will be verified by the volumio team. After verification the plugin will be publically available on the beta channel. When the plugin is properly tested in the beta channel, it will be promoted to the stable channel, available to download by everyone. Every subsequent version of the plugin will alo be put in the beta channel, and will be promoted to the stable channel after testing.
? do you want to change your version? (leave blank for default) 1.0.0
Your repository contains unstaged changes. Please stage and commit your changes. Use 'git add *' to stage all changes.
For help please go to: https://volumio.github.io/docs/Plugin_System/Writing_A_Plugin.html
volumio@volumio3:~/volumio-plugins-sources/gpio_control$ git add *
volumio@volumio3:~/volumio-plugins-sources/gpio_control$ git commit
On branch master
Your branch is up to date with 'origin/master'.
Untracked files:
.json
../mpd_oled/
nothing added to commit but untracked files present
volumio@volumio3:~/volumio-plugins-sources/gpio_control$
please try the following steps, from your RPi running Volumio
- re-do volumio plugin submit, increasing the version number (1.0.1)
- git add --all (it should add the file with the increased version number)
- do again volumio plugin submit
Thanks that worked like a charm! Lets hope it gets added. How exciting!
I still canāt see it in the available plugins in beta modeā¦
i also see the node modules are part of your submit, they shouldnāt be there
@mervinio can you give some hints?
I can delete them and resubmit
I canāt submit the plugin without node_modules folder being present, not sure what Iām doing wrong.
volumio@volumio3:~/volumio-plugins-sources/gpio_control$ volumio plugin submit
This command will submit a plugin for publishing in the plugins store. Newly submitted plugins will be verified by the volumio team. After verification the plugin will be publically available on the beta channel. When the plugin is properly tested in the beta channel, it will be promoted to the stable channel, available to download by everyone. Every subsequent version of the plugin will alo be put in the beta channel, and will be promoted to the stable channel after testing.
? do you want to change your version? (leave blank for default) 1.0.1
Compressing the plugin
No modules found, running "npm install"
From the plugin folder without node modules, launch 'plugin submit '. It will build node modules and submit the plugin for arch set in package.json.
Once done, you have to send a PR of your code to volumio plugin sources.
After first submit the plugin is not visible yet in beta mode, we first do an initial verification.
The plugin is now available in beta mode.
I ran volumio plugin submit
and it complained about there being no node modules and then stopped.
Compressing the plugin
No modules found, running npm install
I had to run npm install
in order to submit the plugin, but made the PR before the node_modules were installedā¦
Awesome! Thanks!
Iāve now given the plugin the ability to pulse on and off, after a delay if required. Hopefully, available in the debug plugin store now!
Delay function has been implemented! Available in the debug plugin store now!
Can you see it now?
Iām not at home, I will try ASAP!
No drama! Let me know when you get a chance
I tried yesterday evening, I can confirm the plugin is available in the Beta channel and it works like a charm! well done!
Wow! Amazing Thanks!
@mervinio could you please promote it as stable, after checking if the code fulfills the coding rules?