ARMmbed / ARMmbed/mbed-cli

deploy checkout unexpected revision when lib not include revision hash

Open
#928 3 comments 0 reactions 0 assignees View on GitHub
Jira status: OPEN mirrored type: bug
Dominant language
Python
Stars
339
Forks
187
PR merge metrics
No merged PRs in 30d

Description

This issue was introduced in https://github.com/ARMmbed/mbed-cli/pull/896.
The library in the cache can point to different branches every time.
On deploy/import/update, adding library _at latest revision in the current branch_, leads to unexpected revision checkout.
Example: As a result of Jenkins's job, library A in the cache points on branch `test`, Next job that will import library A without specific revision and expect `master` branch will end using `test` branch instead.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.