Fetch pinned app commits from upstream remote #1
Loading…
Reference in a new issue
No description provided.
Delete branch "inventory-image-tools-versions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What changed
In
install_app, the pinned-commit fetch now targets theupstreamremote instead oforigin:git fetch --depth 1 origin "${revision}"->git fetch --depth 1 upstream "${revision}"The function's doc comment also notes that
bench get-appnames the clone remoteupstream.Why
bench get-appclones each app and registers its source remote asupstream, notorigin. Fetching fromoriginin the cloned app directory would fail or pull from the wrong remote, so the pinned revision could not be resolved. Fetching fromupstreammatches the remote bench actually creates, so the checkout-by-commit step works as intended.Notes
rev-parseverification are unchanged.upstreamremote.