Giter Club home page Giter Club logo

addons-source's Introduction

addons-source Build Status

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

To develop your own addon:

Note: The default git branch is master. The master branch should only be used to develop addons that require features or changes found in the Gramps master branch. Most of the time addons should be developed to work with the current released version of Gramps (maintenance/gramps51 for the Gramps 5.1.x versions for example).

So use care when creating your addon to base off of the correct branch, and also to select the correct branch when creating a PR on Github.

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.

addons-source's People

Contributors

dsblank avatar sam-m888 avatar prculley avatar vantu5z avatar belissent avatar romjerome avatar leonhaeuser avatar milotype avatar nick-hall avatar snoiraud avatar niememat avatar mattkmmr avatar janpython avatar phejl avatar giansalvo avatar avma avatar stephenadams-hamont avatar tecknicaltom avatar bpisoj avatar jose1711 avatar beernarrd avatar garygriffin avatar uli22 avatar pewu avatar stevenyoungs avatar arnaullv avatar ailintom avatar sebschub avatar hahnjo avatar killes avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.