Skip to content

Conversation

@deathaxe
Copy link

Fixes #4

Changes include:

Common

  • Lift all checks to v4.0.0 schema (2.0, 3.0.0 are not supported)
  • re-order attributes and methods more logically in TestContainer
  • split some package and library related test methods to reduce spaghetti
  • enforce https:// protocol
  • support for file:// protocol (convert to filesystem path to open includes)
  • expect files on given location (no more automatic upward traversals)

Repositories

  • rename "dependencies" keys to "libraries"
  • "packages" and "libraries" are optional
  • recursive "includes" are supported
  • allow included repositories with ascii names other than 0-9.json, a.json, ...

Libraries

  • "load_order" is removed
  • case-sensitive library name duplicate checks -> libaries are imported, python import machinary is case-sensitive -> support e.g. Jinja2 package vs. jinja2 library to co-exist

Releases

  • "asset", "python_versions" is added
  • "sublime_text" release key is optional

Warning

Test code in this branch does not support schema version 2.0 or 3.0.0
and is thus not backward compatible!

It primarily targets testing sublimehq/package_control_channel/four-point-oh

Changes include:

Common

- Lift all checks to v4.0.0 schema (2.0, 3.0.0 are not supported)
- re-order attributes and methods more logically in `TestContainer`
- split some package and library related test methods to reduce spaghetti
- enforce https:// protocol
- support for file:// protocol (convert to filesystem path to open includes)
- expect files on given location (no more automatic upward traversals)

Repositories

- rename "dependencies" keys to "libraries"
- "packages" and "libraries" are optional
- recursive "includes" are supported
- allow included repositories with ascii names other than 0-9.json, a.json, ...

Packages

Libraries

- "load_order" is removed
- case-sensitive library name duplicate checks
  -> libaries are imported, python import machinary is case-sensitive
  -> support e.g. Jinja2 package vs. jinja2 library to co-exist

Releases

- "asset", "python_versions" is added
- "sublime_text" release key is optional
1. advice removal of optional `"sublime_text": "*"`
2. advice removal of obsolete version checks targeting builds before 3143
3. advice removal of incompatible releases, which are always ignored by PC4.
Advice removal of optional `"platforms": "*"` or `"platforms": ["*"]` as those
don't specify any restrictions. PC4 implicitly uses `"*"` if key is absent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for scheme 4.0.0

2 participants