This is an automated email from the ASF dual-hosted git repository.
andk pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newt.git
from 966db465 newt: Add ignore flag for upgrade command
new 5a13f17a Add allowed repositories list
new 90d22b70 Add tests for allowed and ignored repos lists
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/newt_upgrade/allowed-ignored/expected.txt | 7 +++
.../allowed-ignored}/project.yml | 40 ++++++++++------
.../newt_upgrade/fail/core-ignored/expected.txt | 1 +
.../fail/core-ignored/project.yml} | 18 +++----
.../fail/core-not-allowed/expected.txt | 1 +
.../fail/core-not-allowed}/project.yml | 20 ++++----
.github/workflows/test_upgrade.yml | 28 +++++++++++
newt/deprepo/deprepo.go | 4 ++
newt/install/install.go | 4 ++
newt/project/project.go | 55 +++++++++++++++++-----
newt/repo/repo.go | 13 ++---
11 files changed, 139 insertions(+), 52 deletions(-)
create mode 100644 .github/newt_upgrade/allowed-ignored/expected.txt
copy .github/{newt_dump/proj/repos/mcuboot/testplan/mynewt =>
newt_upgrade/allowed-ignored}/project.yml (63%)
create mode 100644 .github/newt_upgrade/fail/core-ignored/expected.txt
copy .github/{newt_dump/proj/repos/apache-mynewt-core/hw/mips-hal/pkg.yml =>
newt_upgrade/fail/core-ignored/project.yml} (79%)
create mode 100644 .github/newt_upgrade/fail/core-not-allowed/expected.txt
copy .github/{newt_dump/proj/repos/mcuboot =>
newt_upgrade/fail/core-not-allowed}/project.yml (78%)