wbond / ChannelRepositoryTools

A Sublime Text package for working with channels and repositories
https://packagecontrol.io/packages/ChannelRepositoryTools
MIT License
12 stars 4 forks source link

Support list of authors for dependencies.json #3

Open scholer opened 5 years ago

scholer commented 5 years ago

The example-repository.json states that "The author may be a list of values", and gives this example:

        {
            "name": "Alignment",
            "details": "https://github.com/wbond/sublime_alignment",
            "author": ["wbond", "jsmith"],
            "releases": [
                {
                    "sublime_text": "*",
                    "tags": true
                }
            ]
        },

Having a list of authors works for all .json files in package_control_channel/repository, except for entries in dependencies.json.

If an entry in dependencies.json has a list of strings as "author" value, then running the ChannelRepositoryTools: Test Default Channel command will fail with the message AssertionError: ["wbond", "jsmith"] is not an instance of <class 'str'> : author.

Is it not supported to have multiple authors listed for dependency packages defined in dependencies.json?

FichteFoll commented 5 years ago

This is probably an issue for the main PCC repo, but I do believe that dependencies only support a single author currently.