nkaje opened a new pull request #340: newt upgrade: Fix Repo Commit Checkout
URL: https://github.com/apache/mynewt-newt/pull/340
 
 
   Checking out various repositories to a particular set of commit versions
   is broken. Fix this by looking at the dependency graph's node's
   required versions.
   
   Example Usage in repository.yml
   
   ```
   repo.versions:
       "0.0.0" : "master"
       "1.0.0" : "release_1_0_0"
   
   repo.deps:
       apache-mynewt-core:
           type: git
           url: [email protected]:apache/mynewt-core.git
           vers:
               master: 0-dev
               release_1_0_0: 'f3d0ff2ab8db0da99f6b35938caf25c36950e181-commit'
   
       apache-mynewt-nimble:
           type: git
           url: [email protected]:apache/mynewt-nimble.git
           vers:
               master: 0-dev
               release_1_0_0: '7624744d90c159b8c9ab0bf3d890b0c3a3c43928-commit'
   ```
   
   Note that the version specifier (such as `release_1_0_0`) can be tag.
   The project that houses this repository.yml gets checked out to
   `release_1_0_0` and the dependencies get checked out to the versions
   specified in the above spec.
   
   Signed-off-by: Naveen Kaje <[email protected]>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to