Commit bd64f5e
Change to LFRic Macros scripts for git (#117)
* update copyright checker
* update copyright checker
* update copyright_checker
* add GitInfo class
* remove unnecessary function
* add gitinfo class
* add check for detached head
* initial commit for suite_report
* task tables done
* update '
* make executable
* update suite_report
* run black
* revert test_fcm_bdiff deletion
* add finally with error to import statement
* didn't want finally
* revert bdiff changes
* add check for writable suite_path
* re-copy bdiff branch
* add detached head unit test
* run black
* update for jules primary source
* add class docstring
* edit dependency table
* run black
* Update suite_report_git/suite_data.py
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
* Update suite_report_git/suite_data.py
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
* Update suite_report_git/suite_data.py
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
* change to using urls
* url for local clones
* run black
* collapse failed
* start changes
* add get_git_sources
* split get_git_sources
* change lfric_macros to git
* remove print
* update source dirs
* code review comments
* run black
* make source dir first
* fix
* add umdp3_fixer
* add wrapper script
* make copy of fcm nightly testing
* update read_sources
* run black
* black
* update extract loc
* add type hinting
* fix checkout
* update github extraction
* add mkdir
* try other apprach
* change to tuple
* revert to init
* move files around
* update extract
* update extract
* update extract
* update extract
* update suite_report
* unsaved
* update suite_report
* update branch
* add option to use tokens
* print extraction
* syntax
* fix
* add print
* update if
* update prints
* test
* test
* test
* remove debug prints
* update umdp3 error message
* use shutil instead
* Update lfric_macros/apply_macros.py
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
* Update lfric_macros/apply_macros.py
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
* Update lfric_macros/apply_macros.py
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
* Update lfric_macros/apply_macros.py
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
* Update lfric_macros/apply_macros.py
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
* change test for git url
* cr comments
* update
* added space to incorrect place
---------
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>1 parent cc4978a commit bd64f5e
File tree
3 files changed
+92
-87
lines changed- lfric_macros
3 files changed
+92
-87
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
75 | | - | |
76 | | - | |
| 77 | + | |
| 78 | + | |
77 | 79 | | |
78 | | - | |
| 80 | + | |
79 | 81 | | |
80 | | - | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | | - | |
84 | | - | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
88 | | - | |
89 | | - | |
| 89 | + | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | | - | |
96 | | - | |
97 | | - | |
| 96 | + | |
| 97 | + | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
325 | | - | |
| 324 | + | |
326 | 325 | | |
327 | | - | |
328 | | - | |
| 326 | + | |
| 327 | + | |
329 | 328 | | |
330 | 329 | | |
331 | 330 | | |
| |||
335 | 334 | | |
336 | 335 | | |
337 | 336 | | |
338 | | - | |
| 337 | + | |
339 | 338 | | |
340 | | - | |
| 339 | + | |
341 | 340 | | |
342 | 341 | | |
343 | 342 | | |
| |||
347 | 346 | | |
348 | 347 | | |
349 | 348 | | |
350 | | - | |
351 | | - | |
| 349 | + | |
| 350 | + | |
352 | 351 | | |
353 | 352 | | |
354 | | - | |
355 | | - | |
| 353 | + | |
| 354 | + | |
356 | 355 | | |
357 | 356 | | |
358 | 357 | | |
359 | | - | |
360 | | - | |
| 358 | + | |
| 359 | + | |
361 | 360 | | |
362 | 361 | | |
363 | 362 | | |
364 | 363 | | |
365 | | - | |
366 | | - | |
| 364 | + | |
| 365 | + | |
367 | 366 | | |
368 | 367 | | |
369 | 368 | | |
370 | 369 | | |
371 | 370 | | |
372 | | - | |
| 371 | + | |
373 | 372 | | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
398 | 376 | | |
399 | | - | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
400 | 380 | | |
401 | | - | |
402 | | - | |
| 381 | + | |
403 | 382 | | |
404 | | - | |
| 383 | + | |
| 384 | + | |
405 | 385 | | |
406 | 386 | | |
407 | 387 | | |
408 | 388 | | |
409 | 389 | | |
410 | | - | |
| 390 | + | |
411 | 391 | | |
412 | 392 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
420 | 401 | | |
421 | 402 | | |
422 | 403 | | |
| |||
1237 | 1218 | | |
1238 | 1219 | | |
1239 | 1220 | | |
1240 | | - | |
1241 | | - | |
| 1221 | + | |
| 1222 | + | |
1242 | 1223 | | |
1243 | 1224 | | |
1244 | 1225 | | |
1245 | 1226 | | |
1246 | 1227 | | |
1247 | 1228 | | |
1248 | | - | |
1249 | | - | |
| 1229 | + | |
| 1230 | + | |
1250 | 1231 | | |
1251 | 1232 | | |
1252 | 1233 | | |
| |||
1273 | 1254 | | |
1274 | 1255 | | |
1275 | 1256 | | |
1276 | | - | |
| 1257 | + | |
1277 | 1258 | | |
1278 | 1259 | | |
1279 | 1260 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
| 106 | + | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
57 | | - | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
84 | | - | |
| 86 | + | |
85 | 87 | | |
86 | 88 | | |
87 | | - | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
| 92 | + | |
90 | 93 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
98 | 105 | | |
99 | 106 | | |
100 | 107 | | |
| |||
216 | 223 | | |
217 | 224 | | |
218 | 225 | | |
219 | | - | |
220 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
221 | 236 | | |
222 | 237 | | |
223 | 238 | | |
| |||
264 | 279 | | |
265 | 280 | | |
266 | 281 | | |
267 | | - | |
268 | | - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
269 | 294 | | |
270 | 295 | | |
271 | 296 | | |
| |||
321 | 346 | | |
322 | 347 | | |
323 | 348 | | |
324 | | - | |
325 | | - | |
| 349 | + | |
326 | 350 | | |
327 | 351 | | |
328 | 352 | | |
| |||
0 commit comments