Commit c60fc53
committed
refactor mirror configuration
- resolve and validate all mirror inputs (urls, gpg keys) in Mirrors.__init__
- builder writes mirror artifacts instead of computing them
- store buildcache, bootstrap and source_caches as separate members
- decode gpg keys to in-memory bytes; expose config_files()/gpg_key_paths()
- fix always-true magic gpg key check; reject non-key data
- fix build cache mirror name mismatch in cache-force and --cache pushes
- keep file:// urls as strings1 parent cfa74e2 commit c60fc53
7 files changed
Lines changed: 320 additions & 330 deletions
File tree
- docs
- stackinator
- schema
- templates
- unittests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
227 | 236 | | |
228 | 237 | | |
229 | 238 | | |
| |||
235 | 244 | | |
236 | 245 | | |
237 | 246 | | |
238 | | - | |
| 247 | + | |
239 | 248 | | |
240 | 249 | | |
241 | 250 | | |
| |||
314 | 323 | | |
315 | 324 | | |
316 | 325 | | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | 326 | | |
326 | 327 | | |
327 | 328 | | |
| |||
0 commit comments