generic-poky/meta
Olaf Mandel 873a4eca11 (PRE)MIRRORS: fix pattern for npm:// without slash
For URIs with the npm:// transport but with no other slash in it, the
common MIRRORS and PREMIRRORS pattern of npm://.*/.* fails to match.
Make the last slash in the pattern optional in the mirros.bbclass and
own-mirrors.bbclass classes.

Many URIs with the npm:// transport have no slash after the host part:

  npm://registry.npmjs.org;name=foo;version=0.1.2

This means that MIRRORS and PREMIRRORS containing entries like the
first one will not match these URIs:

  npm://.*/.*   # fails to match
  npm://.*/?.*  # matches this and URIs with path components

For normal regular expressions, a pattern like 'npm://.*(/.*)?' would
probably be preferred, but that won't work here: the pattern gets split
into the substrings 'npm', '.*(' and '/.*)?', which are not valid
regular expressions individually.

(From OE-Core rev: 0d1e2b4507af28fc451b8fa94130a39ac342637d)

(From OE-Core rev: 1f5675a43e1781635fee15cc3674143c195da169)

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-21 16:55:57 +01:00
..
classes (PRE)MIRRORS: fix pattern for npm:// without slash 2017-09-21 16:55:57 +01:00
conf bitbake.conf: add bzr to HOSTTOOLS_NONFATAL 2017-09-13 22:13:00 +01:00
files ext-sdk-prepare.py: use quiet mode when preparing sysroot 2017-04-19 10:38:37 +01:00
lib terminal.py: fix devshell with mate-terminal 2017-09-11 22:15:59 +01:00
recipes-bsp grub: Fix build with gcc7 2017-09-11 22:15:59 +01:00
recipes-connectivity bind: Use correct python interpreter path 2017-08-31 17:57:12 +01:00
recipes-core glibc-locale: add runtime dependency on glibc 2017-09-13 22:13:00 +01:00
recipes-devtools e2fsprogs: fix ptest script 2017-09-11 22:15:58 +01:00
recipes-extended bash: memleak bug fix for builtin command read 2017-09-11 22:15:59 +01:00
recipes-gnome gtk+3: Update the patches to work with old versions of patch 2017-08-31 17:57:11 +01:00
recipes-graphics waffle: fix REQUIRED_DISTRO_FEATURES and PACKAGECONFIG virtual/libgl dependencies 2017-09-21 16:55:57 +01:00
recipes-kernel linux-yocto/4.4: update to v4.4.85 2017-09-11 22:15:59 +01:00
recipes-lsb4 libpng12: Use rm instead of unlink 2017-03-10 14:50:11 +00:00
recipes-multimedia alsa-utils: Do not hardcode path to /lib/udev 2017-09-21 16:55:57 +01:00
recipes-rt meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
recipes-sato webkitgtk: Fix build on aarch64 2017-03-17 16:53:05 +00:00
recipes-support taglib: Security fix CVE-2017-12678 2017-09-11 22:15:58 +01:00
site siteinfo.bbclass: Add mipsisa{32, 64}r6{el, } support 2016-10-07 16:43:57 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00