diff --git a/conf.py b/conf.py index c8260be0..a43f4276 100644 --- a/conf.py +++ b/conf.py @@ -4,7 +4,9 @@ warnings.filterwarnings("ignore", category=RemovedInSphinx90Warning) -project = "publiccode.yml Standard (v0.8)" +# No version in the name: under sphinx-polyversion the switcher shows it, +# and a hardcoded one goes stale on the branches that change version. +project = "publiccode.yml Standard" # Under sphinx-polyversion (poly.py) POLYVERSION_DATA carries the version # being built and the list of all of them; load() copies it into @@ -16,10 +18,6 @@ load(globals()) except LoadError: pass -else: - # The switcher names the version on every page, and the bare name is - # what still fits the navbar on a phone. - project = "publiccode.yml Standard" html_theme = "press" diff --git a/docs/standard/example/publiccode.minimal.yml b/docs/standard/example/publiccode.minimal.yml index 0cbb3da1..85634f8f 100644 --- a/docs/standard/example/publiccode.minimal.yml +++ b/docs/standard/example/publiccode.minimal.yml @@ -1,22 +1,19 @@ publiccodeYmlVersion: "1" name: Firefax url: https://example.com/firefax.git +softwareType: standalone/desktop platforms: - - web - linux - windows + - mac developmentStatus: stable -softwareType: standalone/desktop description: en: - shortDescription: > - A rather short description which is probably useless + shortDescription: Send and receive faxes from the desktop longDescription: > - Very long description of this software, also split - on multiple rows. You should note what the software - is and why one should need it. We can potentially - have many pages of text here. - + Firefax lets you send and receive faxes from a desktop computer + without a fax machine. You can search received faxes in an archive, + schedule outgoing faxes and track their delivery. legal: license: AGPL-3.0-or-later maintenance: diff --git a/docs/standard/forks.rst b/docs/standard/forks.rst index 274d6ad5..de111adc 100644 --- a/docs/standard/forks.rst +++ b/docs/standard/forks.rst @@ -3,28 +3,21 @@ Forks and variants ================== -A fork may have two different forms based on its final aim. As such, in order to make it clear how to handle the -``publiccode.yml`` in both cases, below we define two different -semantics: technical forks and software variants. +A fork serves one of two purposes, and ``publiccode.yml`` handles +each differently: technical forks and software variants. Technical forks (i.e. to publish patches) ----------------------------------------- -A technical fork is a fork made by a developer for the purpose of -working on the original code base or sending improvements to the -original authors, without any explicit goal of creating and publishing -an alternative variant of the original software. +A technical fork is made to work on the original code base or to send +improvements to its authors, with no goal of publishing an alternative +version of the software. On code hosting platforms like GitHub, +forking is almost always the first step of a contribution sent as a +pull request. -In the context of distributed version control systems and collaborative code -hosting platforms like GitHub, forking is almost always used by -developers as a step to work on a contribution on an existing codebase, -by sending “pull requests”. - -Because of the way forking works on GitHub and other platforms, -developers publish their forks as perfect copies of the original -software, thus including also ``publiccode.yml``. However, parsers need -to be able to distinguish such technical forks from the original -codebase. +These platforms publish a fork as an exact copy of the original +repository, ``publiccode.yml`` included, so parsers need a way to tell +a technical fork from the original codebase. Parsers ~~~~~~~ @@ -33,8 +26,8 @@ Parsers **SHOULD** identify a technical fork by noticing that the top-level :ref:`url ` key does not point to the repository in which the ``publiccode.yml`` is found. -Parsers **MIGHT** identify a technical fork also through metadata that -might be exposed by the code hosting platform (e.g. GitHub marks forks +Parsers **MAY** also identify a technical fork through metadata +exposed by the code hosting platform (e.g. GitHub marks forks explicitly as forks). Authors @@ -44,11 +37,9 @@ Authors of technical forks **SHOULD NOT** modify ``publiccode.yml`` in any way. Specifically, they **MUST NOT** modify the top-level :ref:`url ` key that **MUST** continue pointing to the original repository. -There is no explicit key to mark a fork as a technical fork. This is a -conscious design decision because we do not want authors of technical -forks to be aware of ``publiccode.yml`` and necessarily be aware of how -to modify it. The current design does not require authors to do -anything. +No key marks a fork as technical, by design: authors of technical +forks do not need to know ``publiccode.yml`` or how to edit it, and +nothing is asked of them. Software variants ----------------- @@ -56,19 +47,17 @@ Software variants A software variant is a fork that is offered as an alternative to the original upstream software. -It contains modifications that are still not part of the upstream -version, like more features, different dependencies, optimizations, etc. +It contains modifications not yet part of the upstream version, like +more features, different dependencies or optimizations. -By marking a fork as a variant, the author indicates that they believe -that the variant includes a complete and working set of modifications -that might be useful to other people. +By marking a fork as a variant, the author states that it holds a +complete and working set of modifications that other people might +find useful. -Marking a fork as a variant does **not** relate to the willingness to -contribute upstream; the author might still plan to contribute the -modifications upstream, or even be in the process of doing so. Thus, -even if the fork will eventually be merged upstream, it might make sense -to mark it as a variant during the process, so that others might -discover it and benefit from it. +Marking a fork as a variant says nothing about contributing upstream: +the author might still plan to, or be doing it already. Even a fork +that will eventually be merged upstream can be marked as a variant +meanwhile, so that others can find it and use it. .. _parsers-1: @@ -81,17 +70,16 @@ found, **AND** a top-level :ref:`isBasedOn ` exists and points to a different repository. Parsers should expect and analyze other differences in -``publiccode.yml`` between variants of the software. Specifically -``description/[lang]/features`` is designed to be compared across variants to -identify and show user-visible differences. +``publiccode.yml`` between variants of the software. In particular, +``description/[lang]/features`` is designed to be compared across +variants to show their user-visible differences. .. _authors-1: Authors ~~~~~~~ -Authors that are willing to publish a fork as a variant **MUST** at -least: +Authors who publish a fork as a variant **MUST** at least: - Add a key :ref:`isBasedOn ` pointing to one or more upstream repositories from which this variant is derived. diff --git a/docs/standard/index.rst b/docs/standard/index.rst index c0d222cf..2c3c1383 100644 --- a/docs/standard/index.rst +++ b/docs/standard/index.rst @@ -3,21 +3,16 @@ ``publiccode.yml`` ================== -``publiccode.yml`` is a metadata standard for repositories containing software -developed or acquired by the Public Administration, aimed at making them easily -discoverable and thus reusable by other entities. - -By including a ``publiccode.yml`` file in the root of a repository, and -populating it with information about the software, technicians and civil -servants can evaluate it. - -The format is easily readable by both humans and machines, and -automatic indexing tools are built on top of it: national software -catalogs crawl the published files and build searchable sites. -Catalogs federate across countries, since they all read the same -format. The `core tools +``publiccode.yml`` describes software developed or acquired by public +administrations. Authors place the file in the root of the source code +repository so that other administrations can find and evaluate the +software for reuse. + +National software catalogs collect these files to build searchable +listings. A shared format lets catalogs exchange information across +countries. The `core tools `__ -provide the reference implementations to build on. +include an editor and a parser for the format. A minimal ``publiccode.yml``: @@ -42,7 +37,7 @@ Specification string -The version of the specification this file adheres to. Use ``1``. +The version of the specification the file follows: ``"1"``. .. _name: @@ -76,10 +71,10 @@ Example: url: https://example.com/firefax.git -The URL of the source code repository (git, svn, …) where the -software is published, and thus its unique identifier. If the -repository is available under multiple protocols, prefer HTTP/HTTPS -URLs which don’t require user authentication. +The URL of the source code repository (git, svn and so on) where the +software is published. It is also the unique identifier of the +software. If the repository is reachable over several protocols, +prefer HTTPS. .. tip:: @@ -111,10 +106,8 @@ Allowed values: software (e.g. a CMS or an office suite). - ``library``: A library or an SDK for developers to use in other software. -- ``configurationFiles``: A set of configuration files (plain - files, bash scripts, ansible playbooks, Dockerfiles or other - instruction sets), possibly documenting how to obtain a certain - deployment. +- ``configurationFiles``: Configuration files or scripts for a + deployment, such as Bash scripts, Ansible playbooks or Dockerfiles. ``platforms`` *(required)* ~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -124,7 +117,8 @@ Allowed values: :meta-type:`enumerated string` or :meta-type:`array of strings` - Values: ``web``, ``windows``, ``mac``, ``linux``, ``ios``, - ``android``. Human readable values outside this list are allowed. + ``android``. When none of them fits, another human readable value + is allowed. Example: @@ -133,14 +127,9 @@ Example: platforms: - web -The platforms the software runs on: the ones users use to access and -operate it, rather than the platform the software itself runs on. - -.. tip:: - - Use the predefined values if possible. If the software runs on a - platform for which a predefined value is not available, a - different value can be used. +The platforms people use to access and operate the software, not the +ones it runs on: a web application lists ``web``, whatever system its +server runs. ``developmentStatus`` *(required)* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -151,14 +140,12 @@ enumerated string Allowed values: -- ``concept``: A “concept”: no actual code may have been produced - yet, and the repository could simply be a placeholder. -- ``development``: Some effort has gone into the development, but - the code is not ready for the end user, even in a preliminary - version to be tested by end users. -- ``beta``: In the testing phase, alpha stage included. The - software might or might not have had a preliminary public - release. +- ``concept``: An idea for software. The repository may contain no + code yet. +- ``development``: Development has started. The software is not yet + ready for end users to test. +- ``beta``: Available for testing, including alpha versions. A + public release is optional at this stage. - ``stable``: Has seen a first public release and is ready to be used in a production environment. - ``obsolete``: No longer maintained or kept up to date. All of the @@ -167,9 +154,7 @@ Allowed values: ``description`` ~~~~~~~~~~~~~~~ -This section contains a general description of the software. Parsers can -use this section for instance to create a web page describing the -software. +Descriptions of the software, grouped by language. The strings in this section are user-visible and grouped by language: each language is a sub-section named with its IETF @@ -232,18 +217,18 @@ string (min 150 chars, max 10000 chars) **Required** for at least one language. -A longer description of the software, between 150 and -10000 chars, meant to provide an overview of the capabilities of -the software for a potential user. The audience for this text should be -that of users of the software, not developers. You can think of this -text as the description of the software that would be in its website (if -the software had one). +A longer description of the software, between 150 and 10000 +characters, giving potential users an overview of what it can do. +Write it for users, not developers: it is the text that would +present the software on its website. The value of this key is Markdown, as defined by `CommonMark `__. Keep the formatting basic: ``*italic*``, ``**bold**``, bullet points and ``[links](#)``, since consumers MAY render only this subset. +.. _documentation: + ``description/[lang]/documentation`` '''''''''''''''''''''''''''''''''''' @@ -251,24 +236,16 @@ consumers MAY render only this subset. URL -A reference to the user-level (not developer-level) documentation -of the software: a URL to a hosted version of the documentation. +A URL to the user documentation of the software. .. tip:: - Point the URL at documentation readable in a common web browser, - desktop and mobile: rendered in HTML and browsable like a website, - with a navigation index, a search bar, etc. - - If the documentation is only available as a document, put a direct - view/download link here: commit the document to the source code - repository and link it through the code hosting source browser - (e.g. the GitHub URL of the file). Prefer open formats like PDF or - ODT for maximum interoperability. + Prefer HTML documentation that users can browse and search on + desktop and mobile devices. For a downloadable document, link to + the file and use an open format such as PDF or ODT. - Whichever the format, make the documentation sources available - under an open license, possibly by committing them to the - repository itself. + Publish the documentation sources under an open license, for + example in the source code repository. ``description/[lang]/apiDocumentation`` ''''''''''''''''''''''''''''''''''''''' @@ -277,25 +254,13 @@ of the software: a URL to a hosted version of the documentation. URL -A reference to the API documentation of the software: a URL to a -hosted version of the documentation. +A URL to the hosted API documentation of the software. .. tip:: - Point the URL at documentation readable in a common web browser: - rendered in HTML and browsable like a website, with a navigation - index, a search bar, etc. If there is a reference or test - deployment, possibly offer an interactive interface (e.g. Swagger). - - If the documentation is only available as a document, put a direct - view/download link here: commit the document to the source code - repository and link it through the code hosting source browser - (e.g. the GitHub URL of the file). Prefer open formats like PDF or - ODT for maximum interoperability. - - Whichever the format, make the documentation sources available - under an open license, possibly by committing them to the - repository itself. + The advice for :ref:`documentation ` applies here + too. If there is a reference or test deployment, also consider an + interactive interface (e.g. Swagger). ``description/[lang]/features`` ''''''''''''''''''''''''''''''' @@ -304,28 +269,22 @@ hosted version of the documentation. array of strings -A list of software features, describing what -capabilities the software allows to do. The audience for this text -should be that of public decision makers who will be commissioning the -software. The features should thus not target developers; instead of -listing technical features referring to implementation details, prefer -listing user-visible functionalities of the software. +What users can do with the software. Write the list for public +decision makers who would commission it. .. tip:: - The suggested number of features to list is between 5 and 20, depending - on the software size and complexity. There is no need for - exhaustiveness, as users can always read the documentation for - additional information. + Aim for 5 to 20 features, depending on the size and complexity of + the software. Leave the details to the documentation. .. _screenshots: ``description/[lang]/screenshots`` '''''''''''''''''''''''''''''''''' -.. rst-class:: key-meta +.. rst-class:: key-meta key-meta-union -array of paths +:meta-type:`array` of :meta-type:`paths` or :meta-type:`URLs` - Formats: PNG, JPEG, WebP, AVIF @@ -338,17 +297,16 @@ Example: screenshots: - data/screenshots/configuration.png -One or more paths to files showing screenshots of -the software, meant to give a quick idea on how the software -looks like and how it works. -The key value can be the relative path to the file starting from the root of -the repository, or it can be an absolute URL pointing to the screenshot in raw -version. In both cases, the file must reside inside the same repository where -the ``publiccode.yml`` file is stored. +Screenshots of the software, giving a quick idea of what it looks +like and how it works. + +Each item is either a path relative to the root of the repository or +an absolute URL to the raw file. Either way, the file must be in the +same repository as ``publiccode.yml``. .. tip:: - Screenshots can be of any shape and size. The suggested formats + Screenshots can be of any shape and size. The suggested sizes are: - Desktop: 1280x800 @1x @@ -371,16 +329,13 @@ Example: videos: - https://youtube.com/xxxxxxxx -One or more URLs of videos showing how the -software works. Like :ref:`screenshots `, videos should -be used to give a quick overview on how the software looks like and -how it works. Videos must be -hosted on a video sharing website that supports the -`oEmbed `__ standard; popular options are YouTube -and Vimeo. +Videos showing how the software looks and works. -This key is deprecated, link videos from the documentation or the -website of the software instead. +Videos must be hosted on a video sharing website that supports the +`oEmbed `__ standard, such as YouTube or Vimeo. + +This key is deprecated. Link to videos from the documentation or +the software's website. ``description/[lang]/awards`` ''''''''''''''''''''''''''''' @@ -408,10 +363,9 @@ Example: legal: license: EUPL-1.2 OR AGPL-3.0-or-later -This string describes the license under which the software is -distributed. The string must contain a valid SPDX expression, referring -to one or multiple open-source licenses. Please refer to the `SPDX -documentation `__ for further information. +The license the software is distributed under. The value must be a +valid SPDX expression referring to one or more open source licenses: +see the `SPDX License List `__. ``legal/mainCopyrightOwner`` '''''''''''''''''''''''''''' @@ -427,21 +381,18 @@ Example: legal: mainCopyrightOwner: City of Amsterdam -This string describes the entity that owns the copyright on “most” of -the code in the repository. Normally, this is the line that is reported -with the copyright symbol at the top of most files in the repo. - -It is possible to list multiple owners if required so, using an English -sentence. It is also possible to informally refer to a community or -group of people like “Linus Torvalds and all Linux contributors”. +The entity that owns the copyright on most of the code in the +repository: usually the one named next to the copyright symbol at the +top of most files. -In case it is not possible to name a main copyright owner, it is -possible to omit this key. +You can name several owners in one English sentence or name a +community, such as "Linus Torvalds and all Linux contributors". Omit +the key if you cannot identify a main copyright owner. ``organisation`` ~~~~~~~~~~~~~~~~ -This optional section provides the organisation publishing the software. +The organisation publishing the software. This section is optional. .. _organisation-uri: @@ -462,15 +413,14 @@ Example: The URI identifying the organisation publishing the software. The value SHOULD be a stable, resolvable URI or a persistent identifier. -Parsers MAY use the URI structure to extract additional information if it follows a -recognized format (for example, inferring an institutional domain or an -official code). +When the URI follows a recognized format, parsers MAY read more +information from its structure, for example an institutional domain +or an official code. -It is RECOMMENDED that crawlers and consumers of publiccode.yml verify this -information out-of-band, to ensure that the declared URI actually -corresponds to the organisation in control of the repository. -The specific verification method depends on the implementation and policies of the -platform consuming the file. +It is RECOMMENDED that crawlers and consumers of ``publiccode.yml`` +verify out of band that the declared URI belongs to the organisation +in control of the repository. How to verify it is up to the +implementation and policies of each consumer. .. _organisation-name: @@ -490,20 +440,17 @@ Example: The canonical name of the organisation publishing the software. -It MUST correspond to the same entity identified by -:ref:`organisation/uri ` and is -intended to provide a human-readable label for that URI. -It SHOULD be the canonical, widely recognized form of the name (such as the -registered legal or institutional name). +It MUST name the entity identified by +:ref:`organisation/uri `, as a human readable label +for that URI. It SHOULD be the widely recognized form of the name, +such as the registered legal or institutional name. .. _maintenance: ``maintenance`` ~~~~~~~~~~~~~~~ -This section provides information on the maintenance status of the -software, useful to evaluate whether the software is actively developed -or not. +How the software is maintained and who maintains it. .. _maintenance-type: @@ -518,9 +465,9 @@ How the software is currently maintained. Allowed values: -- ``internal``: Maintained internally by the repository owner. -- ``contract``: A commercial contract binds an entity to the - maintenance. +- ``internal``: The repository owner maintains the software. +- ``contract``: A contractor maintains the software under a + commercial agreement. - ``community``: Maintained by one or more people who donate their time to the project. - ``none``: Not actively maintained. @@ -535,9 +482,8 @@ array of :ref:`Contractors ` **Required** if :ref:`maintenance/type ` is ``contract``. Must not be present otherwise. -The entity or entities, if any, currently -contracted for maintaining the software. They can be companies, -organisations, or other collective names. +The entities currently contracted to maintain the software: +companies, organisations or other collective names. ``maintenance/contacts`` '''''''''''''''''''''''' @@ -549,22 +495,17 @@ array of :ref:`Contacts ` **Required** if :ref:`maintenance/type ` is ``internal`` or ``community``. Optional otherwise. -The technical people currently responsible for -maintaining the software. All contacts need to be a physical person, not -a company or an organisation. If somebody is acting as a representative -of an institution, it must be listed within the ``affiliation`` of the -contact. +The people responsible for technical maintenance. Each contact MUST +be a person. Use ``affiliation`` for the institution they represent. -In case of a commercial agreement (or a chain of such agreements), -specify the final entities actually contracted to deliver the -maintenance. Do not specify the software owner unless it is technically -involved with the maintenance of the product as well. +For contracted or subcontracted maintenance, list the people who do +the work. Include the software owner only if they also maintain it. ``localisation`` ~~~~~~~~~~~~~~~~ -This section provides an overview of the localization features of the -software. +Whether the software supports localisation and which languages it +is available in. ``localisation/localisationReady`` *(required)* ''''''''''''''''''''''''''''''''''''''''''''''' @@ -573,9 +514,8 @@ software. boolean -If ``true``, the software has infrastructure in place or is otherwise -designed to be multilingual. It does not need to be available in more -than one language. +If ``true``, the software supports translation into other languages. +It may still be available in one language. ``localisation/availableLanguages`` *(required)* '''''''''''''''''''''''''''''''''''''''''''''''' @@ -594,10 +534,7 @@ Example: - fr - de-AT -This is the list of languages in which the software is -available. Of course, this list will contain at least one language. -The primary language subtag cannot be omitted, as mandated by the -`BCP 47 `__. +The languages the software is available in. List at least one. ``logo`` ~~~~~~~~ @@ -606,7 +543,7 @@ The primary language subtag cannot be omitted, as mandated by the :meta-type:`path` or :meta-type:`URL` -- Acceptable formats: SVG, SVGZ, PNG, JPEG, WebP, AVIF +- Formats: SVG, SVGZ, PNG, JPEG, WebP, AVIF Example: @@ -615,10 +552,10 @@ Example: logo: img/logo.svg The logo of the software. Logos SHOULD be in vector format. -The key value can be the relative path to the file starting from the root of -the repository, or it can be an absolute URL pointing to the logo in raw -version. In both cases, the file must reside inside the same repository where -the ``publiccode.yml`` file is stored. + +The value is either a path relative to the root of the repository or +an absolute URL to the raw file. Either way, the file must be in the +same repository as ``publiccode.yml``. ``softwareVersion`` ~~~~~~~~~~~~~~~~~~~ @@ -633,10 +570,9 @@ Example: softwareVersion: "1.0" -The latest stable version number of the software. The -version number is a string that is not meant to be interpreted and -parsed but just displayed; parsers should not assume semantic versioning -or any other specific version format. +The latest stable version of the software. Parsers should display +this string without interpreting or parsing it. They should not assume +semantic versioning or any other version format. ``releaseDate`` ~~~~~~~~~~~~~~~ @@ -685,10 +621,9 @@ Example: applicationSuite: MegaProductivitySuite -When the software ships as one piece of a larger family of -products, the way a word processor ships inside an office suite, -the name of that family. Catalogs can group related software -by it. +The name of the suite the software belongs to, such as an office +suite that includes a word processor. Catalogs can use it to group +related software. ``categories`` ~~~~~~~~~~~~~~ @@ -699,11 +634,8 @@ array of enumerated strings - Allowed values: see :ref:`categories` -A list of categories that can be used to describe the software and can help -building catalogs of open software. - -The controlled vocabulary :ref:`categories` contains the list of allowed -values. +The categories the software belongs to. Catalogs use them to group +software. ``supports`` ~~~~~~~~~~~~ @@ -745,6 +677,8 @@ Example: ``intendedAudience`` ~~~~~~~~~~~~~~~~~~~~ +Who the software is for. + ``intendedAudience/countries`` '''''''''''''''''''''''''''''' @@ -781,7 +715,7 @@ array of enumerated strings - Allowed values: see :ref:`scopes` -Tags related to the field of application of the software. +The sectors the software serves, such as healthcare or education. ``usedBy`` (*deprecated*) ~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -790,14 +724,11 @@ Tags related to the field of application of the software. array of strings -A list of the names of prominent public administrations (that will serve -as “testimonials”) that are currently known to the software maintainer -to be using this software. +Names of prominent public administrations using the software, shown +as testimonials. -Parsers are encouraged to enhance this list also with other information -that they can obtain independently; for instance, a fork of a software, owned -by an administration, could be used as a signal of usage of the -software. +Parsers can supplement the list using other evidence of use, such +as a fork owned by an administration. This key is deprecated. @@ -808,8 +739,7 @@ This key is deprecated. array of :ref:`Organisations ` -A list of organisations that are currently known to be funding the -development of this software. +The organisations known to be funding the development of the software. ``roadmap`` ~~~~~~~~~~~ @@ -836,24 +766,23 @@ Example: isBasedOn: - https://github.com/example-org/firefax.git -In case this software is a variant or a fork of another software, which -might or might not contain a ``publiccode.yml`` file, this key will -contain the :ref:`url ` of the original project(s). +When the software is a variant or a fork, the :ref:`url ` of +the original projects, whether or not they have a ``publiccode.yml``. -The existence of this key identifies the fork as a software -variant, descending from the specified repositories. +The key marks the software as a variant descending from those +repositories: see :ref:`forks-and-variants`. ``dependsOn`` ~~~~~~~~~~~~~ -This section provides an overview on the system-level dependencies -required to install and use this software. +The system-level dependencies needed to install and use the +software. + +.. note:: -**NOTE:** do not list dependencies at the source code level (e.g.: -software libraries being used), and focus only on runtime and/or -system-level dependencies that must be installed and maintained -separately. For instance, a database is a good example of such -dependencies. + List only the runtime and system-level dependencies installed and + maintained separately, such as a database. Do not list source code + dependencies, such as the libraries the software uses. ``dependsOn/open`` (*deprecated*) ''''''''''''''''''''''''''''''''' @@ -864,10 +793,9 @@ array of :ref:`Dependencies ` Runtime dependencies distributed under an open-source license. -This key is deprecated. Open source runtime dependencies are already -declared in the SBOM or in the package manager manifests, and what -needs to be installed belongs in the documentation and in the -deployment scripts. +This key is deprecated. Declare these dependencies in an SBOM or +package manager manifests. Put installation requirements in the +documentation and deployment scripts. ``dependsOn/proprietary`` ''''''''''''''''''''''''' diff --git a/docs/standard/types.rst b/docs/standard/types.rst index 687007b2..f098edd2 100644 --- a/docs/standard/types.rst +++ b/docs/standard/types.rst @@ -8,21 +8,19 @@ Contact Properties: -- ``name`` (**required**): The full name of one of the - technical contacts. It must be a real person; do NOT populate - this key with generic contact information, company departments, - associations, etc. +- ``name`` (**required**): The full name of the technical contact. + It must be a real person, not generic contact information, a + company department or an association. - ``email``: The e-mail address of the technical contact. It must - be an address where the contact can be directly reached; do NOT - populate this key with mailing-lists or generic contact points - like “info@acme.inc”. -- ``phone``: Phone number. It MUST include the international dialing - prefix, following the `E.164 `_ - format (e.g., ``+3923113215112``). This has to be a string. -- ``affiliation``: The affiliation of the technical contact. In - case of multiple maintainers, this can be used to create a relation between each - technical contact and each maintainer entity. It can contain for - instance a company name, an association name, etc. + reach the contact directly, not a mailing list or a generic + contact point like ``info@acme.inc``. +- ``phone``: The phone number, as a string in + `E.164 `_ format. It MUST + include the international dialing prefix (e.g. + ``+3923113215112``). +- ``affiliation``: The organisation the technical contact works for, + such as a company or an association. With several maintainers, it + tells which maintainer entity each contact belongs to. .. _contractor-type: @@ -34,16 +32,15 @@ Properties: - ``name`` (**required**): The name of the contractor, whether it’s a company or a physical person. - ``until`` (**required**): The date the maintenance is going - to end, as “YYYY-MM-DD”, the only allowed ISO8601 format. In - case of community maintenance, the value should not be more than 2 - years in the future, and thus will need to be regularly updated as - the community continues working on the project. + to end, as “YYYY-MM-DD”, the only allowed ISO8601 format. For + community maintenance, it should be no more than two years in the + future. Update it regularly while the community maintains the + software. - ``email``: The e-mail address of the technical contact. It must - be an address where the contact can be directly reached; do NOT - populate this key with mailing-lists or generic contact points - like “info@acme.inc”. -- ``website``: The maintainer website: either the main - institutional website, or a more project-specific page. + reach that person directly, not a mailing list or a generic + contact point like ``info@acme.inc``. +- ``website``: The contractor website: its main institutional site + or a page specific to the project. .. _dependency-type: @@ -54,52 +51,51 @@ Properties: - ``name`` (**required**): The name of the dependency (e.g. MySQL, NFC Reader). -- ``versionMin``: The first compatible version. -- ``versionMax``: The latest compatible version. -- ``version``: The only major version for which the software is - compatible. It assumes compatibility with all patches and bugfixes - later applied to this version. -- ``optional``: Whether the dependency is optional or required. +- ``versionMin``: The oldest compatible version. +- ``versionMax``: The newest compatible version. +- ``version``: The only compatible major version, including the + patches and bugfixes released for it later. +- ``optional``: If ``true``, the software also works without the + dependency. Defaults to ``false``. Complex versioning ~~~~~~~~~~~~~~~~~~ -It is of course possible to use the various keys to specify a complex -compatibility matrix. +The version keys combine to describe a compatibility range. *Ex. 1* .. code:: yaml - name: PostgreSQL - version: "3.2" + version: "16" optional: true -This snippet marks an optional dependency on PostgreSQL exactly version -3.2. +This snippet marks an optional dependency on PostgreSQL 16, with any +of its patch releases. *Ex. 2* .. code:: yaml - name: MySQL - versionMin: "1.1" - versionMax: "1.3" + versionMin: "8.0" + versionMax: "8.4" This snippet marks a required dependency on MySQL, allowing any version -between 1.1 and 1.3. +between 8.0 and 8.4. .. _organisation-type: Organisation ------------ -A structure (association, company, public authority, etc.) that -can fund software development. +An entity that can fund software development, such as an +association, a company or a public authority. Properties: - ``name`` (**required**): The name of the organisation, whether - it’s an association, a company, a public sector organisation, or - a physical person. + it’s an association, a company, a public sector organisation, or + a physical person. - ``uri``: The URI identifying the organisation.