Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'master' of github.com:qgis/qgis-django

  • Loading branch information...
commit e17ff5437f43ab9cf41b9769c4334a1ed79beedc 2 parents c732221 + 3317757
Alessandro Pasotti elpaso authored

Showing 1 changed file with 11 additions and 3 deletions. Show diff stats Hide diff stats

  1. +11 3 qgis-app/plugins/docs/metadata.rst
14 qgis-app/plugins/docs/metadata.rst
Source Rendered
@@ -17,9 +17,17 @@ Valid metadata for the `__init__` file are:
17 17 * `author`
18 18 * `experimental`
19 19
20   -To avoid direct execution of python code (which would be a security issue), metadata are read from the `__init__.py` file with a simple regular expression parser which extracts the string values returned by the functions inside the `__init__.py` file, this means that if the functions do not return strings (enclosed in single or double quotes) or a boolean value (for the `experimental` entry), the metadata entry for that function will not be extracted and if the metadata is mandatory the plugin will be considered invalid.
21   -
22   -The new `metadata.txt` file can contain other optional metadata which are read when the package is uploaded and are automatically imported.
  20 +To avoid direct execution of python code (which would be a security issue),
  21 +metadata are read from the `__init__.py` file with a simple regular expression
  22 +parser which extracts the string values returned by the functions inside the
  23 +`__init__.py` file, this means that if the functions do not return strings
  24 +(enclosed in single or double quotes) or a boolean value (for the
  25 +`experimental` entry), the metadata entry for that function will not be
  26 +extracted and if the metadata is mandatory the plugin will be considered
  27 +invalid.
  28 +
  29 +The new `metadata.txt` file can contain other optional metadata which are read
  30 +when the package is uploaded and are automatically imported.
23 31
24 32 Mandatory metadata
25 33 ==================

0 comments on commit e17ff54

Please sign in to comment.
Something went wrong with that request. Please try again.