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
Copy file name to clipboardExpand all lines: README.md
+5-184Lines changed: 5 additions & 184 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,183 +3,9 @@
3
3

4
4
5
5
This is a prototype compatibility checking tool. Right now our aim is to use in the context of
6
-
[these build matrices](https://github.com/rse-ops/lammps-matrix) for LAMMPS and these prototype [specifications](https://github.com/supercontainers/compspec) that are based off of [Proposal C](https://github.com/opencontainers/wg-image-compatibility/pull/8) of the Compatibility Working Group. This is experimental because all of that is subject (and likely) to change.
7
-
8
-
## Design
9
-
10
-
The design is based on the prototype from that pull request, shown below.
This has a better structure for inspecting easily (only the top of the file is shown):
120
-
121
-
<details>
122
-
123
-
<summary>Kernel JSON output</summary>
124
-
125
-
```json
126
-
{
127
-
"extractors": {
128
-
"kernel": {
129
-
"sections": {
130
-
"boot": {
131
-
"BOOT_IMAGE": "/boot/vmlinuz-6.1.0-1028-oem",
132
-
"quiet": "",
133
-
"ro": "",
134
-
"root": "UUID",
135
-
"splash": "",
136
-
"vt.handoff": "7"
137
-
},
138
-
"config": {
139
-
"CONFIG_104_QUAD_8": "m",
140
-
"CONFIG_60XX_WDT": "m",
141
-
"CONFIG_64BIT": "y",
142
-
"CONFIG_6LOWPAN": "m"
143
-
}
144
-
}
145
-
}
146
-
}
147
-
}
148
-
```
149
-
150
-
</details>
151
-
152
-
An extractor is made up of sections, and you can ask for parsing just a specific one.
153
-
154
-
```bash
155
-
./bin/compspec extract --name kernel[config]
156
-
```
157
-
```console
158
-
⭐️ Running extract...
159
-
--Result for kernel
160
-
-- Section boot
161
-
root: UUID
162
-
ro:
163
-
quiet:
164
-
splash:
165
-
vt.handoff: 7
166
-
BOOT_IMAGE: /boot/vmlinuz-6.1.0-1028-oem
167
-
Extraction has run!
168
-
```
169
-
170
-
To ask for more than one, it's a comma separated list.
171
-
172
-
```bash
173
-
./bin/compspec extract --name kernel[config,boot]
174
-
```
175
-
176
-
The ordering of your list is honored.
177
-
178
-
## Developer
179
-
180
-
Note that there is a [developer environment](.devcontainer) that provides a consistent version of Go, etc.
181
-
However, it won't work with all extractors. Note that for any command that uses a plugin (e.g., `extract` and `check`)
6
+
[these build matrices](https://github.com/rse-ops/lammps-matrix) for LAMMPS and these prototype [specifications](https://github.com/supercontainers/compspec) that are based off of [Proposal C](https://github.com/opencontainers/wg-image-compatibility/pull/8) of the Compatibility Working Group. This is experimental because all of that is subject (and likely) to change. This project is under development, and you can see our [docs](docs) for early documentation.
182
7
8
+
- ⭐️ [Documentation](docs) ⭐️
183
9
184
10
### Limitations
185
11
@@ -188,6 +14,9 @@ However, it won't work with all extractors. Note that for any command that uses
188
14
189
15
## TODO
190
16
17
+
- metadata namespace and exposure: someone writing a spec to create an artifact needs to know the extract namespace (and what is available) for the mapping.
18
+
- create: the final step of create should be validation of the spec with the jsonSchema linked (not done yet)
19
+
- tests: matrix that has several different flavors of builds, generating compspec json output to validate generation and correctness
191
20
- likely we want a common configuration file to take an extraction -> check recipe
192
21
- need to develop check plugin family
193
22
- todo thinking around manifest.yaml that has listing of images / artifacts
@@ -197,16 +26,8 @@ However, it won't work with all extractors. Note that for any command that uses
197
26
A `*` indicates required for the work / prototype I want to do
198
27
199
28
- power usage data [valorium](https://ipo.llnl.gov/sites/default/files/2023-08/Final_variorum-rnd-100-award.pdf)
0 commit comments