Skip to content

New repository format? #2

Description

@jcarbaugh

I'm considering changing the format of the repo to something like:

licenses.js
templates/
    - headers/
    - license-id.txt
    - ...

licenses.js would be a JSON file with a description of the available licenses. Each license would have the following fields: id (slug), full name, version, text file name, header file name. I'm considering something along the format of:

{
    id: 'a-license',
    name: 'A Generic License',
    versions: [
        {
            number: '2.1',
            text: 'a-license.txt',
            header: 'a-license-header.txt',
        }
    ]
}

Maybe having separate folders for the header and text files are unnecessary with this config file? A user could specify a specific version as a-license@2.1 or use the newest (or only) version with just a-license.

Thoughts?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions