You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/11/21 01:12:19 UTC

[GitHub] [mynewt-newt] ccollins476ad opened a new pull request #354: Allow project.yml to override commit versions

ccollins476ad opened a new pull request #354: Allow project.yml to override commit versions
URL: https://github.com/apache/mynewt-newt/pull/354
 
 
   (note: a "commit version" is a repo version that specifies a git commit, e.g., `f20a9d358f996979b047f1a947e3fd14e583d1fd-commit`).
   
   During upgrade, newt collects repo dependencies from project.yml and from each repository's dependency list.  If there are two dependencies on different commit versions of the same repo, newt reports a conflict. E.g., if
   ```
       project.yml depends on 0-commit of repo bar, and
          repo foo depends on 1-commit of repo bar
   ```
   newt complains and aborts the upgrade.
   
   This PR relaxes this behavior a bit by allowing dependencies in project.yml to override inter-repo dependencies.  In the above example, newt would checkout 0-commit of bar.
   
   Newt still reports an error if the conflict comes from two repo dependencies (as opposed to a project.yml dependency).

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services