From 8791228341f4afbded03ae51b66db4c42e5755bc Mon Sep 17 00:00:00 2001 From: libremente Date: Thu, 10 Oct 2019 12:16:25 +0200 Subject: [PATCH 1/6] Mandate double quotes around phone numbers --- docs/en/example/publiccode.yml | 2 +- docs/en/schema.core.rst | 3 ++- docs/it/example/publiccode.yml | 2 +- docs/it/schema.core.rst | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/en/example/publiccode.yml b/docs/en/example/publiccode.yml index 1eb75f27..61a1697d 100644 --- a/docs/en/example/publiccode.yml +++ b/docs/en/example/publiccode.yml @@ -92,7 +92,7 @@ maintenance: - name: Francesco Rossi email: "francesco.rossi@comune.reggioemilia.it" affiliation: Comune di Reggio Emilia - phone: +39 231 13215112 + phone: "+39 231 13215112" localisation: localisationReady: yes diff --git a/docs/en/schema.core.rst b/docs/en/schema.core.rst index 74f28f90..fe92cc40 100644 --- a/docs/en/schema.core.rst +++ b/docs/en/schema.core.rst @@ -770,7 +770,8 @@ A Contact is an object with the following properties: must not be obfuscated. To improve resistance against e-mail collection, use ``\x64`` to replace ``@``, as allowed by the YAML specification. -- ``phone`` - phone number (with international prefix) +- ``phone`` - phone number (with international prefix). This has to be + a string delimited by double quotes. - ``affiliation`` - This key contains an explicit affiliation information for the technical contact. In case of multiple maintainers, this can be used to create a relation between each diff --git a/docs/it/example/publiccode.yml b/docs/it/example/publiccode.yml index 1eb75f27..61a1697d 100644 --- a/docs/it/example/publiccode.yml +++ b/docs/it/example/publiccode.yml @@ -92,7 +92,7 @@ maintenance: - name: Francesco Rossi email: "francesco.rossi@comune.reggioemilia.it" affiliation: Comune di Reggio Emilia - phone: +39 231 13215112 + phone: "+39 231 13215112" localisation: localisationReady: yes diff --git a/docs/it/schema.core.rst b/docs/it/schema.core.rst index 28af9ca6..2cd4c6fd 100644 --- a/docs/it/schema.core.rst +++ b/docs/it/schema.core.rst @@ -813,7 +813,8 @@ Un Contatto è un oggetto con le seguenti proprietà: deve essere offuscato. Per migliorare la resistenza contro la raccolta di indirizzi email, usare ``\x64`` per sostituire ``@``, siccome questo è permesso dalle specifiche YAML. -- ``phone`` - Numero telefonico (con prefisso internazionale). +- ``phone`` - Numero telefonico (con prefisso internazionale). Questa chiave + deve essere una stringa delimitata da doppi apici. - ``affiliation`` - Questa chiave contiene informazioni esplicite sui contatti tecnici. Nel caso esistano diversi maintainer, questa chiave può essere usata per creare relazioni tra diversi contatti tecnici e From 3e226808983305fd740d470e560bc7f6034fd1fb Mon Sep 17 00:00:00 2001 From: libremente Date: Thu, 10 Oct 2019 12:23:45 +0200 Subject: [PATCH 2/6] Adds 0.2.1 in changelog --- CHANGELOG.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d984444e..993c1c32 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -3,6 +3,14 @@ Changelog All notable changes to this project will be documented in this file. +[core-0.2.1] - 2019-10-10 +------------------------- + +Changed +~~~~~~~ + +- Mandates phone numbers to be strings surrounded by double quotes + [core-0.2/it-0.2] - 2019-03-13 ------------------------------ From 5eb1bb229cb0825c69495c38d9e577979bad18e4 Mon Sep 17 00:00:00 2001 From: libremente Date: Thu, 10 Oct 2019 16:02:38 +0200 Subject: [PATCH 3/6] Remove double quotes indication for phone entries --- docs/en/schema.core.rst | 2 +- docs/it/schema.core.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/schema.core.rst b/docs/en/schema.core.rst index fe92cc40..325c6c92 100644 --- a/docs/en/schema.core.rst +++ b/docs/en/schema.core.rst @@ -771,7 +771,7 @@ A Contact is an object with the following properties: collection, use ``\x64`` to replace ``@``, as allowed by the YAML specification. - ``phone`` - phone number (with international prefix). This has to be - a string delimited by double quotes. + a string. - ``affiliation`` - This key contains an explicit affiliation information for the technical contact. In case of multiple maintainers, this can be used to create a relation between each diff --git a/docs/it/schema.core.rst b/docs/it/schema.core.rst index 2cd4c6fd..f2867d2e 100644 --- a/docs/it/schema.core.rst +++ b/docs/it/schema.core.rst @@ -814,7 +814,7 @@ Un Contatto è un oggetto con le seguenti proprietà: raccolta di indirizzi email, usare ``\x64`` per sostituire ``@``, siccome questo è permesso dalle specifiche YAML. - ``phone`` - Numero telefonico (con prefisso internazionale). Questa chiave - deve essere una stringa delimitata da doppi apici. + deve essere una stringa. - ``affiliation`` - Questa chiave contiene informazioni esplicite sui contatti tecnici. Nel caso esistano diversi maintainer, questa chiave può essere usata per creare relazioni tra diversi contatti tecnici e From d9a7a936f5ccb35c677d0712e41a222010187222 Mon Sep 17 00:00:00 2001 From: libremente Date: Thu, 10 Oct 2019 16:03:52 +0200 Subject: [PATCH 4/6] Fix examples --- docs/en/example/publiccode.yml | 2 +- docs/it/example/publiccode.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/example/publiccode.yml b/docs/en/example/publiccode.yml index 61a1697d..3e69a97b 100644 --- a/docs/en/example/publiccode.yml +++ b/docs/en/example/publiccode.yml @@ -92,7 +92,7 @@ maintenance: - name: Francesco Rossi email: "francesco.rossi@comune.reggioemilia.it" affiliation: Comune di Reggio Emilia - phone: "+39 231 13215112" + phone: "+3923113215112" localisation: localisationReady: yes diff --git a/docs/it/example/publiccode.yml b/docs/it/example/publiccode.yml index 61a1697d..3e69a97b 100644 --- a/docs/it/example/publiccode.yml +++ b/docs/it/example/publiccode.yml @@ -92,7 +92,7 @@ maintenance: - name: Francesco Rossi email: "francesco.rossi@comune.reggioemilia.it" affiliation: Comune di Reggio Emilia - phone: "+39 231 13215112" + phone: "+3923113215112" localisation: localisationReady: yes From ffcd09ea1ac70c75379c5c71dd0ea7dcd2071e0d Mon Sep 17 00:00:00 2001 From: libremente Date: Thu, 10 Oct 2019 16:04:25 +0200 Subject: [PATCH 5/6] Fix changelog --- CHANGELOG.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 993c1c32..fc3ea82d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,7 +9,8 @@ All notable changes to this project will be documented in this file. Changed ~~~~~~~ -- Mandates phone numbers to be strings surrounded by double quotes +- Phone numbers have to be strings. If it is necessary, they can have double + quotes. [core-0.2/it-0.2] - 2019-03-13 ------------------------------ From 9a69e4f6cf020ecd53d08f198f71aefa894a1b5d Mon Sep 17 00:00:00 2001 From: Riccardo Iaconelli Date: Thu, 10 Oct 2019 16:05:00 +0200 Subject: [PATCH 6/6] Adjust CHANGELOG --- CHANGELOG.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fc3ea82d..45e6d0f3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,8 +9,7 @@ All notable changes to this project will be documented in this file. Changed ~~~~~~~ -- Phone numbers have to be strings. If it is necessary, they can have double - quotes. +- Mandates phone numbers to be strings [core-0.2/it-0.2] - 2019-03-13 ------------------------------