On 10/13/2017 10:32 AM, Daniel P. Berrange wrote:
This adds a rule to require https links for the libvirt, qemu
and kvm websites.
Signed-off-by: Daniel P. Berrange <berrange(a)redhat.com>
---
+++ b/cfg.mk
@@ -1020,6 +1020,26 @@ sc_prohibit_obj_free_apis_in_virsh:
halt='avoid using virDomain(Snapshot)Free in virsh, use virsh-prefixed wrappers
instead' \
$(_sc_search_regexp)
+https_sites =
www.libvirt.org
+https_sites +=
libvirt.org
+https_sites +=
security.libvirt.org
+https_sites +=
qemu.org
+https_sites +=
www.qemu.org
+https_sites +=
wiki.qemu.org
+https_sites +=
linux-kvm.org
+https_sites +=
www.linux-kvm.org
+
+https_re= ($(subst $(space),|,$(https_sites)))
+
+foo:
+ echo "$(https_re)"
Leftover debugging ;)
Otherwise,
Reviewed-by: Eric Blake <eblake(a)redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization:
qemu.org |
libvirt.org