You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The http/FileSystem stuff still applies, since the JSON Schema
validation is staying in this repo. I've made it's earlier
oci-image-tool references more generic, and adopted the README's
recommended one sentence per line where I touched a line.
Signed-off-by: W. Trevor King <[email protected]>
Copy file name to clipboardExpand all lines: HACKING.md
+4-11Lines changed: 4 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,20 +33,13 @@ $ make test
33
33
$ make validate-examples
34
34
```
35
35
36
-
### OCI image tool
37
-
38
-
This target builds the `oci-image-tool` binary.
39
-
40
-
Invocation:
41
-
```
42
-
$ make oci-image-tool
43
-
```
44
-
45
36
### Virtual schema http/FileSystem
46
37
47
-
The `oci-image-tool` uses a virtual [http/FileSystem](https://golang.org/pkg/net/http/#FileSystem) to load the JSON schema files for validating OCI images and/or manifests. The virtual file system is generated using the `esc` tool and compiled into the `oci-image-tool` binary so the JSON schema files don't have to be distributed along with the binary.
38
+
The `schema` validator uses a virtual [http/FileSystem](https://golang.org/pkg/net/http/#FileSystem) to load the JSON schema files for validating OCI images and/or manifests.
39
+
The virtual file system is generated using the `esc` tool and compiled into consumers of the `schema` package so the JSON schema files don't have to be distributed along with and consumer binaries.
48
40
49
-
Whenever changes are being done in any of the `schema/*.json` files, one must refresh the generated virtual file system. Otherwise schema changes will not be visible inside the `oci-image-tool`.
41
+
Whenever changes are being done in any of the `schema/*.json` files, one must refresh the generated virtual file system.
42
+
Otherwise schema changes will not be visible inside `schema` consumers.
0 commit comments