Skip to content

Make the collection's specification more useful to 3rd party users #68

@delphidabbler

Description

@delphidabbler

The collection format defined by docs/collection-format.html was originally designed to describe the rule applying to the code-snippets collection only.

However, the format is now being used within CodeSnip Vault, which is planned to become the next major release of CodeSnip. It has been found that the current specification is too specialised for this more general use. The following changes to the spec are proposed to make it more useful for general use:

  • Make snippet descriptions optional in category files. Keep Desc deprecated, but make DescEx optional.
  • Add a new, ACKNOWLEDGEMENTS file that takes a list of acknowledgements. This is similar to CONTRIBUTORS and TESTERS but is much more general than TESTERS. This file could be optional.
  • Clarify the rules for the LICENSE-INFO. Currently the file is not stated to be compulsory, but if it is present the LicenseName, CopyrightDate and CopyrightHolder keys must have values. This makes no sense.
  • Permit the LICENSE file to be empty.
  • Make it easier to detect this collection format by implementing issue Add a new compulsory file that identifies DCSC format collections #65.
  • Implement the LastModifed key per issue Add a "last modified" field to each snippet #67.

None of these suggestions will break backward compatibility.

It is no problem for this collection to make these rules stricter providing the spec is followed. For example an Implementation Notes section could make it clear that, while DescEx is optional, it always has a value in the collection.

Metadata

Metadata

Assignees

Labels

acceptedIssue will be actioneddocumentationImprovements or additions to documentationv3 🆕To implement in next major version (v3)

Projects

Status

In progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions