-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adopt schemaver #288
Merged
Merged
Adopt schemaver #288
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
438f260
Adopt schemaver
jaimergp 12b82b6
Provide all schemas to date, versioned according to schemaver
jaimergp 2b76421
symlink versionless schema to latest 1-0-x schema
jaimergp ad98451
define here too
jaimergp e163f7c
pre-commit
jaimergp 9f94e46
add news
jaimergp dea52e3
and here
jaimergp def336a
fix docs
jaimergp e39299e
pre-commit
jaimergp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"id_": "https://schemas.conda.io/menuinst-1.schema.json", | ||
"schema_": "https://json-schema.org/draft-07/schema", | ||
"menu_name": "REQUIRED", | ||
"menu_items": [ | ||
{ | ||
"name": "REQUIRED", | ||
"description": "REQUIRED", | ||
"command": [ | ||
"REQUIRED" | ||
], | ||
"icon": null, | ||
"precommand": null, | ||
"precreate": null, | ||
"working_dir": null, | ||
"activate": true, | ||
"terminal": false, | ||
"platforms": { | ||
"linux": { | ||
"Categories": null, | ||
"DBusActivatable": null, | ||
"GenericName": null, | ||
"Hidden": null, | ||
"Implements": null, | ||
"Keywords": null, | ||
"MimeType": null, | ||
"NoDisplay": null, | ||
"NotShowIn": null, | ||
"OnlyShowIn": null, | ||
"PrefersNonDefaultGPU": null, | ||
"StartupNotify": null, | ||
"StartupWMClass": null, | ||
"TryExec": null, | ||
"glob_patterns": null | ||
}, | ||
"osx": { | ||
"CFBundleDisplayName": null, | ||
"CFBundleIdentifier": null, | ||
"CFBundleName": null, | ||
"CFBundleSpokenName": null, | ||
"CFBundleVersion": null, | ||
"CFBundleURLTypes": null, | ||
"CFBundleDocumentTypes": null, | ||
"LSApplicationCategoryType": null, | ||
"LSBackgroundOnly": null, | ||
"LSEnvironment": null, | ||
"LSMinimumSystemVersion": null, | ||
"LSMultipleInstancesProhibited": null, | ||
"LSRequiresNativeExecution": null, | ||
"UTExportedTypeDeclarations": null, | ||
"UTImportedTypeDeclarations": null, | ||
"entitlements": null, | ||
"link_in_bundle": null, | ||
"event_handler": null | ||
}, | ||
"win": { | ||
"desktop": true, | ||
"quicklaunch": true, | ||
"url_protocols": null, | ||
"file_extensions": null, | ||
"app_user_model_id": null | ||
} | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we always use the latest version here, similar to what you're doing in
docs/source/conf.py
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'd run into a catch-22, because to bump it we'd need to first copy the latest file with a new name, and that feels clunky and hard to track via diffs and code reviews.
We could import from
menuinst.platforms.base
though, but I didn't do that because (1) we would start depending on the project itself, and so far this module was standalone, and (2) this feels like the natural place to define the schema version. That's why I "tied" these hardcoded values via a test instead.What do you think? Would you consider this a blocker?