Repository navigation
infra: Fetch build dependencies from obs-rust repos, not obsproject - #644
Merged
Merged
Conversation
Repoint obs-deps prebuilt/qt6, CEF 7871, the Flatpak buildstream and CEF sources, and the libdshowcapture and obs-browser submodules to obs-rust. The assets are byte-for-byte mirrors, so all pinned hashes are unchanged. Fixes #614 Local-Gate: v1 tree=182adc2db315a6c715c87cd27659871788ad1361 secs=399 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run Ci-Attestation: {"at":1791928036,"gate":"rust/all/fmt","host":"linux-x86_64","key":"18a3573b234380d3fb1d8a7fa896b48b7b442833b65eb63677b4d1f933464643","lane":"lint","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":46,"stamp":"9c4d95a95cf9f3c81bc36c32964b7379","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"} Ci-Attestation: {"at":1791928036,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"18a3573b234380d3fb1d8a7fa896b48b7b442833b65eb63677b4d1f933464643","lane":"lint","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":46,"stamp":"a15ea68ac170a752bb34c0f611fcb253","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"} Ci-Attestation: {"at":1791928036,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"5a17225fa308a5fcc25661dd66354807ca60083fe471fd92d0fe59b9ac55d57d","lane":"rust-test","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":122,"stamp":"9f45f4a1173895d171341a6fe5671f27","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"} Ci-Attestation: {"at":1791928036,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"58d253f7f9edc14dd235beb26d23c9f477679ae8016e8d0df9a70a95ec5b6cd3","lane":"cross","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":108,"stamp":"4ccb24e1cdeafc56a9627bdf6d80679e","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"} Ci-Attestation: {"at":1791928036,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"58d253f7f9edc14dd235beb26d23c9f477679ae8016e8d0df9a70a95ec5b6cd3","lane":"cross","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":108,"stamp":"4a30eff0f9d46bf77dad29b03fa0db94","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"} Ci-Attestation: {"at":1791928036,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"58d253f7f9edc14dd235beb26d23c9f477679ae8016e8d0df9a70a95ec5b6cd3","lane":"cross","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":108,"stamp":"6791d42ac68ffe94cbabecdc043f69a5","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"} Ci-Attestation: {"at":1791928036,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"58d253f7f9edc14dd235beb26d23c9f477679ae8016e8d0df9a70a95ec5b6cd3","lane":"cross","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":108,"stamp":"906c82637cfcb9ae5ac34d10912094a2","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"} Ci-Attestation: {"at":1791928036,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"58d253f7f9edc14dd235beb26d23c9f477679ae8016e8d0df9a70a95ec5b6cd3","lane":"cross","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":108,"stamp":"b2995d8abfdfabc85e08655b5cef265b","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"} Ci-Attestation: {"at":1791928036,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"58d253f7f9edc14dd235beb26d23c9f477679ae8016e8d0df9a70a95ec5b6cd3","lane":"cross","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":108,"stamp":"526c432a479d8144f75dcc53d9ce13dd","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"} Ci-Attestation: {"at":1791928036,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"30d92c050300601edff743e48c471f6ee280385be8ef3e3c0d61a1092e370c30","lane":"tier2-linux","parents":["1be6c8f750a1ca2d9902f1dc7ad748701972d8d7"],"secs":121,"stamp":"13e004fb23454e84593288a3af154156","tree":"182adc2db315a6c715c87cd27659871788ad1361","v":1,"via":"run"}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #614
Every build dependency this repo downloads, or pulls as a submodule, now comes from an obs-rust repo instead of obsproject. The release assets are byte-for-byte mirrors, so every pinned sha256 is unchanged. This is an infra/config change with no code under test, so there is no RED/GREEN pair. The verification below is the test.
URL changes
CMakePresets.jsonprebuilt + qt6baseUrlhttps://github.com/obsproject/obs-deps/releases/downloadhttps://github.com/obs-rust/obs-deps/releases/downloadCMakePresets.jsoncefbaseUrl(also read bysetup_ubuntu)https://cdn-fastly.obsproject.com/downloadshttps://github.com/obs-rust/cef/releases/download/7871build-aux/com.obsproject.Studio.jsonbase/devel/devtools/qthttps://github.com/obsproject/obs-deps-buildstream/releases/download/2026-09-24/flatpak-*-x86_64-2026-09-24.tar.xzhttps://github.com/obs-rust/obs-deps-buildstream/releases/download/2026-09-24/flatpak-*-x86_64-2026-09-24.tar.xzbuild-aux/com.obsproject.Studio.jsoncefhttps://cdn-fastly.obsproject.com/downloads/cef_binary_7871_linux_x86_64.tar.xzhttps://github.com/obs-rust/cef/releases/download/7871/cef_binary_7871_linux_x86_64.tar.xz.gitmoduleslibdshowcapturehttps://github.com/obsproject/libdshowcapture.githttps://github.com/obs-rust/libdshowcapture.git.gitmodulesobs-browserhttps://github.com/obsproject/obs-browser.githttps://github.com/obs-rust/obs-browser.gitReleases (each asset was downloaded from obsproject and checked against the pinned hash before upload):
-PDBs.zip)Verification
Each new URL, fetched with
curl -Land piped to sha256sum, against the pinned hash: 19/19 PASSLinux CMake download path. A Linux configure downloads nothing itself: there is no
cmake/linux/buildspec.cmake. On Linux the only fetch driven by the presets is CEF, whichsetup_ubuntudownloads using the cefbaseUrl. To exercise the repo's real_check_dependencies()(file(DOWNLOAD ... EXPECTED_HASH)) with the edited presets, acmake -Pdriver called it forubuntu-x86_64andubuntu-aarch64into empty deps dirs:Submodules
./lintand./unittestpass.ci-fullis set so the Windows, macOS and Flatpak builds fetch from the new URLs.Out of scope (left unchanged)
These are runtime services or third-party sources, not obsproject build fetches:
cdn-fastly.obsproject.com/update_studio(frontend/updater/updater.cpp)obsproject.com/obs2_update/...service URLs (rtmp-services, win-capture)SPARKLE_APPCAST_URL), the OAuth base URL, website, KB and metainfo links.github/workflows/publish.yamlurlPrefix(upstream release publishing, not a build fetch)