ScriptCollection 3.5.86__py3-none-any.whl → 3.5.88__py3-none-any.whl

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.
@@ -376,17 +376,17 @@ def GenerateARC42ReferenceTemplate() -> int:
376
376
 
377
377
  def CreateChangelogEntry() -> int:
378
378
  parser = argparse.ArgumentParser()
379
- parser.add_argument('-f', '--repositoryfolder', required=False, default=".")
379
+ parser.add_argument('-p', '--repositorypath', required=False, default=".")
380
380
  parser.add_argument('-m', '--message', required=False, default="Updates.")
381
381
  parser.add_argument('-c', '--commit', action='store_true', required=False, default=False)
382
382
  parser.add_argument('-f', '--force', action='store_true', required=False, default=False)
383
383
  args = parser.parse_args()
384
384
 
385
385
  folder: str = None
386
- if os.path.isabs(args.repositoryfolder):
387
- folder = args.repositoryfolder
386
+ if os.path.isabs(args.repositorypath):
387
+ folder = args.repositorypath
388
388
  else:
389
- folder = GeneralUtilities.resolve_relative_path(args.repositoryfolder, os.getcwd())
389
+ folder = GeneralUtilities.resolve_relative_path(args.repositorypath, os.getcwd())
390
390
  TasksForCommonProjectStructure().create_changelog_entry(folder, args.message, args.commit, args.force)
391
391
  return 0
392
392
 
@@ -32,7 +32,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
32
32
  from .ProgramRunnerPopen import ProgramRunnerPopen
33
33
  from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
34
34
 
35
- version = "3.5.86"
35
+ version = "3.5.88"
36
36
  __version__ = version
37
37
 
38
38
 
@@ -1871,8 +1871,12 @@ DNS = {domain}
1871
1871
 
1872
1872
  @GeneralUtilities.check_arguments
1873
1873
  def wait_until_dotnet_package_is_available(self, package_name: str, package_version: str, source: str):
1874
- while not self.dotnet_package_is_available(package_name, package_version, source):
1875
- time.sleep(5)
1874
+ return # TODO fix this
1875
+ try: # pylint: disable=unreachable
1876
+ while not self.dotnet_package_is_available(package_name, package_version, source):
1877
+ time.sleep(30)
1878
+ except:
1879
+ pass
1876
1880
 
1877
1881
  @GeneralUtilities.check_arguments
1878
1882
  def python_package_is_available(self, package_name: str, package_version: str, source: str):
@@ -1887,8 +1891,12 @@ DNS = {domain}
1887
1891
 
1888
1892
  @GeneralUtilities.check_arguments
1889
1893
  def wait_until_python_package_is_available(self, package_name: str, package_version: str, source: str):
1890
- while not self.python_package_is_available(package_name, package_version, source):
1891
- time.sleep(5)
1894
+ return # TODO fix this
1895
+ try: # pylint: disable=unreachable
1896
+ while not self.python_package_is_available(package_name, package_version, source):
1897
+ time.sleep(30)
1898
+ except:
1899
+ pass
1892
1900
 
1893
1901
  @GeneralUtilities.check_arguments
1894
1902
  def create_deb_package(self, toolname: str, binary_folder: str, control_file_content: str, deb_output_folder: str, verbosity: int, permission_of_executable_file_as_octet_triple: int) -> None:
@@ -2962,9 +2962,9 @@ class TasksForCommonProjectStructure:
2962
2962
  self.assert_no_uncommitted_changes(repository_folder)
2963
2963
  self.assert_no_uncommitted_changes(reference_folder)
2964
2964
  self.assert_no_uncommitted_changes(build_repository_folder)
2965
+ self.__sc.git_checkout(build_repository_folder, "main", True)
2965
2966
  self.__sc.git_checkout(repository_folder, merge_source_branch, True)
2966
2967
  self.__sc.git_checkout(reference_folder, "main", True)
2967
- self.__sc.git_checkout(build_repository_folder, "main", True)
2968
2968
  self.assert_no_uncommitted_changes(repository_folder)
2969
2969
  self.assert_no_uncommitted_changes(reference_folder)
2970
2970
  self.__sc.git_commit(build_repository_folder, "Updated submodules")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ScriptCollection
3
- Version: 3.5.86
3
+ Version: 3.5.88
4
4
  Summary: The ScriptCollection is the place for reusable scripts.
5
5
  Home-page: https://github.com/anionDev/ScriptCollection
6
6
  Author: Marius Göcke
@@ -35,8 +35,8 @@ Requires-Dist: pycdlib>=1.14.0
35
35
  Requires-Dist: Pygments>=2.19.1
36
36
  Requires-Dist: pylint>=3.3.4
37
37
  Requires-Dist: pyOpenSSL>=25.0.0
38
- Requires-Dist: PyPDF>=5.3.0
39
- Requires-Dist: pytest>=8.3.4
38
+ Requires-Dist: PyPDF>=5.3.1
39
+ Requires-Dist: pytest>=8.3.5
40
40
  Requires-Dist: PyYAML>=6.0.2
41
41
  Requires-Dist: qrcode>=8.0
42
42
  Requires-Dist: send2trash>=1.8.3
@@ -1,16 +1,16 @@
1
- ScriptCollection/Executables.py,sha256=XwnhziKm3HdsJNkvj2TCTf-KS2e4RKibpNcNTZOHFJ4,30175
1
+ ScriptCollection/Executables.py,sha256=ApfwgRftLeG1NBpv7Jad98Yb-wI8sKjhtoIsxMmfGVY,30167
2
2
  ScriptCollection/GeneralUtilities.py,sha256=VVbbGFD4qLwWV211-E-n3faP2fZGc8mOBlKLd0oKHl4,40765
3
3
  ScriptCollection/ProcessesRunner.py,sha256=3mu4ZxzZleQo0Op6o9EYTCFiJfb6kx5ov2YfZfT89mU,1395
4
4
  ScriptCollection/ProgramRunnerBase.py,sha256=2kMIAqdc65UjBAddOZkzy_aFx9h5roZ5a4bQNM6RV6Y,2480
5
5
  ScriptCollection/ProgramRunnerEpew.py,sha256=4pjEd0r9Fcz3TTDv0MdTSd5KkigYXcWUVI1X43regfU,6477
6
6
  ScriptCollection/ProgramRunnerPopen.py,sha256=BPY7-ZMIlqT7JOKz8qlB5c0laF2Js-ijzqk09GxZC48,3821
7
7
  ScriptCollection/RPStream.py,sha256=NRRHL3YSP3D9MuAV2jB_--0KUKCsvJGxeKnxgrRZ9kY,1545
8
- ScriptCollection/ScriptCollectionCore.py,sha256=QsyoePkvnrP1DpEy0V5wiOHewiim649hlPR0uQN5fJw,123286
9
- ScriptCollection/TasksForCommonProjectStructure.py,sha256=0G2onG2crhkn3ivRqfVtHcg9WgwRXT488X0zEy8CSe4,216807
8
+ ScriptCollection/ScriptCollectionCore.py,sha256=z6hiyye3Z-KTMqrDziS6eRhKQZSawm3adAa8e3XV3x8,123522
9
+ ScriptCollection/TasksForCommonProjectStructure.py,sha256=jcx5pmvR7nplqZO0ih89ZPE6vO_azI9HIgjIt9di0Oc,216807
10
10
  ScriptCollection/UpdateCertificates.py,sha256=Eynbgu7k9jLxApP2D_8Il77B6BFjJap6K7oTeEAZYbk,7790
11
11
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
- scriptcollection-3.5.86.dist-info/METADATA,sha256=JSg4iWzozzhdD_I0svPAbfBywMaZYuum13ycscoCcdk,7664
13
- scriptcollection-3.5.86.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
14
- scriptcollection-3.5.86.dist-info/entry_points.txt,sha256=1jAL5AuB8mvdw2v-6E7wCZFThurQxchiQynL8DCi-Yg,3545
15
- scriptcollection-3.5.86.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
16
- scriptcollection-3.5.86.dist-info/RECORD,,
12
+ scriptcollection-3.5.88.dist-info/METADATA,sha256=0u39MTSPRItlXCmDjtfTzrAnyOx0uff1NLZYfeikxxo,7664
13
+ scriptcollection-3.5.88.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
14
+ scriptcollection-3.5.88.dist-info/entry_points.txt,sha256=1jAL5AuB8mvdw2v-6E7wCZFThurQxchiQynL8DCi-Yg,3545
15
+ scriptcollection-3.5.88.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
16
+ scriptcollection-3.5.88.dist-info/RECORD,,