ccollins476ad opened a new pull request #100: newt - Don't corrupt project on failed install. URL: https://github.com/apache/mynewt-newt/pull/100 -Prior to this commit- If a repo install fails (e.g., due to an incorrect password), newt creates an empty directory: `repos/.configs/<repo-name>`. The newt project is now unusable until the empty directory is deleted. All newt actions crash when newt assumes the empty directory contains a `repository.yml` file. -After commit- This commit consists of two changes: 1. If newt fails to retrieve a repo's `repository.yml` file, it removes the empty directory it just created. 2. If a repo's `.configs` directory is empty, newt skips the compatibility check instead of crashing. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
With regards, Apache Git Services