NikGapps 3.76__tar.gz → 3.77__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 (68) hide show
  1. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/cache.py +11 -5
  2. {nikgapps-3.76 → nikgapps-3.77/NikGapps.egg-info}/PKG-INFO +1 -1
  3. {nikgapps-3.76/NikGapps.egg-info → nikgapps-3.77}/PKG-INFO +1 -1
  4. {nikgapps-3.76 → nikgapps-3.77}/setup.py +1 -1
  5. {nikgapps-3.76 → nikgapps-3.77}/LICENSE +0 -0
  6. {nikgapps-3.76 → nikgapps-3.77}/MANIFEST.in +0 -0
  7. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/__init__.py +0 -0
  8. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/build/Build.py +0 -0
  9. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/build/NikGappsManager.py +0 -0
  10. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/build/NikGappsOverlays.py +0 -0
  11. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/build/PackageConstants.py +0 -0
  12. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/build/Release.py +0 -0
  13. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/build/__init__.py +0 -0
  14. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/build_config.py +0 -0
  15. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/config/NikGappsConfig.py +0 -0
  16. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/config/__init__.py +0 -0
  17. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/config_upload.py +0 -0
  18. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/copy_repos.py +0 -0
  19. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/AppSet.py +0 -0
  20. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/Args.py +0 -0
  21. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/Assets.py +0 -0
  22. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/Config.py +0 -0
  23. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/ConfigObj.py +0 -0
  24. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/Package.py +0 -0
  25. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/__init__.py +0 -0
  26. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/addon.sh +0 -0
  27. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/appsets.json +0 -0
  28. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/changelogs.yaml +0 -0
  29. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/config_versions.json +0 -0
  30. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/customize.sh +0 -0
  31. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/debloater.config +0 -0
  32. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/functions.sh +0 -0
  33. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/gofile.sh +0 -0
  34. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/header.sh +0 -0
  35. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/installer.sh +0 -0
  36. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/magisk-update-binary.sh +0 -0
  37. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/module.prop +0 -0
  38. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/mount.sh +0 -0
  39. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/mtg_mount.sh +0 -0
  40. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/nikgapps.config +0 -0
  41. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/nikgapps_functions.sh +0 -0
  42. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/packages.json +0 -0
  43. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/uninstaller.sh +0 -0
  44. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/assets/unmount.sh +0 -0
  45. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/compression/CompOps.py +0 -0
  46. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/compression/Export.py +0 -0
  47. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/compression/__init__.py +0 -0
  48. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/git/TestGit.py +0 -0
  49. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/git/__init__.py +0 -0
  50. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/overlay/ApkMetaInfo.py +0 -0
  51. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/overlay/Bool.py +0 -0
  52. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/overlay/Library.py +0 -0
  53. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/overlay/Manifest.py +0 -0
  54. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/overlay/Overlay.py +0 -0
  55. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/overlay/Resources.py +0 -0
  56. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/overlay/String.py +0 -0
  57. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/overlay/StringArray.py +0 -0
  58. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/helper/overlay/__init__.py +0 -0
  59. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/main.py +0 -0
  60. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/overlay_control.py +0 -0
  61. {nikgapps-3.76 → nikgapps-3.77}/NikGapps/test.py +0 -0
  62. {nikgapps-3.76 → nikgapps-3.77}/NikGapps.egg-info/SOURCES.txt +0 -0
  63. {nikgapps-3.76 → nikgapps-3.77}/NikGapps.egg-info/dependency_links.txt +0 -0
  64. {nikgapps-3.76 → nikgapps-3.77}/NikGapps.egg-info/entry_points.txt +0 -0
  65. {nikgapps-3.76 → nikgapps-3.77}/NikGapps.egg-info/requires.txt +0 -0
  66. {nikgapps-3.76 → nikgapps-3.77}/NikGapps.egg-info/top_level.txt +0 -0
  67. {nikgapps-3.76 → nikgapps-3.77}/README.md +0 -0
  68. {nikgapps-3.76 → nikgapps-3.77}/setup.cfg +0 -0
@@ -1,4 +1,6 @@
1
1
  import os
2
+ import time
3
+
2
4
  from dotenv import load_dotenv
3
5
  from NikGapps.build.Build import Build
4
6
  from NikGapps.config.NikGappsConfig import NikGappsConfig
@@ -39,9 +41,7 @@ def cache():
39
41
  project = gitlab_manager.get_project(cached_url)
40
42
  gitattributes = """*.zip filter=lfs diff=lfs merge=lfs -text
41
43
  *.tar.xz filter=lfs diff=lfs merge=lfs -text"""
42
- if project:
43
- gitlab_manager.reset_repository(cached_url, sleep_for=10, gitattributes=gitattributes)
44
- else:
44
+ if not project:
45
45
  project = gitlab_manager.create_repository(cached_url, provide_owner_access=True)
46
46
  gitlab_manager.create_and_commit_file(project_id=project.id, file_path=".gitattributes",
47
47
  content=gitattributes)
@@ -56,6 +56,10 @@ def cache():
56
56
  config_obj.config_package_list = Build.build_from_directory(app_set_list, android_version)
57
57
  for appset in config_obj.config_package_list:
58
58
  appset: AppSet
59
+ # delete the folder to reset the files
60
+ if F.dir_exists(os.path.join(repo_cached.working_tree_dir, appset.title)):
61
+ F.remove_dir(os.path.join(repo_cached.working_tree_dir, appset.title))
62
+ F.make_dir(os.path.join(repo_cached.working_tree_dir, appset.title))
59
63
  for pkg in appset.package_list:
60
64
  pkg: Package
61
65
  compression_modes = [Modes.ZIP, Modes.TAR_XZ]
@@ -66,8 +70,10 @@ def cache():
66
70
  f"{pkg.package_title}{mode}")
67
71
  print("Done!") if CompOps.compress_package(pkg_zip_path, pkg, mode) else print("Failed!")
68
72
  t.taken(f"Total time taken to process the {pkg.package_title}, compressing into {mode}")
69
- repo_cached.git_push(commit_message=f"Compressed {pkg.package_title} for {appset.title}",
70
- push_untracked_files=True, pull_first=True, post_buffer="1048576000")
73
+ time.sleep(5)
74
+ repo_cached.git_push(
75
+ commit_message=f"Compressed {pkg.package_title} for {appset.title} into {mode}",
76
+ push_untracked_files=True, post_buffer="1048576000")
71
77
  if Config.ENVIRONMENT_TYPE.__eq__("production") and F.dir_exists(repo_cached.working_tree_dir):
72
78
  F.remove_dir(repo_cached.working_tree_dir)
73
79
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: NikGapps
3
- Version: 3.76
3
+ Version: 3.77
4
4
  Summary: A short description of your project
5
5
  Home-page: https://github.com/nikgapps/project
6
6
  Author: Nikhil Menghani
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: NikGapps
3
- Version: 3.76
3
+ Version: 3.77
4
4
  Summary: A short description of your project
5
5
  Home-page: https://github.com/nikgapps/project
6
6
  Author: Nikhil Menghani
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="NikGapps",
5
- version="3.76",
5
+ version="3.77",
6
6
  packages=find_packages(),
7
7
  include_package_data=True,
8
8
  package_data={
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