-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrepo.toml
135 lines (104 loc) · 4.3 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
########################################################################################################################
# Repo tool base settings
########################################################################################################################
[repo]
# Use the 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"]
# Repository Name
name = "omniverse-urdf-importer"
[repo_build.msbuild]
vs_version = "vs2019"
[repo_format]
command = "format"
entry_point = "omni.repo.format:setup_repo_tool"
license_preamble = '''
SPDX-FileCopyrightText: Copyright (c) {years}, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
'''
# license_text will always be after the spdx_license_text or copyright line, separated by a single newline
license_text = '''
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
'''
########################################################################################################################
# Custom scripts for repo_ci
########################################################################################################################
########################################################################################################################
[repo_build]
# List of packman projects to pull (in order)
fetch.packman_host_files_to_pull = [
"${root}/deps/host-deps.packman.xml",
]
fetch.packman_target_files_to_pull = [
"${root}/deps/kit-sdk.packman.xml",
"${root}/deps/rtx-plugins.packman.xml",
"${root}/deps/omni-physics.packman.xml",
"${root}/deps/kit-sdk-deps.packman.xml",
"${root}/deps/omni-usd-resolver.packman.xml",
"${root}/deps/ext-deps.packman.xml",
]
post_build.commands = [
# TODO, fix this?
# ["${root}/repo${shell_ext}", "stubgen", "-c", "${config}"]
]
########################################################################################################################
# Packaging
########################################################################################################################
[repo_changelog]
[repo_changelog.packages.urdf_importer]
enabled = false
[repo_publish]
enabled = false
########################################################################################################################
# Testing
########################################################################################################################
[repo_docs]
name = "Omniverse URDF Importer"
project = "omniverse-urdf-importer"
api_output_directory = "api"
use_fast_doxygen_conversion=false
sphinx_version = "4.5.0.2-py3.10-${platform}"
sphinx_exclude_patterns = [
"_build",
"tools",
"VERSION.md",
"source/extensions/isaacsim.asset.importer.urdf/PACKAGE-LICENSES",
"PACKAGE-LICENSES",
"source/extensions/isaacsim.asset.importer.urdf/docs",
"source/deprecated/omni.importer.urdf/docs",
"SECURITY.md",
]
sphinx_conf_py_extra = """
autodoc_mock_imports = ["omni.client", "omni.kit"]
autodoc_member_order = 'bysource'
"""
[repo_build.licensing]
enabled = false
[repo_build.docker]
enabled = false
[repo_publish_exts]
enabled = true
kit_path = "${root}/_build/$platform/$config/kit/kit${exe_ext}"
publish_root = "${root}/_build/$platform/$config"
# signing is required for extensions to be published for windows
signing.enabled = true
# verify before publishing
publish_verification = true
# upload archives using packman (switch to using packman by default to reduce load on nucleus registry)
use_packman_to_upload_archive = true
archive_pattern = "${root}/_build/packages/omniverse-urdf-importer@*${platform_target}.${config}.*"
ext_folders = [
"${publish_root}/exts",
"${publish_root}/extsDeprecated"
]
exts.include = [
"omni.importer.urdf",
"isaacsim.asset.importer.urdf",
]