The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

scripts: Add workflow to update jnipp with copybara

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2447>

authored by

Rylie Pavlik and committed by
Marge Bot
dd70e001 fd7295e7

+27 -1
+27 -1
scripts/copy.bara.sky
··· 3 3 # SPDX-License-Identifier: BSL-1.0 4 4 """Configuration for "copybara" <https://github.com/google/copybara> to update vendored source""" 5 5 6 - gitlab_url = "git@gitlab.freedesktop.org:rpavlik/monado.git" 6 + gitlab_url = "git@ssh.gitlab.freedesktop.org:rpavlik/monado.git" 7 7 author = "Rylie Pavlik <rylie.pavlik@collabora.com>" 8 8 9 9 # update-stb: Update STB libraries ··· 151 151 core.move("renderdoc/api/app/", "src/external/renderdoc_api/"), 152 152 ], 153 153 ) 154 + 155 + # update-jnipp: Update jnipp library (used on Android) 156 + core.workflow( 157 + name="update-jnipp", 158 + custom_rev_id="JNIPP_REV_ID", 159 + origin=git.github_origin( 160 + url="https://github.com/mitchdowd/jnipp.git", 161 + describe_version=True, 162 + ref="master", 163 + ), 164 + destination=git.destination( 165 + url=gitlab_url, 166 + fetch="main", 167 + push="update-jnipp", 168 + ), 169 + destination_files=glob(["src/external/jnipp/**"]), 170 + origin_files=glob(["**"], exclude=[".*", ".*/**", "*.sln"]), 171 + authoring=authoring.pass_thru(author), 172 + transformations=[ 173 + metadata.expose_label("GIT_DESCRIBE_CHANGE_VERSION"), 174 + metadata.replace_message( 175 + "Update jnipp from upstream ${GIT_DESCRIBE_CHANGE_VERSION}" 176 + ), 177 + core.move("", "src/external/jnipp/"), 178 + ], 179 + )