[bitbake-devel] [RFC][PATCH v2 0/3] NPM refactoring
Jean-Marie LEMETAYER
jean-marie.lemetayer at savoirfairelinux.com
Fri Oct 25 08:39:22 UTC 2019
These patches are part of a set which are mainly in OE-core.
More infos can be found on the openembedded-core list.
--- V2
- Add the 'check_network_access' function before each network access to check
for 'BB_NO_NETWORK' and 'BB_ALLOWED_NETWORKS' variables.
- Add a 'bb.tests.fetch.NPMTest' test suite for 'bitbake-selftest' to test the
npm fetcher. Here is the list of the new test cases:
- bb.tests.fetch.NPMTest.test_npm
- bb.tests.fetch.NPMTest.test_npm_name_invalid
- bb.tests.fetch.NPMTest.test_npm_name_none
- bb.tests.fetch.NPMTest.test_npm_registry_alternate
- bb.tests.fetch.NPMTest.test_npm_registry_invalid
- bb.tests.fetch.NPMTest.test_npm_registry_none
- bb.tests.fetch.NPMTest.test_npm_version_invalid
- bb.tests.fetch.NPMTest.test_npm_version_latest
- bb.tests.fetch.NPMTest.test_npm_version_none
Jean-Marie LEMETAYER (3):
bitbake: utils.py: add sha384_file and sha512_file
fetch2/npm.py: refactor the npm fetcher
tests/fetch.py: add npm tests
lib/bb/fetch2/npm.py | 475 +++++++++++++++++++-----------------------
lib/bb/tests/fetch.py | 82 ++++++++
lib/bb/utils.py | 24 +++
3 files changed, 317 insertions(+), 264 deletions(-)
--
2.20.1
More information about the bitbake-devel
mailing list