From: Doug B. <dou...@gm...> - 2010-01-25 04:41:20
|
On Sun, Jan 24, 2010 at 11:26 PM, Brian Matherly <br...@gr...>wrote: > Doug, > > > Devs, > > If you are working on an addon for gramps 3.2, > > the new Plugin Manager is nearing completion. If your addon > > is packaged correctly then you can install it from the > > Plugin Manager (Menu -> Help -> Plugin Manager). > > > > The only thing new (in the last few weeks) is > > that you need to have two plugin settings: > > "for_gramps" and "version". Both of > > these are string version numbers, like this in the .gpr.py > > file: > > > > register(GRAMPLET, for_gramps = > > "3.2", version = > > "1.0.1", > > ...) > > You can see more information here: > > > > > http://www.gramps-project.org/wiki/index.php?title=Addons_Development#Create_a_Gramps_Plugin_Registration_file > > > > Once you have it packaged, please add it > > to: > > http://www.gramps-project.org/wiki/index.php?title=Plugins3.2 > > > > I haven't tested the download and install > > under Windows or Mac yet, but if someone does, please report > > back the status. > > Thanks! > > It looks like you've made good progress. I only have one nit: the name > "for_gramps" is not very descriptive. Without reading your documentation, I > would be inclined to set it equal to "True". Consider changing that to > something descriptive like "gramps_target_version" or "gramps_api_version". > > Yes, I don't like the name "for_gramps" either... any other ideas? This is a setting that says that this plugin was designed for a particular version of gramps. Thus, "setting = '3.2'" means the plugin should go with gramps 3.2. I was trying to keep the name short, but I agree that descriptive is better. -Doug > ~Brian > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > |