All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH v2 0/3] NPM refactoring
@ 2019-10-25  8:39 Jean-Marie LEMETAYER
  2019-10-25  8:39 ` [RFC][PATCH v2 1/3] bitbake: utils.py: add sha384_file and sha512_file Jean-Marie LEMETAYER
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jean-Marie LEMETAYER @ 2019-10-25  8:39 UTC (permalink / raw)
  To: bitbake-devel; +Cc: rennes, paul.eggleton

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-25 18:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-25  8:39 [RFC][PATCH v2 0/3] NPM refactoring Jean-Marie LEMETAYER
2019-10-25  8:39 ` [RFC][PATCH v2 1/3] bitbake: utils.py: add sha384_file and sha512_file Jean-Marie LEMETAYER
2019-10-25  8:39 ` [RFC][PATCH v2 2/3] fetch2/npm.py: refactor the npm fetcher Jean-Marie LEMETAYER
2019-10-25  8:39 ` [RFC][PATCH v2 3/3] tests/fetch.py: add npm tests Jean-Marie LEMETAYER
2019-10-25 18:27   ` Mark Hatle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.