apache / mynewt-newt

An OS to build, deploy and securely manage billions of devices
https://mynewt.apache.org/
Apache License 2.0
117 stars 96 forks source link

newt: Add external repos patches support #550

Closed m-gorecki closed 8 months ago

m-gorecki commented 8 months ago

Now if package that adds external repository contains directory patches/external_repo_name, newt will try to apply patches inside this directory to the external repo.

kasjer commented 8 months ago

When patch fails affected git repository stays in state that git am --abort or git am --skip are required. Maybe newt could call git am --abort as not to leave git in the middle of git am session

m-gorecki commented 8 months ago

@kasjer Fix applied

kasjer commented 8 months ago

Verified to work