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/04/26 19:39:11 UTC

[GitHub] [mynewt-newt] ccollins476ad opened a new pull request #292: Detect invalid repos in `project.yml`

ccollins476ad opened a new pull request #292: Detect invalid repos in `project.yml`
URL: https://github.com/apache/mynewt-newt/pull/292
 
 
   This fixes #255.
   
   Newt was ignoring errors in repo definitions during `project.yml` parsing.  The reason these errors were being ignored was to allow newt to proceed in case of a specific error case: a missing `repository.yml` file.  If a `repository.yml` file is missing, newt recovers by cloning the corresponding repo and copying the file.  Ignoring the errors entirely is too coarse of a solution; legitimate errors are discarded, possibly causing a crash later.
   
   The solution is to distinguish missing `repository.yml` files from the other error cases.

----------------------------------------------------------------
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