Skip to content

Commit e6f6306

Browse files
committed
fix: modified folder structure
Change in the versioning system. Now using a tag oriented versioning. The `version` folder has been substituted by a `docs` one with the publiccode files directly in it
1 parent 459bb45 commit e6f6306

23 files changed

Lines changed: 49 additions & 1080 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/en/schema.it.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Placeholder for [schema.it.md](../it/schama.it.md).
2+
File renamed without changes.
File renamed without changes.

version/development/example/publiccode.minimal.yml renamed to docs/it/example/publiccode.minimal.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
1+
### publiccode.minimal.yml
2+
#
3+
# This is a minimal example, i.e. it only contains values for the keys which
4+
# are specified as mandatory in the specification
5+
#
6+
# All the documentation for the schema is accessible at the URL
7+
# http://w3id.org/publiccode/version/0.1
8+
19
publiccode-yaml-version: "http://w3id.org/publiccode/version/0.1"
210

311
name: Medusa
412
url: "https://example.com/italia/medusa.git"
513
softwareVersion: "dev"
614
releaseDate: "2017-04-15"
15+
16+
# You can use any string, but it's better if you stick to
17+
# values suggested:
18+
# http://yml.publiccode.net/version/0.1/schema.html#key-platforms
719
platforms:
820
- web
921

22+
# Allowed values are accessible here:
23+
# http://w3id.org/publiccode/version/0.1/tags.html
24+
#
25+
# Only stick to these tags! If you need additional tags (localised),
26+
# you have the chance of adding them under the description/freeTags key
1027
tags:
1128
- texteditor
1229

@@ -15,6 +32,7 @@ developmentStatus: development
1532
softwareType: "standalone"
1633

1734
description:
35+
## This example uses English: you can use any language you want
1836
eng:
1937
localisedName: Medusa
2038
genericName: Text Editor
@@ -32,6 +50,7 @@ description:
3250
- Just one feature
3351

3452
legal:
53+
# The license is an SPDX expression, and may not be a single license
3554
license: AGPL-3.0-or-later
3655

3756
maintenance:

version/development/example/publiccode.yml renamed to docs/it/example/publiccode.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
publiccodeYamlVersion: "http://w3id.org/publiccode/version/0.2"
1+
### publiccode.minimal.yml
2+
#
3+
# This is a full example of a publiccode.yml file, i.e. it tries to include
4+
# a meaningul value for all keys specified in the documentation.
5+
#
6+
# Full documentation for the schema is accessible at the URL
7+
# http://w3id.org/publiccode/version/0.1
8+
9+
publiccode-yaml-version: "http://w3id.org/publiccode/version/0.1"
210

311
name: Medusa
412
applicationSuite: MegaProductivitySuite
@@ -21,6 +29,9 @@ platforms:
2129
- ios
2230

2331
# For a list of allowed values, check out w3id.org/publiccode/version/0.1/tags.html
32+
#
33+
# Only stick to these tags! If you need additional tags (localised),
34+
# you have the chance of adding them under the description/freeTags key
2435
tags:
2536
- content-management
2637
- artificial-intelligence
@@ -92,7 +103,7 @@ maintenance:
92103

93104
contractors:
94105
- name: "Fornitore Privato SPA"
95-
url: "https://privatecompany.com"
106+
website: "https://privatecompany.com"
96107
until: "2019-01-01"
97108

98109
contacts:

0 commit comments

Comments
 (0)