e2ab5cc2c8
Patch the python2-kubernetes-8.0.0-8.el7.noarch.rpm with recent bug fix commits required for proper kubernetes watch functionality. Patches watch.py up to commit 10ae476 in the 'base' repo (kubernetes-client/python-base). Commits are taken from the cloned github repo, saved in patch format, and applied as a patch to the source RPM. Reference: https://github.com/kubernetes-client/python-base/commits/master/watch/watch.py This patch includes commits beginning with d56fdbc, up to and including 10ae476 Testing: - Built and testing on local distributed cloud system - Similar testing to this patch but ased on locally modified package has been done on 1000 subcloud system - Examine/compare contents of installed package vs. expected - Generating events which trigger the watch conditions - Monitor watches for proper behaviour on expiry Story: 2008960 Task: 43053 Signed-off-by: Kyle MacLeod <kyle.macleod@windriver.com> Change-Id: I7ad78957b6ef61e7204c45f482f201d5c281385b
32 lines
1023 B
Diff
32 lines
1023 B
Diff
From c941d74b3745550fc886ebf20e40725aa4722f5c Mon Sep 17 00:00:00 2001
|
|
From: Oz N Tiram <oz.tiram@gmail.com>
|
|
Date: Tue, 20 Aug 2019 22:25:57 +0200
|
|
Subject: [PATCH 05/13] Remove all shebangs from Python modules and checker
|
|
|
|
As discussed, Python modules which aren't intended to be invoked
|
|
as scripts should not include a shebang line.
|
|
|
|
Update CONTRIBUTING.md and the checker script.
|
|
This script now includes a list SKIP_FILES for files that
|
|
should not be checked for boilerplate template.
|
|
The tests will now fail if a Python module has a shebang line.
|
|
Scripts which should have a shebang line and exists in the directory
|
|
`hack` can be ignored by adding them to the SKIP_FILES list.
|
|
---
|
|
watch/watch.py | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
diff --git a/watch/watch.py b/watch/watch.py
|
|
index 5966eac..77b9794 100644
|
|
--- a/watch/watch.py
|
|
+++ b/watch/watch.py
|
|
@@ -1,5 +1,3 @@
|
|
-#!/usr/bin/env python
|
|
-
|
|
# Copyright 2016 The Kubernetes Authors.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
--
|
|
2.25.1
|
|
|