| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| android_ndk_darwin/ | 12-May-2024 | - | 144 | 67 | ||
| android_ndk_linux/ | 12-May-2024 | - | 144 | 67 | ||
| android_ndk_windows/ | 12-May-2024 | - | 149 | 69 | ||
| android_sdk_linux/ | 12-May-2024 | - | 149 | 70 | ||
| armhf_sysroot/ | 12-May-2024 | - | 196 | 102 | ||
| bloaty/ | 12-May-2024 | - | 147 | 67 | ||
| cast_toolchain/ | 12-May-2024 | - | 62 | 20 | ||
| chromebook_arm_gles/ | 12-May-2024 | - | 189 | 101 | ||
| chromebook_x86_64_gles/ | 12-May-2024 | - | 189 | 101 | ||
| clang_linux/ | 12-May-2024 | - | 187 | 102 | ||
| clang_win/ | 12-May-2024 | - | 150 | 69 | ||
| cmake_linux/ | 12-May-2024 | - | 144 | 66 | ||
| cmake_mac/ | 12-May-2024 | - | 144 | 66 | ||
| gcloud_linux/ | 12-May-2024 | - | 175 | 90 | ||
| go/ | 12-May-2024 | - | 141 | 61 | ||
| go_win/ | 12-May-2024 | - | 145 | 65 | ||
| linux_vulkan_sdk/ | 12-May-2024 | - | 159 | 78 | ||
| lottie-samples/ | 12-May-2024 | - | 133 | 56 | ||
| mesa_intel_driver_linux/ | 12-May-2024 | - | 282 | 150 | ||
| mips64el_toolchain_linux/ | 12-May-2024 | - | 196 | 102 | ||
| moltenvk/ | 12-May-2024 | - | 73 | 27 | ||
| mskp/ | 12-May-2024 | - | 61 | 19 | ||
| node/ | 12-May-2024 | - | 144 | 67 | ||
| opencl_headers/ | 12-May-2024 | - | 153 | 69 | ||
| opencl_intel_neo_linux/ | 12-May-2024 | - | 177 | 92 | ||
| opencl_ocl_icd_linux/ | 12-May-2024 | - | 152 | 71 | ||
| procdump_win/ | 12-May-2024 | - | 143 | 62 | ||
| protoc/ | 12-May-2024 | - | 140 | 61 | ||
| scripts/ | 12-May-2024 | - | 133 | 56 | ||
| skimage/ | 12-May-2024 | - | 143 | 62 | ||
| skp/ | 12-May-2024 | - | 206 | 115 | ||
| skparagraph/ | 12-May-2024 | - | 61 | 19 | ||
| svg/ | 12-May-2024 | - | 176 | 88 | ||
| valgrind/ | 12-May-2024 | - | 209 | 118 | ||
| win_ninja/ | 12-May-2024 | - | 137 | 61 | ||
| win_toolchain/ | 12-May-2024 | - | 176 | 96 | ||
| README.md | D | 12-May-2024 | 1.4 KiB | 48 | 36 | |
| __init__.py | D | 12-May-2024 | 157 | 7 | 0 | |
| asset_utils.py | D | 12-May-2024 | 11.6 KiB | 355 | 286 | |
| asset_utils_test.py | D | 12-May-2024 | 7 KiB | 243 | 141 | |
| assets.py | D | 12-May-2024 | 2.7 KiB | 91 | 61 |
README.md
1Assets 2====== 3 4This directory contains tooling for managing assets used by the bots. The 5primary entry point is assets.py, which allows a user to add, remove, upload, 6and download assets. 7 8Assets are stored in Google Storage, named for their version number. 9 10 11Individual Assets 12----------------- 13 14Each asset has its own subdirectory with the following contents: 15* VERSION: The current version number of the asset. 16* download.py: Convenience script for downloading the current version of the asset. 17* upload.py: Convenience script for uploading a new version of the asset. 18* [optional] create.py: Script which creates the asset, implemented by the user. 19* [optional] create\_and\_upload.py: Convenience script which combines create.py with upload.py. 20 21 22Examples 23------- 24 25Add a new asset and upload an initial version. 26 27``` 28$ infra/bots/assets/assets.py add myasset 29Creating asset in infra/bots/assets/myasset 30Creating infra/bots/assets/myasset/download.py 31Creating infra/bots/assets/myasset/upload.py 32Creating infra/bots/assets/myasset/common.py 33Add script to automate creation of this asset? (y/n) n 34$ infra/bots/assets/myasset/upload.py -t ${MY_ASSET_LOCATION} 35$ git commit 36``` 37 38Add an asset whose creation can be automated. 39 40``` 41$ infra/bots/assets/assets.py add myasset 42Add script to automate creation of this asset? (y/n) y 43$ vi infra/bots/assets/myasset/create.py 44(implement the create_asset function) 45$ infra/bots/assets/myasset/create_and_upload.py 46$ git commit 47``` 48