Skip to content

Commit

Permalink
Rename repositories (#7)
Browse files Browse the repository at this point in the history
For better consistency:

addon-store-submission -> addon-datastore
validateNvdaAddonMetadata -> addon-datastore-validation
transformAddonDataToViews -> addon-datastore-transform
  • Loading branch information
seanbudd committed Nov 11, 2021
1 parent f9f011b commit 21f513b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

This is a "GitHub Action" repository.
The Action aims to validate the metadata of add-ons submitted to
[NVDA's add-on store](https://github.com/nvaccess/addon-store-submission).
[NVDA's add-on store](https://github.com/nvaccess/addon-datastore).

- Check that the added metadata:
- Conforms with the
[addonVersion_schema.json file](https://github.com/nvaccess/validateNvdaAddonMetadata/blob/main/_validate/addonVersion_schema.json).
[addonVersion_schema.json file](https://github.com/nvaccess/addon-datastore-validation/blob/main/_validate/addonVersion_schema.json).
- File has the correct path and name: `addon1/majorVersion.minorVersion.patch.json`
- Download URL is valid:
- Must start with "https://" and end with".nvda-addon"
Expand All @@ -31,7 +31,7 @@ To try validating an addon submission on your own machine.

From cmd.exe:

1. Clone this repo: `git clone https://github.com/nvaccess/validateNvdaAddonMetadata.git`
1. Clone this repo: `git clone https://github.com/nvaccess/addon-datastore-validation.git`
1. From the repo folder, run: `runvalidate <pathToAddonMetadataFile.json>`

## Run unit tests:
Expand Down
16 changes: 8 additions & 8 deletions _validate/addonVersion_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"displayName": "My addon",
"publisher": "easyAddonTech",
"description": "Makes doing XYZ easier",
"homepage": "https://github.com/nvaccess/addon-store-submission",
"homepage": "https://github.com/nvaccess/addon-datastore",
"minNVDAVersion": {
"major": 2019,
"minor": 3,
Expand All @@ -23,11 +23,11 @@
"patch": 0
},
"channel": "beta",
"URL": "https://github.com/nvaccess/addon-store-submission/releases/download/v0.1.0/myAddon.nvda-addon",
"URL": "https://github.com/nvaccess/addon-datastore/releases/download/v0.1.0/myAddon.nvda-addon",
"sha256": "69D84CA8899800A5575CE31798293CD4FEBAB1D734A07C2E51E56A28E0DF8C82",
"sourceURL": "https://github.com/nvaccess/addon-store-submission/",
"sourceURL": "https://github.com/nvaccess/addon-datastore/",
"license": "GPL v2",
"licenseURL": "https://github.com/nvaccess/addon-store-submission/license.MD"
"licenseURL": "https://github.com/nvaccess/addon-datastore/license.MD"
}
],
"title": "Root",
Expand Down Expand Up @@ -116,7 +116,7 @@
"default": "",
"description": "If the addon has a homepage where users can get more information about the addon, you can specify it here.",
"examples": [
"https://github.com/nvaccess/addon-store-submission"
"https://github.com/nvaccess/addon-datastore"
],
"pattern": "^https:.*",
"title": "The homepage URL for the addon.",
Expand Down Expand Up @@ -167,7 +167,7 @@
"default": "",
"description": "To allow directly downloading the *.nvda-addon file. The URL should remain valid indefinetly. GitHub release URL's are recommended.",
"examples": [
"https://github.com/nvaccess/addon-store-submission/releases/download/v0.1.0/myAddon.nvda-addon"
"https://github.com/nvaccess/addon-datastore/releases/download/v0.1.0/myAddon.nvda-addon"
],
"title": "The URL to download the add-on.",
"type": "string"
Expand All @@ -187,7 +187,7 @@
"default": "",
"description": "Allows reviewers to inspect the source code for common issues.",
"examples": [
"https://github.com/nvaccess/addon-store-submission/"
"https://github.com/nvaccess/addon-datastore/"
],
"title": "The URL for the add-on source",
"type": "string"
Expand All @@ -207,7 +207,7 @@
"default": "",
"description": "A URL to the full license for the addon.",
"examples": [
"https://github.com/nvaccess/addon-store-submission/license.MD"
"https://github.com/nvaccess/addon-datastore/license.MD"
],
"title": "The licenseURL schema",
"type": "string"
Expand Down

0 comments on commit 21f513b

Please sign in to comment.