Skip to content

coret/addons-source

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

addons-source Build Status

Source code of contributed Third-party addons for the Gramps genealogy program.

To develop your own addon:

Usage

Use make.py for Gramps addons.

Clone both this repository and the addon repository if you intend to rebuild the addon

https://github.com/gramps-project/addons

Once you use the comands below the version number will be incremented and the resulting files will be in the second addon repository to be commited.

Examples:

  • Creates the initial addon-source directories and .pot file for the addon.
python3 make.py gramps50 init AddonDirectory
  • Creates the initial empty AddonDirectory/po/fr-local.po file for the addon.
python3 make.py gramps50 init AddonDirectory fr
  • Updates AddonDirectory/po/fr-local.po with the latest translations.
python3 make.py gramps50 update AddonDirectory fr
  • Build ../download/AddonDirectory.addon.tgz
python3 make.py gramps50 build AddonDirectory
  • Create or update the listing entry for your addon
python3 make.py gramps50 listing AddonDirectory
  • For the developer who is merging PRs or other commits and needs to rebuild and list one or more addons
python3 make.py gramps50 as-needed

Valid command summary

  • clean - Removes unnecessary files (locale etc) from the addon

  • init [subcomand: all] - Get all of the strings from the addon and create necessary subdirectories and the template.pot for the addon or all addons if all is used.

  • update - Updates the language xx-local.po file from the pot file.

  • compile [subcomand: all] - Compiles the language xx-local.po files into the locale/xx/LD_MESSAGES/addon.mo files for all languages in addon, or all addons if all is used.

  • build [subcomand: all] - Builds the addon for release

  • manifest-check - Checks if all files are correct in addon release file?

  • unlist - Unlist the addon from the listing

  • fix - If the listing shows a repeated addon entry, fix it

  • check - Checks if the addon listing matches the addon download version or if missing from the listing

  • listing [subcomand: all] - Builds/Creates a listing for the addon in each supported language

  • as-needed [no other parameters] - Builds/Lists/Cleans only out of date addons in one step. It also rebuilds the template.pot file so it is also up to date.

Packages

No packages published

Languages

  • Python 93.1%
  • JavaScript 5.9%
  • Other 1.0%