2022-12-04 06:40:03 +00:00
|
|
|
From a45303be72a307e04379e989f8d9418c0bc2be0b Mon Sep 17 00:00:00 2001
|
2022-10-22 19:17:54 +00:00
|
|
|
From: Luke Granger-Brown <git@lukegb.com>
|
|
|
|
Date: Sat, 22 Oct 2022 19:33:07 +0100
|
|
|
|
Subject: [PATCH 1/4] simply do not run git
|
|
|
|
|
|
|
|
---
|
|
|
|
scripts/version.py | 8 +-------
|
|
|
|
1 file changed, 1 insertion(+), 7 deletions(-)
|
|
|
|
|
2022-08-28 20:47:44 +00:00
|
|
|
diff --git a/scripts/version.py b/scripts/version.py
|
2022-12-04 06:40:03 +00:00
|
|
|
index f4dd127f5..b0a27f705 100644
|
2022-08-28 20:47:44 +00:00
|
|
|
--- a/scripts/version.py
|
|
|
|
+++ b/scripts/version.py
|
|
|
|
@@ -61,13 +61,7 @@ class GitVersion:
|
|
|
|
}
|
|
|
|
|
|
|
|
def _exec_git(self, args):
|
|
|
|
- cmd = ["git"]
|
|
|
|
- cmd.extend(args.split(" "))
|
|
|
|
- return (
|
|
|
|
- subprocess.check_output(cmd, cwd=self.source_dir, stderr=subprocess.STDOUT)
|
|
|
|
- .strip()
|
|
|
|
- .decode()
|
|
|
|
- )
|
|
|
|
+ return ''
|
|
|
|
|
|
|
|
|
|
|
|
class Main(App):
|
2022-10-22 19:17:54 +00:00
|
|
|
--
|
2022-12-04 06:40:03 +00:00
|
|
|
2.38.1
|
2022-10-22 19:17:54 +00:00
|
|
|
|