-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metadata: simplified supported-hardware metadata property
Modifications made: - renamed supported-hardware to supported-hardwares - supported-hardwares is now an array of strings instead of an array of custom objects As a consequence, there is no more hardware revision property and custom schema for supported hardware is not necessary anymore. An example of the new specification looks like the following: { "supported-hardwares": [ "h1-rev1", "h1-rev2", "h2" ] } Signed-off-by: Pablo Palácios <ppalacios992@gmail.com>
- Loading branch information
1 parent
11a9361
commit 3936b38
Showing
16 changed files
with
29 additions
and
124 deletions.
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -11,5 +11,5 @@ | |
"target": "/dev/sda" | ||
} | ||
], | ||
"supported-hardware": [1] | ||
"supported-hardwares": [] | ||
} |
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 |
---|---|---|
|
@@ -11,5 +11,5 @@ | |
"target": "/dev/sda" | ||
} | ||
], | ||
"supported-hardware": 1 | ||
"supported-hardwares": [1] | ||
} |
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 |
---|---|---|
|
@@ -11,5 +11,5 @@ | |
"target": "/dev/sda" | ||
} | ||
], | ||
"supported-hardware": [] | ||
"supported-hardwares": 1 | ||
} |
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
File renamed without changes.
3 changes: 0 additions & 3 deletions
3
tests/schemas/fixtures/supported-hardware/empty-hardware-property.json
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
tests/schemas/fixtures/supported-hardware/empty-hardware-rev-property.json
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
tests/schemas/fixtures/supported-hardware/expected-document.json
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/schemas/fixtures/supported-hardware/invalid-hardware-property-type.json
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
tests/schemas/fixtures/supported-hardware/invalid-hardware-rev-property-type.json
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
tests/schemas/fixtures/supported-hardware/with-additional-properties.json
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/schemas/fixtures/supported-hardware/without-hardware-property.json
This file was deleted.
Oops, something went wrong.
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