[libvirt-ci PATCH 3/4] check-dco: Change remote name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make it match the name of the script.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 containers/check-dco/check-dco.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/containers/check-dco/check-dco.py b/containers/check-dco/check-dco.py
index 643e7f3..79cfadc 100755
--- a/containers/check-dco/check-dco.py
+++ b/containers/check-dco/check-dco.py
@@ -27,17 +27,17 @@ cwd = os.getcwd()
 reponame = os.path.basename(cwd)
 repourl = "https://gitlab.com/libvirt/%s.git"; % reponame
 
-subprocess.check_call(["git", "remote", "add", "dcocheck", repourl])
-subprocess.check_call(["git", "fetch", "dcocheck", "master"],
+subprocess.check_call(["git", "remote", "add", "check-dco", repourl])
+subprocess.check_call(["git", "fetch", "check-dco", "master"],
                       stdout=subprocess.DEVNULL,
                       stderr=subprocess.DEVNULL)
 
-ancestor = subprocess.check_output(["git", "merge-base", "dcocheck/master", "HEAD"],
+ancestor = subprocess.check_output(["git", "merge-base", "check-dco/master", "HEAD"],
                                    universal_newlines=True)
 
 ancestor = ancestor.strip()
 
-subprocess.check_call(["git", "remote", "rm", "dcocheck"])
+subprocess.check_call(["git", "remote", "rm", "check-dco"])
 
 errors = False
 
-- 
2.25.4





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux