devpod
devpod copied to clipboard
Vendoring the rust dependencies for offline-building a package for openSUSE
Hi,
I wanted to try and package devpod for openSUSE. However, vendoring of the rust dependencies (which is required, as the builds happen offline) fails:
2024-05-25T14:59:26.959466Z ERROR obs_service_cargo::utils: stdoutput=""
2024-05-25T14:59:26.959534Z ERROR obs_service_cargo::utils: stderrput=" Updating crates.io index\n Updating git repository `https://github.com/tauri-apps/plugins-workspace`\nerror: failed to get `tauri-plugin-log` as a dependency of package `devpod-desktop v0.1.0 (/tmp/.obs-service-cargo-vendornccuCi74/devpod/desktop/src-tauri)`\n\nCaused by:\n failed to load source for dependency `tauri-plugin-log`\n\nCaused by:\n Unable to update https://github.com/tauri-apps/plugins-workspace?branch=dev\n\nCaused by:\n failed to find branch `dev`\n\nCaused by:\n cannot locate remote-tracking branch 'origin/dev'; class=Reference (4); code=NotFound (-3)\n"
2024-05-25T14:59:26.959701Z ERROR obs_service_cargo::vendor: err=Failed to run command `cargo update`. Has exit code `101`. Standard Output Error:
2024-05-25T14:59:26.959738Z ERROR obs_service_cargo::cli: err=kind: cargo vendor process failed
reason: Unable to execute cargo
It seems to look for a branch called dev that does not / no longer exist:
cannot locate remote-tracking branch 'origin/dev'
Could you have a look, please?
Kind Regards, Johannes
No ideas, anyone?
Hi @johanneskastl, sorry for the late response. This should've been fixed with this PR