Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Adding a new plugin with svn
« previous next »
  • Print
Pages: [1]

Author Topic: Adding a new plugin with svn  (Read 1740 times)

Offline Paula

  • Member
  • *
  • Posts: 5
Adding a new plugin with svn
« on: January 24, 2010, 07:55:24 AM »
Hi,

I've written my first plugin now and I would like to upload it to this site.
I've found the svn-description "Adding a new file" but I'm not sure about the parameter of the command
svn pset svn:keywords "Author Date Id Revision" <filename>

I think that "revision" means the rockbox version, but I don't know, what "Id" means.

I would be very glad about some help,
Paula



Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: Adding a new plugin with svn
« Reply #1 on: January 24, 2010, 10:20:02 AM »
See this: http://www.rockbox.org/wiki/DevelopmentGuide which explains the process of submitting a patch.
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Adding a new plugin with svn
« Reply #2 on: January 24, 2010, 11:06:00 AM »
Quote from: Paula on January 24, 2010, 07:55:24 AM
svn pset svn:keywords "Author Date Id Revision" <filename>

This sets a property (pset) for svn. Keywords are strings that are replaced by subversion, and the strings you set are recognized -- subversion knows about a couple of keywords, and you usually want only some of them (or even none) to get used. I.e. with that line you tell subversion to replace the keywords "Author", "Date", "Id", and "Revision". The most frequent used keyword is Id, which you find in the standard Rockbox header as "$Id: <something>$" This line will get replaced on every checkout or update of your working copy. Please check the subversion documentation on how keywords work.

For submitting a patch for a new plugin there isn't a need to set the keywords prior to generating the patch -- while svn itself adds information about the keywords to the diff file the patch program simply can't handle that and ignores it.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Adding a new plugin with svn
« Reply #3 on: January 24, 2010, 12:48:54 PM »
Yep, don't worry about the keywords and that - the developer that commits it will sort that out.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Adding a new plugin with svn
« Reply #4 on: January 24, 2010, 03:07:23 PM »
Quote from: AlexP on January 24, 2010, 12:48:54 PM
Yep, don't worry about the keywords and that - the developer that commits it will sort that out.

And even developers forget about keywords sometimes (including me :)). It doesn't hurt at all, they don't serve any functional purpose (and some version control systems like git don't even have or at least strongly disencourage using them.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Paula

  • Member
  • *
  • Posts: 5
Re: Adding a new plugin with svn
« Reply #5 on: January 25, 2010, 04:24:54 AM »
Thanks for your help, but I think I was on the wrong way with svn at all, because I'm new and I don't have any rights.
Now I've posted my plugin by flyspray (10932 ).

Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Adding a new plugin with svn
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.082 seconds with 15 queries.