Jump to content


Photo

A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins)


  • Please log in to reply
195 replies to this topic

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #61 alpa

  • Senior Member
  • 109 posts

0
Neutral

Posted 18 September 2011 - 09:29

All this enthusiasam is great.
It's good to see best teams unite for common good, and keeping the stuff open.
I wish you all good luck.

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #62 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 18 September 2011 - 13:02

-- "cfg" for all configuration files


Configuration files (if they are modified by the user's action) should be stored in /etc/enigma2/. They should be recognizable as belonging to a plugin though, so name them after your plugin.

The reason is that they automatically go into a settings backup. Don't want people to go hunting for all the things they need to backup in dozens of locations.
Real musicians never die - they just decompose

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #63 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 18 September 2011 - 13:55

-- "cfg" for all configuration files


Configuration files (if they are modified by the user's action) should be stored in /etc/enigma2/. They should be recognizable as belonging to a plugin though, so name them after your plugin.

The reason is that they automatically go into a settings backup. Don't want people to go hunting for all the things they need to backup in dozens of locations.


I don't agree. This is true for linux applications. But in my opinion plugins are only e2 additions that have to be independent to be easly installed or removed.
I don't like plugins that go out of their tree without reason.
But it is only an opinion. I understand that the post you quoted can cause misunderstanding, so forget it.

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #64 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 20 September 2011 - 18:56

I'm thinking about restructuring the plugins to individual bb files. That needs some work and some discussion.
Basicly the questions plnick came up with.


It seems to me that the plnick question was about to push in main repo.
But this seems to be not a problem if we will have write access to it.

About the idea to create individual .bb files and avoid DYNAMIC_PACKAGES i am not sure to have the skill to understand.
In my poor knowledge i was thinking that we can start using one .bb file only (enigma2-open-plugins.bb) and change later when/if we will have a better solution.
Or maybe there are other problems ?

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #65 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 20 September 2011 - 19:37

having a single repository with a single toplevel makefile makes it harder to:

-merge plugins from different repositories into the shared repository
-pick a selection of plugins to be used in a certain image (or feed)

By using lots of stand-alone subdirs, we can probably make life easier, for developers and users.
(especially if every plugin/subdir would contain its own example bb file for instance, so everybody knows how to 'build' the plugin)

Looking at elitedvb for instance, where all plugins are built from a single shared makefile, imagine you would want to:

-leave out a certain plugin, because you already provide the functionality in your base image
You would have to apply a patch to the central makefile, to realise that
-add a certain file (e.g. customized default config or icon) to a plugin
You would have to write some custom code in the dynamic package grabbing code


Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #66 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 20 September 2011 - 21:55

Ok pieterg this is absolutely clear and logic.
I like too the idea to add the example bb file for every plugin.
And this should be extremely logic and easy to implement in my experience using a single git for each plugin.

But how to do using a single git repository with stand-alone subdirs for each plugin ?
In this case if we use the git url in the source of bb file we will have for each plugin the process of the entire repository and source tree.
And this is not good.
Or am i wrong ?

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #67 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 20 September 2011 - 22:04

Perhaps we could even decide to just use a seperate repository for each plugin...
Or does github have a limitation on the number of repositories per project?


Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #68 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 20 September 2011 - 22:30

It seems to me that there is not limit (i am not sure, maybe WanWizard can confirm)
But i am afraid that if we will have a git for each plugin nobody will cooperate and everyone will work only on its code.

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #69 jeffphil

  • Senior Member
  • 116 posts

+7
Neutral

Posted 20 September 2011 - 23:41

Hi all I have been following this discussion and I would like to encourage this endeavour as it can only produce better plugins. I gather there will be a need for testers for these combined plugins and I for one would like to contribute to this process. My programming skills at not at a level to do any usefull development but I am happy to test and pass on results / logs as necessary.
Until The Wheels are off the ground there is still hope


DM500,DM600,DM800HD,VU+ Duo

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #70 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 21 September 2011 - 09:39

another advantage for one-repos-per-plugin will be that we will get a nice incremental version per plugin.
Instead of one combined version for 100 plugins.

So when a new version is available, that actually means something has changed.

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #71 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 21 September 2011 - 10:04

another advantage for one-repos-per-plugin will be that we will get a nice incremental version per plugin.
Instead of one combined version for 100 plugins.

So when a new version is available, that actually means something has changed.


If you think this is the better solution it is ok for me.
Maybe we can setup a mailman mailing-list and use for each repo the "service hooks" email pointed to our ml to inform in real time all subscribers about all the commits.

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #72 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 21 September 2011 - 10:17

I have tested now @github and it seems to work.

[lupomeo/testplugins] 16b036: Update readme
From:
noreply@github.com
To:
xxx@gmail.com
Data:
Today 11:00:26

Branch: refs/heads/master
Home: https://github.com/lupomeo/testplugins

Commit: 16b036b3ff59f0bf5d11a7c7116161628bdff3bc
https://github.com/l...16161628bdff3bc
Author: meo <xxx@gmail.com>
Date: 2011-09-21 (Wed, 21 Sep 2011)

Changed paths:
M README

Log Message:
-----------
Update readme



Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #73 skaman

  • Senior Member
  • 67 posts

+48
Good

Posted 26 September 2011 - 14:09

I've no problem with "all plugins in one repo" or "one repo per plugin". For me it's the same. So as you prefer :D
I also agree with bacicciosat when he speak about define some "coding guidelines".
I've only one request. Some plugins (in my case i'm speaking about crossepg) already exist. Probabilly it doesn't follow the guidelines but change it now (when around internet there are many scripts/tools/guides) it may make many problems to the final user.
So, if possibile, i'm asking to do some exceptions about existings plugins. And apply the guidelines only with new plugins.

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #74 skaman

  • Senior Member
  • 67 posts

+48
Good

Posted 26 September 2011 - 14:10

I have tested now @github and it seems to work.


[lupomeo/testplugins] 16b036: Update readme
From:
noreply@github.com
To:
xxx@gmail.com
Data:
Today 11:00:26

Branch: refs/heads/master
Home: https://github.com/lupomeo/testplugins

Commit: 16b036b3ff59f0bf5d11a7c7116161628bdff3bc
https://github.com/l...16161628bdff3bc
Author: meo <xxx@gmail.com>
Date: 2011-09-21 (Wed, 21 Sep 2011)

Changed paths:
M README

Log Message:
-----------
Update readme


This is really usefull. I like it :)

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #75 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 26 September 2011 - 22:18

I've only one request. Some plugins (in my case i'm speaking about crossepg) already exist. Probabilly it doesn't follow the guidelines but change it now (when around internet there are many scripts/tools/guides) it may make many problems to the final user.
So, if possibile, i'm asking to do some exceptions about existings plugins. And apply the guidelines only with new plugins.


Dear skaman i think my post about guidelines was a stupid idea because everyone have his own style and opinion, so it is better to forget it.
Off course i was not talking about crossepg or other important plugins that need special configurations or background functions.
I am sorry for misunderstanding about that post.


But it seems to me that this project is not started and is going to lose interest.

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #76 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 26 September 2011 - 22:28

I've been doing some work behind the scenes. It took some time to split our plugin repo to multiple repo's and create new bb's and setup.py's.
I've put 4 repo's online to get some feedback at https://github.com/Sjaaky

The idea is to start one repository for one plugin. For most plugins the easy to use distutils will be used. For more complicated plugins (which use extra standalone c binaries) autotools is used. There is 1 repository with all bitbake recipes. This can be used as an example and be copied into openembedded. Or be integrated into openembedded/recipes as a submodule.

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #77 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 26 September 2011 - 22:45

Of course, everything will be moved to the E2 OpenPlugins organization. And it is probably better to prefix every plugin with e2openplugin- as well. What do you think?

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #78 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 26 September 2011 - 22:55

Wow Sjaaki, i think all is very good.

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #79 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 26 September 2011 - 23:05

about mailing list do you agree Sjaaki ?
It seems to me that Github account don't provide ML creation.
Maybe we can use Source Forge for the ml that provide mailman service.

Re: A suggestion: Common Public E2 Plugin Repository (E2 OpenPlugins) #80 skaman

  • Senior Member
  • 67 posts

+48
Good

Posted 27 September 2011 - 15:17

@sjaaky
It seem ok ... good work :)
When organization E2 openplugins will be created i'm ready to move crossepg (i hope to find some tool to convert actual svn repo to git without loose commits descriptions).
For any kind of help with startup.. simply ask.. i'm here!

@bacicciosat
For ML with crossepg i used google groups. I created a group for crossepg where every user can register/unregister his mail. And from google code (actual home of crossepg) i setted the main mail of the group as diff recipient.


2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users