Plugin manager for EG

Do you have questions about writing plugins or scripts in Python? Meet the coders here.

Re: Plugin manager for EG

Postby pearbear » Sat Nov 19, 2016 9:17 am

kgschlosser wrote:what i can do is a search for the GNU-GPL in the header of a plugin anf if it is not found omit it from the list unless we were able to obtain written consent from the author. but from this step forward i do believe the traditional EG header is a mandate in a plugin and upon adding it to the repo if it is not there then it will kick it back. i think that the GNU actually should be located in a separate file called license.txt and a balloon statement for all files located within the contents of the .egtree file are apart of the GNU-GPLthis should be added either as a file or a comment in the compression.

Note that it says:
This means you must license the plug-in under the GPL or a GPL-compatible free software license

so the GPL license is not required. For example, I like to use the MIT license on my code because it seems to be the more permissive license but that license is GPL-compatible so I could use that license in an EventGhost plugin without being in violation of EventGhost's license.

kgschlosser wrote:are we going to provide all versions of a plugin available??? or just the most up to date.. the reason why i ask this is because of the possibility of a new version of a plugin not being compatible with an older version of EG.

I think it would be really nice to have all versions in the database, default to installing the most recent but allow the user to install or roll back/forwards to any available version of the plugin. Sometimes bugs are introduced in the new version and it's very useful to be able to roll back to check if using an older version will make an issue go away. As you said, future EG versions may require changes in plugins that will break backwards compatibility with previous EG versions. If the user has other unmaintained plugins installed that aren't compatible with the new EG version then they may not be able to upgrade their EG and thus can't use the new plugin versions that aren't backwards compatible.

On a related note, there is a good discussion about adding version compatibility metadata to the plugins here: https://github.com/EventGhost/EventGhost/issues/89, which would be a very useful feature for the Plugin Manager.
pearbear
Experienced User
 
Posts: 97
Joined: Mon Apr 02, 2012 10:28 pm

Re: Plugin manager for EG

Postby kgschlosser » Sat Nov 19, 2016 2:23 pm

well maybe we should address how the metadata should be laid out and i can add that now or we can wait. doesn't matter to me.
A loved one and Time, The 2 things that can never be replaced.

Family, The only thing you don't get to choose in life.
User avatar
kgschlosser
Site Admin
 
Posts: 1280
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Plugin manager for EG

Postby Sem;colon » Sat Nov 19, 2016 11:45 pm

pearbear wrote:so the GPL license is not required. For example, I like to use the MIT license on my code because it seems to be the more permissive license but that license is GPL-compatible so I could use that license in an EventGhost plugin without being in violation of EventGhost's license.

So, if that's how it works, I'd license the __init__.py as MIT and all the other files I ship under a commercial software license (it's a web interface for EG, it has many files) and everyone is happy, right?

pearbear wrote:
On a related note, there is a good discussion about adding version compatibility metadata to the plugins here: https://github.com/EventGhost/EventGhost/issues/89, which would be a very useful feature for the Plugin Manager.

+1
Sem;colon
Experienced User
 
Posts: 551
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: Plugin manager for EG

Postby topix » Sun Nov 20, 2016 12:16 am

disclaimer.png
disclaimer.png (5.95 KiB) Viewed 260 times

Would this be ok as part of the legal issues?
topix
Experienced User
 
Posts: 273
Joined: Sat May 05, 2007 3:43 pm
Location: Germany

Re: Plugin manager for EG

Postby eirik226 » Sun Nov 20, 2016 1:26 am

topix wrote:
disclaimer.png

Would this be ok as part of the legal issues?


Do you really need to have it in the plugin itself like a box? Isn't it enough to just write it when you install EG, or something like that? I have no clue, just asking.
eirik226
Experienced User
 
Posts: 111
Joined: Wed Nov 07, 2012 5:22 pm

Re: Plugin manager for EG

Postby jonib » Sun Nov 20, 2016 1:52 am

I think having a disclaimer the first time you install any plugin is best, preferably it can be hidden after.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
jonib
Plugin Developer
 
Posts: 1177
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Plugin manager for EG

Postby kgschlosser » Sun Nov 20, 2016 7:18 am

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS, COPYRIGHT HOLDERS, EVENTGHOST.COM, EVENTGHOST.ORG, EVENTGHOST.NET,
GITHUB.COM/EVENTGHOST OR ANY OF THE PAST/PRESENT AUTHORS AND CONTRIBUTIORS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
THE SOFTWARE OR ANY OF THE PLUGINS OBTAINED FROM INSIDE THE SOFTWARE
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

THE SOFTWARE AND ANY OF THE PLUGINS AVAILABLE FROM INSIDE OF THE SOFTWARE
ARE DISTRIBUTED UNDER THE EVENTGHOST GNU-GPL V2


gotta cover everyone including the people that don't even do anything with the project anymore
A loved one and Time, The 2 things that can never be replaced.

Family, The only thing you don't get to choose in life.
User avatar
kgschlosser
Site Admin
 
Posts: 1280
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Plugin manager for EG

Postby kgschlosser » Sun Nov 20, 2016 7:24 am

there should be a TOS help menu item or a button in the about for a TOS. for EventGhost it's self. as well as for all of the plugins. with links pointing to the different subsections on the GNU website and any contact e-mails that need to be given if there is some kind of a dispute about the distribution of a plugin

it's some pretty typical crap. and also if eventghost is going to send any data for downloading plugins. like the version number of the program. this needs to be stated that electronic software version information is going to be sent to another server in order to compile a list of plugins that will function with the currently installed version of EventGost

and you can go into explicit detail about what exactly gets sent. but even if nothing gets sent. there still needs to be a notification each and every single time the thing is going to connect to obtain that list of plugins the user has to click OK on. now you can provide that little checkbox "don't show this again" and that is cool to do, because they are knowingly dismissing that message and by doing so it gives EG the authorization to send whatever data it needs as well as make the connection..
A loved one and Time, The 2 things that can never be replaced.

Family, The only thing you don't get to choose in life.
User avatar
kgschlosser
Site Admin
 
Posts: 1280
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Plugin manager for EG

Postby dequi » Thu Jan 05, 2017 7:32 pm

kgschlosser wrote:ok so this is what i have thus far...

i have sorted the connection issue ones.. and the totals thus far are 290 unique plugins...

there are different versions of each plugin totaling somewhere around 836 .egplugin files.

If possible, I'd love to get a copy of your list and the .egplugin files to parse, search and browse...well basically - have my way with it :mrgreen:
/dequi
dequi
Experienced User
 
Posts: 54
Joined: Wed Jul 20, 2016 12:31 pm
Location: Belgium

Re: Plugin manager for EG

Postby kgschlosser » Thu Jan 05, 2017 10:35 pm

I can arrange that.

they really need a going through. and I am guilty of this as well. but if it is a minor bug fix i wouldn't always roll the version number. and I am sure quite a few of the duplicates are from this exact thing. I would have to make the thing so it would open up the duplicate and load the files and see if in fact they are different or not. this should shrink the number of duplicates

I also want to get a running total of the number of plugins. and not a total of the number of egplugin files. because there could be 100 versions of one plugin.
A loved one and Time, The 2 things that can never be replaced.

Family, The only thing you don't get to choose in life.
User avatar
kgschlosser
Site Admin
 
Posts: 1280
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Previous

Return to Coding Corner

Who is online

Users browsing this forum: No registered users and 1 guest