Plugin Development SVN

Discussion in 'MediaPortal 1 Plugins' started by James, January 25, 2007.

  1. James
    • Premium Supporter

    James Retired Team Member

    Joined:
    May 6, 2005
    Messages:
    1,385
    Likes Received:
    67
    Occupation:
    Engineer
    Location:
    Switzerland
    Ratings:
    +67 / 0
    Hi All Plugin Developers,

    We have setup an SVN for all plugin developers to store their work. This is to prevent all this hard work from getting lost. Provide a place to help new plugin developers find sample code and to enable collaboration for multiple developers to work on one plugin.

    To start the ball rolling. I have collected source code from around the forum and download area and checked it into the SVN.

    SF page: SourceForge.net: Mediaportal Plugins
    Code (Text):
    1.  
    2. svn checkout --username=youruser https://svn.code.sf.net/p/mp-plugins/code/trunk mp-plugins-code
    3.  
    (you can get all plugins, or just one directory by adding an extra level ;) )

    Please create a SourceForge account and PM your details to:



    hwahrmann, rtv, and-81 or myself

    (or catch us in IRC)

    We need to know your sourceforge user name and the you'll be able to commit changes.

    Happy Coding :)

    /James
     
    Last edited by a moderator: March 4, 2013
    • Like Like x 2
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. James
    • Premium Supporter

    James Retired Team Member

    Joined:
    May 6, 2005
    Messages:
    1,385
    Likes Received:
    67
    Occupation:
    Engineer
    Location:
    Switzerland
    Ratings:
    +67 / 0
    Just to add: No one has to use the SVN for their plugin.

    Including those developers whos code I added. That was just to get things started. If you do not want your code in the SVN then let me know and I will remove it.

    However, I think you will find if you try it out that an SVN is a very good development tool, enabling changes to be made without fear that old code will be lost, because it is always possible to go back. Also a great backup should something happen to the local copy and plugin code has already been lost through disk crash.
     
  4. CHli

    CHli Portal Pro

    Joined:
    July 5, 2005
    Messages:
    1,251
    Likes Received:
    14
    Occupation:
    Embedded Software Engineer
    Location:
    Switzerland
    Ratings:
    +14 / 0
    Home Country:
    Switzerland Switzerland
    Very good initiative ! I should register to sf.net :D
     
  5. misterd
    • Premium Supporter

    misterd Retired Team Member

    Joined:
    April 4, 2006
    Messages:
    1,597
    Likes Received:
    280
    Ratings:
    +298 / 0
    Home Country:
    Germany Germany
    Very good idea. But I thought that MySudoku is now part of MP??

    MisterD
     
  6. thechad

    thechad Portal Pro

    Joined:
    February 5, 2005
    Messages:
    187
    Likes Received:
    0
    Occupation:
    Network Administrator
    Location:
    Geelong, Australia
    Ratings:
    +0 / 0
    Home Country:
  7. James
    • Premium Supporter

    James Retired Team Member

    Joined:
    May 6, 2005
    Messages:
    1,385
    Likes Received:
    67
    Occupation:
    Engineer
    Location:
    Switzerland
    Ratings:
    +67 / 0
    A suggestion to all developers using the SVN. It would be good to keep the code for MP in the same place so that the relative links to the dlls work for everyone:

    "..\..\..\MediaPortal\Core\bin\Release\Core.dll"

    for example.

    This would mean having the MP SVN code in a directory called /MediaPortal and at the same level having the whole plugin SVN /MP-Plugins (name can be anything). If you only want to have the code for your plugin, then you would need to have the plugin SVN one level lower (for example /MP-Plugins/MyPlugin).
     
  8. and-81
    • Premium Supporter

    and-81 Retired Team Member

    Joined:
    March 7, 2005
    Messages:
    2,257
    Likes Received:
    183
    Gender:
    Male
    Occupation:
    IT Consultant/Developer
    Location:
    Melbourne
    Ratings:
    +183 / 0
    Home Country:
    Australia Australia
    If the plugin is for the TV Server (references the TV server dlls) then what folder name should we give the tv server source code?

    We obviously would need to settle on a name for that too.

    Cheers,
     
  9. chefkoch
    • Premium Supporter

    chefkoch Retired Team Member

    Joined:
    October 5, 2004
    Messages:
    3,130
    Likes Received:
    1,456
    Gender:
    Male
    Location:
    Dresden / Munich / Maastricht
    Ratings:
    +1,773 / 1
    Home Country:
    Germany Germany
    Hi James

    I think we should remove the sudoku plugin, because it is an very old version, i think, and it is already in MediaPortal-svn.

    I will contact high for removing it in plugin repository, too.

    regards
    chefkoch
     
  10. THDBASED

    THDBASED Portal Pro

    Joined:
    January 30, 2006
    Messages:
    469
    Likes Received:
    2
    Occupation:
    Student
    Ratings:
    +2 / 0
    Home Country:
    Belgium Belgium
    I think you should mention something in the Skin forum too, because you didn't mention it here that also Skins can have SVN....
     
  11. moiristo

    moiristo Portal Pro

    Joined:
    November 17, 2006
    Messages:
    342
    Likes Received:
    27
    Occupation:
    Senior software developer
    Location:
    Enschede
    Ratings:
    +27 / 0
    Home Country:
    Netherlands Netherlands
    I have added the latest UitGemist plugin, as well as the IPTV@UT and VideoLAN plugin to the SVN. I got some e-mails that the commits need to be reviewed because they were bigger than 40kb..
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!