Closed amisevsk closed 2 months ago
Add some basic validation to Kitfiles, printing an error if
.
-
_
You can see all of the failure cases by trying to pack the following Kitfile
Closes #81
Description
Add some basic validation to Kitfiles, printing an error if
.
,-
, and_
; must start with alphanumeric)Testing
You can see all of the failure cases by trying to pack the following Kitfile
Kitfile
```yaml manifestVersion: 1.0.0 package: name: test-kf model: name: my-model path: path1 parts: - name: part1 path: path1 - name: part2 path: /abs/path - name: part3 path: valid-path type: test type with space - name: part4 path: also-valid type: really-long-but-otherwise-valid-type---this-line-is-65-chars-long datasets: - name: dataset1 path: path1 - name: dataset2 path: path3 - name: dataset3 path: /abs/path/2 code: - path: path1 - path: path3 - path: /abs/path/3 ```Linked issues
Closes #81