-
Notifications
You must be signed in to change notification settings - Fork 8
/
repo.toml
660 lines (583 loc) · 25.9 KB
/
repo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
########################################################################################################################
# Repo tool base settings
########################################################################################################################
[repo]
logging = "warn"
# Use Kit Template repo configuration as a base. Only override things specific to the repo.
import_configs = ["${root}/_repo/deps/repo_kit_tools/kit-template/repo.toml", "${root}/repo_public.toml"]
import_optional_configs = ["${root}/repo_internal.toml"]
# Reposiory Name. It is used for solution name and final package name
name = "rtx_remix"
########################################################################################################################
# Test Runner
########################################################################################################################
# Run all test suites
[repo_test.suites.alltests]
kind = "glob_and_exec"
path = "${test_root}"
[[repo_test.suites.alltests.group]]
# Run all test
include = ["tests-lightspeed.*${shell_ext}", "tests-omni.flux.*${shell_ext}"]
exclude = []
"platform:linux-x86_64".include = [ # we only test pip archive for linux
"tests-lightspeed.pip_archive${shell_ext}",
"tests-omni.flux.pip_archive${shell_ext}",
]
"platform:linux-x86_64".exclude = []
args = [
"--portable", "--portable-root", "${root}/portable",
"--/exts/omni.kit.test/testExtCodeChangeAnalyzerEnabled=False",
"--/exts/omni.kit.test/testExtRetryStrategy='retry-on-failure'",
"--/exts/omni.kit.test/testExtMaxTestRunCount=3",
"--", # Every parameter after will be passed directly to each extension tests as parameters
"--/exts/omni.kit.registry.nucleus/accounts/0/read=svc-kit-extension-viewer:Trgkyw25PB6SFLV9MaACfp",
"--no-window",
]
timeout = 1800
# Run lightspeed linux unit test suite
[repo_test.suites.lss_unit_linux]
kind = "glob_and_exec"
path = "${test_root}"
[[repo_test.suites.lss_unit_linux.group]]
include = [
"tests-lightspeed.*${shell_ext}",
]
exclude = []
"platform:linux-x86_64".include = [ # we only test pip archive for linux
"tests-lightspeed.pip_archive${shell_ext}",
]
"platform:linux-x86_64".exclude = []
args = [
"--portable", "--portable-root", "${root}/portable",
"--/exts/omni.kit.test/runTestsFilter='lightspeed.*.tests.unit.*'",
"--/exts/omni.kit.test/testExtCodeChangeAnalyzerEnabled=False",
"--/exts/omni.kit.test/testExtRetryStrategy='retry-on-failure'",
"--/exts/omni.kit.test/testExtMaxTestRunCount=3",
"--", # Every parameter after will be passed directly to each extension tests as parameters
"--/exts/omni.kit.registry.nucleus/accounts/0/read=svc-kit-extension-viewer:Trgkyw25PB6SFLV9MaACfp",
"--no-window",
]
timeout = 300
# Run flux linux unit test suite
[repo_test.suites.flux_unit_linux]
kind = "glob_and_exec"
path = "${test_root}"
[[repo_test.suites.flux_unit_linux.group]]
include = [
"tests-omni.flux.*${shell_ext}",
]
exclude = []
"platform:linux-x86_64".include = [ # we only test pip archive for linux
"tests-omni.flux.pip_archive${shell_ext}",
]
"platform:linux-x86_64".exclude = []
args = [
"--portable", "--portable-root", "${root}/portable",
"--/exts/omni.kit.test/runTestsFilter='omni.flux.*.tests.unit.*'",
"--/exts/omni.kit.test/testExtCodeChangeAnalyzerEnabled=False",
"--/exts/omni.kit.test/testExtRetryStrategy='retry-on-failure'",
"--/exts/omni.kit.test/testExtMaxTestRunCount=3",
"--", # Every parameter after will be passed directly to each extension tests as parameters
"--/exts/omni.kit.registry.nucleus/accounts/0/read=svc-kit-extension-viewer:Trgkyw25PB6SFLV9MaACfp",
"--no-window",
]
timeout = 300
# Run lightspeed unit test suite, names starting with a-o
[repo_test.suites.lss_unit_a2o]
kind = "glob_and_exec"
path = "${test_root}"
[[repo_test.suites.lss_unit_a2o.group]]
include = [
"tests-lightspeed.[a-o]*${shell_ext}",
]
exclude = []
args = [
"--portable", "--portable-root", "${root}/portable",
"--/exts/omni.kit.test/runTestsFilter='lightspeed.*.tests.unit.*'",
"--/exts/omni.kit.test/testExtCodeChangeAnalyzerEnabled=False",
"--/exts/omni.kit.test/testExtRetryStrategy='retry-on-failure'",
"--/exts/omni.kit.test/testExtMaxTestRunCount=3",
"--", # Every parameter after will be passed directly to each extension tests as parameters
"--/exts/omni.kit.registry.nucleus/accounts/0/read=svc-kit-extension-viewer:Trgkyw25PB6SFLV9MaACfp",
"--no-window",
]
timeout = 900
# Run flux unit test suite, names starting with a-o
[repo_test.suites.flux_unit_a2o]
kind = "glob_and_exec"
path = "${test_root}"
[[repo_test.suites.flux_unit_a2o.group]]
include = [
"tests-omni.flux.[a-o]*${shell_ext}",
]
exclude = []
args = [
"--portable", "--portable-root", "${root}/portable",
"--/exts/omni.kit.test/runTestsFilter='omni.flux.*.tests.unit.*'",
"--/exts/omni.kit.test/testExtCodeChangeAnalyzerEnabled=False",
"--/exts/omni.kit.test/testExtRetryStrategy='retry-on-failure'",
"--/exts/omni.kit.test/testExtMaxTestRunCount=3",
"--", # Every parameter after will be passed directly to each extension tests as parameters
"--/exts/omni.kit.registry.nucleus/accounts/0/read=svc-kit-extension-viewer:Trgkyw25PB6SFLV9MaACfp",
"--no-window",
]
timeout = 900
# Run lightspeed unit test suite, names starting with p-z
[repo_test.suites.lss_unit_p2z]
kind = "glob_and_exec"
path = "${test_root}"
[[repo_test.suites.lss_unit_p2z.group]]
include = [
"tests-lightspeed.[p-z]*${shell_ext}",
]
exclude = []
args = [
"--portable", "--portable-root", "${root}/portable",
"--/exts/omni.kit.test/runTestsFilter='lightspeed.*.tests.unit.*'",
"--/exts/omni.kit.test/testExtCodeChangeAnalyzerEnabled=False",
"--/exts/omni.kit.test/testExtRetryStrategy='retry-on-failure'",
"--/exts/omni.kit.test/testExtMaxTestRunCount=3",
"--", # Every parameter after will be passed directly to each extension tests as parameters
"--/exts/omni.kit.registry.nucleus/accounts/0/read=svc-kit-extension-viewer:Trgkyw25PB6SFLV9MaACfp",
"--no-window",
]
timeout = 900
# Run flux unit test suite, names starting with p-z
[repo_test.suites.flux_unit_p2z]
kind = "glob_and_exec"
path = "${test_root}"
[[repo_test.suites.flux_unit_p2z.group]]
include = [
"tests-omni.flux.[p-z]*${shell_ext}",
]
exclude = []
args = [
"--portable", "--portable-root", "${root}/portable",
"--/exts/omni.kit.test/runTestsFilter='omni.flux.*.tests.unit.*'",
"--/exts/omni.kit.test/testExtCodeChangeAnalyzerEnabled=False",
"--/exts/omni.kit.test/testExtRetryStrategy='retry-on-failure'",
"--/exts/omni.kit.test/testExtMaxTestRunCount=3",
"--", # Every parameter after will be passed directly to each extension tests as parameters
"--/exts/omni.kit.registry.nucleus/accounts/0/read=svc-kit-extension-viewer:Trgkyw25PB6SFLV9MaACfp",
"--no-window",
]
timeout = 900
# Run lightspeed end-to-end test suite, names starting with a-s
[repo_test.suites.lss_e2e_a2s]
kind = "glob_and_exec"
path = "${test_root}"
[[repo_test.suites.lss_e2e_a2s.group]]
include = [
"tests-lightspeed.[a-s]*${shell_ext}",
]
exclude = []
"platform:linux-x86_64".include = ["tests-lightspeed.pip_archive${shell_ext}"] # we only test pip archive for linux
"platform:linux-x86_64".exclude = []
args = [
"--portable", "--portable-root", "${root}/portable",
"--/exts/omni.kit.test/runTestsFilter='lightspeed.*.tests.e2e.*'",
"--/exts/omni.kit.test/testExtCodeChangeAnalyzerEnabled=False",
"--/exts/omni.kit.test/testExtRetryStrategy='retry-on-failure'",
"--/exts/omni.kit.test/testExtMaxTestRunCount=3",
"--", # Every parameter after will be passed directly to each extension tests as parameters
"--/exts/omni.kit.registry.nucleus/accounts/0/read=svc-kit-extension-viewer:Trgkyw25PB6SFLV9MaACfp",
"--no-window",
]
timeout = 1800
# Run flux end-to-end test suite, names starting with a-s
[repo_test.suites.flux_e2e_a2s]
kind = "glob_and_exec"
path = "${test_root}"
[[repo_test.suites.flux_e2e_a2s.group]]
include = [
"tests-omni.flux.[a-s]*${shell_ext}",
]
exclude = []
"platform:linux-x86_64".include = ["tests-omni.flux.pip_archive${shell_ext}"] # we only test pip archive for linux
"platform:linux-x86_64".exclude = []
args = [
"--portable", "--portable-root", "${root}/portable",
"--/exts/omni.kit.test/runTestsFilter='omni.flux.*.tests.e2e.*'",
"--/exts/omni.kit.test/testExtCodeChangeAnalyzerEnabled=False",
"--/exts/omni.kit.test/testExtRetryStrategy='retry-on-failure'",
"--/exts/omni.kit.test/testExtMaxTestRunCount=3",
"--", # Every parameter after will be passed directly to each extension tests as parameters
"--/exts/omni.kit.registry.nucleus/accounts/0/read=svc-kit-extension-viewer:Trgkyw25PB6SFLV9MaACfp",
"--no-window",
]
timeout = 1800
# Run lightspeed end-to-end test suite, names starting with t-z
[repo_test.suites.lss_e2e_t2z]
kind = "glob_and_exec"
path = "${test_root}"
[[repo_test.suites.lss_e2e_t2z.group]]
include = [
"tests-lightspeed.[t-z]*${shell_ext}",
]
serial = [
"tests-lightspeed.trex.viewports.shared.widget${shell_ext}",
]
exclude = []
"platform:linux-x86_64".include = ["tests-lightspeed.pip_archive${shell_ext}"] # we only test pip archive for linux
"platform:linux-x86_64".exclude = []
args = [
"--portable", "--portable-root", "${root}/portable",
"--/exts/omni.kit.test/runTestsFilter='lightspeed.*.tests.e2e.*'",
"--/exts/omni.kit.test/testExtCodeChangeAnalyzerEnabled=False",
"--/exts/omni.kit.test/testExtRetryStrategy='retry-on-failure'",
"--/exts/omni.kit.test/testExtMaxTestRunCount=3",
"--", # Every parameter after will be passed directly to each extension tests as parameters
"--/exts/omni.kit.registry.nucleus/accounts/0/read=svc-kit-extension-viewer:Trgkyw25PB6SFLV9MaACfp",
"--no-window",
]
timeout = 1800
# Run end-to-end test suite, names starting with t-z
[repo_test.suites.flux_e2e_t2z]
kind = "glob_and_exec"
path = "${test_root}"
[[repo_test.suites.flux_e2e_t2z.group]]
include = [
"tests-omni.flux.[t-z]*${shell_ext}",
]
exclude = []
"platform:linux-x86_64".include = ["tests-omni.flux.pip_archive${shell_ext}"] # we only test pip archive for linux
"platform:linux-x86_64".exclude = []
args = [
"--portable", "--portable-root", "${root}/portable",
"--/exts/omni.kit.test/runTestsFilter='omni.flux.*.tests.e2e.*'",
"--/exts/omni.kit.test/testExtCodeChangeAnalyzerEnabled=False",
"--/exts/omni.kit.test/testExtRetryStrategy='retry-on-failure'",
"--/exts/omni.kit.test/testExtMaxTestRunCount=3",
"--", # Every parameter after will be passed directly to each extension tests as parameters
"--/exts/omni.kit.registry.nucleus/accounts/0/read=svc-kit-extension-viewer:Trgkyw25PB6SFLV9MaACfp",
"--no-window",
]
timeout = 1800
########################################################################################################################
# Packaging
########################################################################################################################
[repo_package]
[repo_package.packages.main_package]
archive_format = "zip"
replace_authors_in_kit_extensions = true
strip_package_infos = true
exclude_kit_extensions_for_thin_packaging = false
windows_max_path_length = 240
# temp for fat packaging and enterprise builds until pipeline changes are complete: @gamato
files_exclude = [
["**/*.pdb"],
["**/*.exp"],
# ["kit/**"],
["baseapp/**"],
["extsbuild/**"],
["cache/**"],
["data/**"],
["logs/**"],
["apps/kit.portable"],
]
# package content
release.files = [
["**"],
]
release.files_exclude = [
["**/*.pdb"],
["**/*.exp"],
# ["kit/**"],
["apps/kit.portable"],
]
"linux-x86_64".files_strip = [
["**/*.so"],
]
# temp until fix
"linux-x86_64".files_strip_exclude = [
["**/*tbb*.so"],
["*/pip_prebundle/PIL/*"],
]
#######################################################################################################################
# Section for "pre build", "post build" step configuration.
#######################################################################################################################
[repo_build]
pre_build.commands = [
["${root}/_build/${platform}/${config}/pull_dependencies${shell_ext}"],
]
# Multiple commands (processes) can be executed in order after build.
# These have the same behavior as repo_build.pre_build.commands, except that they run after the build.
post_build.commands = [
["${root}/repo${shell_ext}", "stubgen", "-c", "${config}"],
# Generate a shortcut to run the Mass Ingestion CLI in LSS
["${root}/_build/${platform}/${config}/kit/kit${exe_ext}", "${root}/_build/${platform}/${config}/apps/lightspeed.app.trex.validation_cli_generator.kit", "--no-window", "--/app/extensions/excluded/0='omni.kit.splash' --/app/extensions/excluded/1='omni.kit.window.splash' --/app/settings/persistent=0 --/app/settings/loadUserConfig=0 --/structuredLog/enable=0 --/app/hangDetector/enabled=0 --/crashreporter/skipOldDumpUpload=1 --/app/content/emptyStageOnStart=1", "--/app/file/ignoreUnsavedOnExit=1", "--/app/fastShutdown=1", "--/app/quitAfter=10", "--exec", "${root}/tools/custom/generate_mass_cli.py"],
["${root}/_build/${platform}/${config}/kit/kit${exe_ext}", "${root}/_build/${platform}/${config}/apps/omni.flux.app.service.documentation_cli_generator.kit", "--no-window", "--exec", "${root}/tools/custom/generate_app.py -id omni.flux.service.documentation -n omni.flux.app.service.documentation.cli"],
]
[repo_build.fetch.pip]
# List of pip files to pip install from (in order)
files_to_pull = [
"${root}/deps/pip_flux.toml",
"${root}/deps/pip_lss.toml",
"${root}/deps/pip_internal.toml",
]
[repo_stubgen]
exts_exclude = [
"lightspeed.pip_archive"
]
########################################################################################################################
# Extensions publisher
########################################################################################################################
[repo_publish_exts]
configs = ["release"]
platforms = ["windows-x86_64"]
# Extensions to publish, include and exclude among those discovered by kit. Wildcards are supported.
exts.include = [
"lightspeed.*",
"omni.flux.*",
]
exts."platform:linux-x86_64".include = [
"lightspeed.pip_archive.*",
"omni.flux.pip_archive.*",
] # we only test pip archive for linux
exts.exclude = [
"lightspeed_example.*",
]
# verify before publishing
# skip so that lightspeed.apps can be published without separate changelogs
publish_verification = false
# To be able to publish with an older Kit you can update settings for a publishing tool to set an account from the env
# vars provided by Vault (assuming you use shared CI yml scripts, otherwise update your scripts too):
kit_extra_args = [
"--/exts/omni.kit.registry.nucleus/accounts/0/read=${env:OMNI_KIT_EXTENSIONS_USERNAME}:${env:OMNI_KIT_EXTENSIONS_KEY}",
"--/exts/omni.kit.registry.nucleus/accounts/0/write=${env:OMNI_KIT_EXTENSIONS_USERNAME}:${env:OMNI_KIT_EXTENSIONS_KEY}",
]
########################################################################################################################
# Extensions precacher
########################################################################################################################
[repo_precache_exts]
# Apps to run and precache
apps = [
"${root}/source/apps/lightspeed.app.trex.ingestcraft.kit",
"${root}/source/apps/lightspeed.app.trex.kit",
"${root}/source/apps/lightspeed.app.trex.stagecraft.kit",
"${root}/source/apps/lightspeed.app.trex.texturecraft.kit",
"${root}/source/apps/lightspeed.app.trex.validation_cli.kit",
"${root}/source/apps/lightspeed.app.trex.validation_cli_generator.kit",
"${root}/source/apps/lightspeed.app.trex_dev.kit",
"${root}/source/apps/lightspeed.hdremix.test.kit",
"${root}/source/apps/omni.flux.app.service.documentation_cli_generator.kit",
"${root}/source/extensions/lightspeed.trex.packaging.core/apps/lightspeed.app.trex.project_packaging_cli.kit",
"${root}/source/extensions/lightspeed.trex.project_wizard.core/apps/lightspeed.app.trex.project_wizard_cli.kit",
"${root}/source/extensions/omni.flux.asset_importer.core/apps/omni.flux.app.asset_importer_cli.kit",
"${root}/source/extensions/omni.flux.service.documentation/apps/omni.flux.app.service.documentation_cli.kit",
"${root}/source/extensions/omni.flux.stage_manager.window/apps/omni.flux.app.stage_manager.kit",
"${root}/source/extensions/omni.flux.validator.manager.core/apps/omni.flux.app.validator_cli.kit",
"${root}/source/extensions/omni.flux.validator.manager.window/apps/omni.flux.app.validator.kit",
"${root}/source/extensions/omni.flux.validator.mass.core/apps/omni.flux.app.validator.mass_cli.kit",
"${root}/source/extensions/omni.flux.validator.mass.window/apps/omni.flux.app.validator.mass_window.kit",
]
########################################################################################################################
# Documentation building
########################################################################################################################
[repo_docs]
enabled = true
name = "NVIDIA RTX Remix"
project = "${conf:repo.name}"
sphinx_conf_py_extra = """
import pathlib
import platform
import shutil
import subprocess
def build_service_docs(app):
output_dir = pathlib.Path(app.builder.outdir)
exec_path = output_dir.parent.parent.parent / "${platform}" / source_substitutions.get("repo_docs_config")
if not (exec_path).exists():
raise RuntimeError("No Kit build was found.")
exec_path = exec_path / ("omni.flux.app.service.documentation.cli" + (".bat" if platform.system().lower() == "windows" else ".sh"))
if not exec_path.exists():
raise RuntimeError("Service Documentation executable not found.")
source_file = pathlib.Path.cwd() / "docs" / "toolkitinterface" / "remix-toolkitinterface-restapi-docs.html"
command = [
str(exec_path),
"-o", str(source_file),
"-e", "lightspeed.trex.service.core",
'-x--/renderer/mdl/searchPaths/templates="${kit}/../omni_core_materials/Base;${kit}/mdl/core/Base;${kit}/mdl/core/Volume;${kit}/mdl/core/mdl"',
]
print("Generating service documentation")
print(" ".join(command))
result = subprocess.run(command, check=True)
if result.returncode != 0:
raise RuntimeError("An error occured while generating the Service documentation.")
output_file = output_dir / "docs" / "toolkitinterface" / "remix-toolkitinterface-restapi-docs.html"
print("Copying generated documentation from", source_file, "to", output_file)
output_file.parent.mkdir(parents=True)
shutil.copy2(source_file, output_file)
def copy_assets(app, exc):
# Copy videos
video_dir = pathlib.Path(app.builder.outdir).joinpath("docs", "videos")
video_src = pathlib.Path.cwd().joinpath("docs", "videos")
print(f"copying videos from {video_dir} to {video_src}")
shutil.copytree(video_src, video_dir)
# Copy Zips
zip_dir = pathlib.Path(app.builder.outdir).joinpath("docs", "zips")
zip_src = pathlib.Path.cwd().joinpath("docs", "zips")
print(f"copying zips from {zip_dir} to {zip_src}")
shutil.copytree(zip_src, zip_dir)
sphinx_event_handlers = [
("builder-inited", build_service_docs),
("build-finished", copy_assets),
]
autodoc_mock_imports = [
"fastapi", # Import Doc from typing_extensions fails
"fast_version", # No module named 'fast_version'
"pyperclip", # No module named 'pyperclip'
"pydantic", # Cannot import name 'deprecated' from 'typing_extensions'
"omni.kit.manipulator", # uses omni.kit.get_app() at module level
"omni.kit.viewport.menubar.camera", # uses carb.tokens.get_tokens_interface() at module level
"omni.kit.viewport.menubar.render", # uses carb.tokens.get_tokens_interface() at module level
]
"""
sphinx_exclude_patterns = [
####################################################################################################################
# Documentation generation failures
# Undocumented errors are: WARNING: document isn't included in any toctree
####################################################################################################################
"source/extensions/lightspeed.asset_capture_localizer.*",
"source/extensions/lightspeed.color_to_normal.*",
"source/extensions/lightspeed.color_to_roughness.*",
"source/extensions/lightspeed.common*",
"source/extensions/lightspeed.error_popup.*",
"source/extensions/lightspeed.event.*",
"source/extensions/lightspeed.events_manager*",
"source/extensions/lightspeed.export*",
"source/extensions/lightspeed.layer_helpers*",
"source/extensions/lightspeed.layer_manager*",
"source/extensions/lightspeed.light.gizmos*",
"source/extensions/lightspeed.lock_xform*",
"source/extensions/lightspeed.paths_to_relative.*",
"source/extensions/lightspeed.pip_archive*",
"source/extensions/lightspeed.property_template*",
"source/extensions/lightspeed.stage_column_nickname*",
"source/extensions/lightspeed.tool.material.*",
"source/extensions/lightspeed.tool.octahedral_converter*",
"source/extensions/lightspeed.trex.layout.*",
"source/extensions/lightspeed.trex.stage_manager.plugin.widget.usd*", # Excluded to avoid viewports import doc build failure
"source/extensions/lightspeed.trex.viewports.shared.*", # Kit is Executing extension-logic at the module-level which crashes docs generation
"source/extensions/lightspeed.upscale.*",
"source/extensions/lightspeed.widget.content_viewer*",
"source/extensions/lightspeed.widget.game_captures*",
"source/extensions/lightspeed.widget.new_game*",
"source/extensions/lightspeed.widget.new_workspace*",
"source/extensions/lightspeed.workspace*",
####################################################################################################################
# Ignore directories
####################################################################################################################
".cache",
".local",
"_build",
"include",
"portable",
"tools",
"SECURITY.md",
"VERSION.md",
"source/extensions/lightspeed_example*",
"source/extensions/lightspeed.common/**/tools/*", # 3rd part tools documentation
"source/extensions/lightspeed.widget.content_viewer/**/jxnblk-LICENSE.md", # 3rd part tools documentation
"**/omni-core-materials-LICENSE.md",
####################################################################################################################
# Development READMEs
####################################################################################################################
"docs_dev/*",
"VERSION.md",
".github/workflows/cla/*",
]
redirects = [
{ path = "docs/remix-releasenote.html", target = "docs/remix-releasenotes.html" }
]
repo_url = "https://gitlab-master.nvidia.com/lightspeedrtx/lightspeed-kit/-/blob/master"
enable_dark_theme_switcher = true
########################################################################################################################
# Code Format Tool
########################################################################################################################
# C++ is formatted with clang-format:
[repo_format.cpp]
files.include = ["**"]
files.exclude = [
".eggs/*",
".git/*",
".teamcity/*",
".venv/*",
".vscode/*",
"PACKAGE-DEPS.yaml",
"_build/*",
"_compiler/*",
"_repo/*",
"_testoutput/*",
"backup.teamcity/*",
"portable/*",
"source/extensions/example.*",
"source/extensions/lightspeed.common/lightspeed/common/tools/*",
"source/extensions/lightspeed.hydra.remix/plugin/usd/usd/resources/codegenTemplates/*",
"source/pythonapps/*",
"tools/*",
"venv/*",
]
# python is formatted with black+isort:
[repo_format.python]
files.include = ["**/*.py"]
files.exclude = [
".eggs/*",
".git/*",
".teamcity/*",
".venv/*",
".vscode/*",
"PACKAGE-DEPS.yaml",
"_build/*",
"_compiler/*",
"_repo/*",
"_testoutput/*",
"backup.teamcity/*",
"portable/*",
"source/extensions/example.*",
"source/extensions/lightspeed.common/lightspeed/common/tools/*",
"source/extensions/lightspeed.hydra.remix/plugin/usd/usd/resources/codegenTemplates/*",
"source/pythonapps/*",
"tools/*",
"venv/*",
]
python_version = "py310"
job_count = 1
########################################################################################################################
# Python lint tool
########################################################################################################################
[repo_lint.flake8]
files.include = ["**/*.py"]
files.exclude = [
".eggs/*",
".git/*",
".teamcity/*",
".venv/*",
".vscode/*",
"PACKAGE-DEPS.yaml",
"_build/*",
"_compiler/*",
"_repo/*",
"_testoutput/*",
"backup.teamcity/*",
"portable/*",
"source/extensions/example.*",
"source/extensions/lightspeed.common/lightspeed/common/tools/*",
"source/extensions/lightspeed.hydra.remix/plugin/usd/usd/resources/codegenTemplates/*",
"source/pythonapps/*",
"tools/*",
"venv/*",
]
########################################################################################################################
# Launcher publish and deploy
########################################################################################################################
[repo_deploy_launcher]
enabled = true
git_url = "${env:TREX_RELEASE_URL_AND_TOKEN}"
########################################################################################################################
# Check test file locations
########################################################################################################################
[repo_check_test_file_location]
start_path = "source\\"
required_paths = ["/unit/", "/e2e/"]
# Any path containing any of the 'ignore' strings will be skipped
ignore = ["extensions/lightspeed.common/lightspeed/common/tools"]