jolt 0.9.414__tar.gz → 0.9.416__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. {jolt-0.9.414 → jolt-0.9.416}/PKG-INFO +1 -1
  2. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/git.py +14 -4
  3. jolt-0.9.416/jolt/version.py +1 -0
  4. {jolt-0.9.414 → jolt-0.9.416}/jolt.egg-info/PKG-INFO +1 -1
  5. jolt-0.9.414/jolt/version.py +0 -1
  6. {jolt-0.9.414 → jolt-0.9.416}/README.rst +0 -0
  7. {jolt-0.9.414 → jolt-0.9.416}/jolt/__init__.py +0 -0
  8. {jolt-0.9.414 → jolt-0.9.416}/jolt/__main__.py +0 -0
  9. {jolt-0.9.414 → jolt-0.9.416}/jolt/bin/fstree-darwin-x86_64 +0 -0
  10. {jolt-0.9.414 → jolt-0.9.416}/jolt/bin/fstree-linux-x86_64 +0 -0
  11. {jolt-0.9.414 → jolt-0.9.416}/jolt/cache.py +0 -0
  12. {jolt-0.9.414 → jolt-0.9.416}/jolt/chroot.py +0 -0
  13. {jolt-0.9.414 → jolt-0.9.416}/jolt/cli.py +0 -0
  14. {jolt-0.9.414 → jolt-0.9.416}/jolt/colors.py +0 -0
  15. {jolt-0.9.414 → jolt-0.9.416}/jolt/common_pb2.py +0 -0
  16. {jolt-0.9.414 → jolt-0.9.416}/jolt/common_pb2_grpc.py +0 -0
  17. {jolt-0.9.414 → jolt-0.9.416}/jolt/config.py +0 -0
  18. {jolt-0.9.414 → jolt-0.9.416}/jolt/error.py +0 -0
  19. {jolt-0.9.414 → jolt-0.9.416}/jolt/expires.py +0 -0
  20. {jolt-0.9.414 → jolt-0.9.416}/jolt/filesystem.py +0 -0
  21. {jolt-0.9.414 → jolt-0.9.416}/jolt/graph.py +0 -0
  22. {jolt-0.9.414 → jolt-0.9.416}/jolt/hooks.py +0 -0
  23. {jolt-0.9.414 → jolt-0.9.416}/jolt/influence.py +0 -0
  24. {jolt-0.9.414 → jolt-0.9.416}/jolt/inspection.py +0 -0
  25. {jolt-0.9.414 → jolt-0.9.416}/jolt/loader.py +0 -0
  26. {jolt-0.9.414 → jolt-0.9.416}/jolt/log.py +0 -0
  27. {jolt-0.9.414 → jolt-0.9.416}/jolt/manifest.py +0 -0
  28. {jolt-0.9.414 → jolt-0.9.416}/jolt/options.py +0 -0
  29. {jolt-0.9.414 → jolt-0.9.416}/jolt/pkgs/__init__.py +0 -0
  30. {jolt-0.9.414 → jolt-0.9.416}/jolt/pkgs/golang.py +0 -0
  31. {jolt-0.9.414 → jolt-0.9.416}/jolt/pkgs/nodejs.py +0 -0
  32. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/__init__.py +0 -0
  33. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/alias.py +0 -0
  34. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/allure.py +0 -0
  35. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/autoweight.py +0 -0
  36. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/cache.py +0 -0
  37. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/cmake.py +0 -0
  38. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/conan.py +0 -0
  39. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/cxx.py +0 -0
  40. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/cxxinfo.py +0 -0
  41. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/dashboard.py +0 -0
  42. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/docker.py +0 -0
  43. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/email.py +0 -0
  44. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/email.xslt +0 -0
  45. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/environ.py +0 -0
  46. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/gdb.py +0 -0
  47. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/gerrit.py +0 -0
  48. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/golang.py +0 -0
  49. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/googletest.py +0 -0
  50. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/http.py +0 -0
  51. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/junit.py +0 -0
  52. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/linux.py +0 -0
  53. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/logstash.py +0 -0
  54. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/ninja-compdb.py +0 -0
  55. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/ninja.py +0 -0
  56. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/nodejs.py +0 -0
  57. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/paths.py +0 -0
  58. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/podman.py +0 -0
  59. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/python.py +0 -0
  60. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/remote_execution/__init__.py +0 -0
  61. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/remote_execution/administration_pb2.py +0 -0
  62. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/remote_execution/administration_pb2_grpc.py +0 -0
  63. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/remote_execution/log_pb2.py +0 -0
  64. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/remote_execution/log_pb2_grpc.py +0 -0
  65. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/remote_execution/scheduler_pb2.py +0 -0
  66. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/remote_execution/scheduler_pb2_grpc.py +0 -0
  67. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/remote_execution/worker_pb2.py +0 -0
  68. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/remote_execution/worker_pb2_grpc.py +0 -0
  69. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/report.py +0 -0
  70. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/scheduler.py +0 -0
  71. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/selfdeploy.py +0 -0
  72. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/strings.py +0 -0
  73. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/symlinks.py +0 -0
  74. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/telemetry.py +0 -0
  75. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/timeline.py +0 -0
  76. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/volume.py +0 -0
  77. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/yaml-ninja.py +0 -0
  78. {jolt-0.9.414 → jolt-0.9.416}/jolt/plugins/yamltask.py +0 -0
  79. {jolt-0.9.414 → jolt-0.9.416}/jolt/scheduler.py +0 -0
  80. {jolt-0.9.414 → jolt-0.9.416}/jolt/tasks.py +0 -0
  81. {jolt-0.9.414 → jolt-0.9.416}/jolt/templates/cxxexecutable.cmake.template +0 -0
  82. {jolt-0.9.414 → jolt-0.9.416}/jolt/templates/cxxlibrary.cmake.template +0 -0
  83. {jolt-0.9.414 → jolt-0.9.416}/jolt/templates/export.sh.template +0 -0
  84. {jolt-0.9.414 → jolt-0.9.416}/jolt/templates/timeline.html.template +0 -0
  85. {jolt-0.9.414 → jolt-0.9.416}/jolt/timer.py +0 -0
  86. {jolt-0.9.414 → jolt-0.9.416}/jolt/tools.py +0 -0
  87. {jolt-0.9.414 → jolt-0.9.416}/jolt/utils.py +0 -0
  88. {jolt-0.9.414 → jolt-0.9.416}/jolt/version_utils.py +0 -0
  89. {jolt-0.9.414 → jolt-0.9.416}/jolt/xmldom.py +0 -0
  90. {jolt-0.9.414 → jolt-0.9.416}/jolt.egg-info/SOURCES.txt +0 -0
  91. {jolt-0.9.414 → jolt-0.9.416}/jolt.egg-info/dependency_links.txt +0 -0
  92. {jolt-0.9.414 → jolt-0.9.416}/jolt.egg-info/entry_points.txt +0 -0
  93. {jolt-0.9.414 → jolt-0.9.416}/jolt.egg-info/requires.txt +0 -0
  94. {jolt-0.9.414 → jolt-0.9.416}/jolt.egg-info/top_level.txt +0 -0
  95. {jolt-0.9.414 → jolt-0.9.416}/setup.cfg +0 -0
  96. {jolt-0.9.414 → jolt-0.9.416}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jolt
3
- Version: 0.9.414
3
+ Version: 0.9.416
4
4
  Summary: A task executor
5
5
  Home-page: https://github.com/srand/jolt
6
6
  Author: Robert Andersson
@@ -114,10 +114,13 @@ class GitRepository(object):
114
114
  self._fetch_origin()
115
115
  self.tools.run("git checkout -f FETCH_HEAD", output_on_error=True)
116
116
  else:
117
+ # Get configurable extra clone options
118
+ extra_clone_options = config.get("git", "clone_options", "")
119
+
117
120
  if refpath and os.path.isdir(refpath):
118
- self.tools.run("git clone --reference-if-able {0} {1} {2}", refpath, self.url, self.path, output_on_error=True)
121
+ self.tools.run("git clone --reference-if-able {0} {1} {2} {3}", refpath, extra_clone_options, self.url, self.path, output_on_error=True)
119
122
  else:
120
- self.tools.run("git clone {0} {1}", self.url, self.path, output_on_error=True)
123
+ self.tools.run("git clone {0} {1} {2}", extra_clone_options, self.url, self.path, output_on_error=True)
121
124
 
122
125
  self._init_repo()
123
126
  raise_error_if(
@@ -126,8 +129,11 @@ class GitRepository(object):
126
129
 
127
130
  @utils.retried.on_exception(JoltCommandError, pattern="Command failed: git fetch", count=6, backoff=[2, 5, 10, 15, 20, 30])
128
131
  def _fetch_origin(self):
132
+ # Get configurable extra clone options
133
+ extra_fetch_options = config.get("git", "fetch_options", "")
134
+
129
135
  with self.tools.cwd(self.path):
130
- self.tools.run("git fetch origin", output_on_error=True)
136
+ self.tools.run("git fetch {0} origin", extra_fetch_options, output_on_error=True)
131
137
 
132
138
  @utils.cached.instance
133
139
  def diff_unchecked(self):
@@ -257,11 +263,15 @@ class GitRepository(object):
257
263
  if commit and not self.is_valid_sha(commit):
258
264
  commit = None
259
265
 
266
+ # Get configurable extra clone options
267
+ extra_fetch_options = config.get("git", "fetch_options", "")
268
+
260
269
  refspec = " ".join(self.default_refspecs + self.refspecs)
261
270
  with self.tools.cwd(self.path):
262
271
  log.info("Fetching {0} from {1}", commit or refspec or 'commits', self.url)
263
272
  self.tools.run(
264
- "git fetch --force --prune {url} {what}",
273
+ "git fetch --force --prune {extra_fetch_options} {url} {what}",
274
+ extra_fetch_options=extra_fetch_options,
265
275
  url=self.url,
266
276
  what=commit or refspec or '',
267
277
  output_on_error=True)
@@ -0,0 +1 @@
1
+ __version__ = "0.9.416"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jolt
3
- Version: 0.9.414
3
+ Version: 0.9.416
4
4
  Summary: A task executor
5
5
  Home-page: https://github.com/srand/jolt
6
6
  Author: Robert Andersson
@@ -1 +0,0 @@
1
- __version__ = "0.9.414"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes