Skip to content

Repositories of schema v4 can have arbitrary includes #303

Description

@deathaxe

With regards to

"libraries": [ ... ]

Any repository.json of schema v4 may include other repositories recursively via "includes": ["other-repository.json"].

{
  "$schema": "sublime://packagecontrol.io/schemas/repository",
  "schema_version": "4.0.0",
  "packages": [],
  "libraries": [ ... ],
  "includes": []
}

I haven't investigated the details, but as a general note (If it is already the case than please nevermind): The crawler should be able to fully crawl a repository and extract both, packages and libraries. The default channel for instance just includes a dependencies.json aka libraries.json with libraries into its main repository.json. Beyond that any (3rd-party?) repository may contain both as well. It should resolve any value of "includes": [] and include its content into results.

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

    Labels

    crawlerIssues related to the crawlerdiscussionA topic to discuss

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions