NikGapps 3.44__tar.gz → 3.46__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.44 → nikgapps-3.46}/NikGapps/helper/compression/Export.py +3 -3
  2. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/git/TestGit.py +15 -0
  3. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/main.py +9 -2
  4. {nikgapps-3.44 → nikgapps-3.46/NikGapps.egg-info}/PKG-INFO +1 -1
  5. {nikgapps-3.44/NikGapps.egg-info → nikgapps-3.46}/PKG-INFO +1 -1
  6. {nikgapps-3.44 → nikgapps-3.46}/setup.py +1 -1
  7. {nikgapps-3.44 → nikgapps-3.46}/LICENSE +0 -0
  8. {nikgapps-3.44 → nikgapps-3.46}/MANIFEST.in +0 -0
  9. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/__init__.py +0 -0
  10. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/build/Build.py +0 -0
  11. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/build/NikGappsManager.py +0 -0
  12. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/build/NikGappsOverlays.py +0 -0
  13. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/build/PackageConstants.py +0 -0
  14. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/build/Release.py +0 -0
  15. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/build/__init__.py +0 -0
  16. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/build_config.py +0 -0
  17. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/cache.py +0 -0
  18. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/config/NikGappsConfig.py +0 -0
  19. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/config/__init__.py +0 -0
  20. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/config_upload.py +0 -0
  21. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/copy_repos.py +0 -0
  22. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/AppSet.py +0 -0
  23. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/Args.py +0 -0
  24. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/Assets.py +0 -0
  25. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/Config.py +0 -0
  26. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/ConfigObj.py +0 -0
  27. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/Package.py +0 -0
  28. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/__init__.py +0 -0
  29. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/addon.sh +0 -0
  30. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/appsets.json +0 -0
  31. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/changelogs.yaml +0 -0
  32. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/config_versions.json +0 -0
  33. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/customize.sh +0 -0
  34. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/debloater.config +0 -0
  35. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/functions.sh +0 -0
  36. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/gofile.sh +0 -0
  37. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/header.sh +0 -0
  38. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/installer.sh +0 -0
  39. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/magisk-update-binary.sh +0 -0
  40. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/module.prop +0 -0
  41. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/mount.sh +0 -0
  42. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/mtg_mount.sh +0 -0
  43. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/nikgapps.config +0 -0
  44. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/nikgapps_functions.sh +0 -0
  45. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/packages.json +0 -0
  46. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/uninstaller.sh +0 -0
  47. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/assets/unmount.sh +0 -0
  48. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/compression/CompOps.py +0 -0
  49. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/compression/__init__.py +0 -0
  50. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/git/__init__.py +0 -0
  51. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/overlay/ApkMetaInfo.py +0 -0
  52. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/overlay/Bool.py +0 -0
  53. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/overlay/Library.py +0 -0
  54. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/overlay/Manifest.py +0 -0
  55. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/overlay/Overlay.py +0 -0
  56. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/overlay/Resources.py +0 -0
  57. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/overlay/String.py +0 -0
  58. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/overlay/StringArray.py +0 -0
  59. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/helper/overlay/__init__.py +0 -0
  60. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/overlay_control.py +0 -0
  61. {nikgapps-3.44 → nikgapps-3.46}/NikGapps/test.py +0 -0
  62. {nikgapps-3.44 → nikgapps-3.46}/NikGapps.egg-info/SOURCES.txt +0 -0
  63. {nikgapps-3.44 → nikgapps-3.46}/NikGapps.egg-info/dependency_links.txt +0 -0
  64. {nikgapps-3.44 → nikgapps-3.46}/NikGapps.egg-info/entry_points.txt +0 -0
  65. {nikgapps-3.44 → nikgapps-3.46}/NikGapps.egg-info/requires.txt +0 -0
  66. {nikgapps-3.44 → nikgapps-3.46}/NikGapps.egg-info/top_level.txt +0 -0
  67. {nikgapps-3.44 → nikgapps-3.46}/README.md +0 -0
  68. {nikgapps-3.44 → nikgapps-3.46}/setup.cfg +0 -0
@@ -35,7 +35,7 @@ class Export:
35
35
  completed_packages = 0
36
36
  file_sizes = ""
37
37
  zip_execution_status = False
38
- telegram.message(f"Progress {0:.2f}% ({completed_packages}/{total_packages})")
38
+ telegram.message(f"- Gapps is building {0:.2f}% ({completed_packages}/{total_packages})")
39
39
 
40
40
  def compress_and_add_file(appset, pakg, compressionmode):
41
41
  nonlocal completed_packages
@@ -70,9 +70,9 @@ class Export:
70
70
  file_sizes = file_sizes + str(pakg.package_title) + "=" + str(pakg.pkg_size) + "\n"
71
71
  completed_packages += 1
72
72
  progress = (completed_packages / total_packages) * 100
73
- telegram.message(f"Progress {progress:.2f}% ({completed_packages}/{total_packages})",
73
+ telegram.message(f"- Gapps is building {progress:.2f}% ({completed_packages}/{total_packages})",
74
74
  replace_last_message=True)
75
- P.blue(f"Progress {progress:.2f}% ({completed_packages}/{total_packages}): "
75
+ P.blue(f"- Gapps is building {progress:.2f}% ({completed_packages}/{total_packages}): "
76
76
  f"{appset.title}/{pakg.package_title} (Thread {thread_id})")
77
77
 
78
78
  with concurrent.futures.ThreadPoolExecutor(max_workers=max_workers) as executor:
@@ -1,7 +1,12 @@
1
+ import os
1
2
  import time
3
+ from shutil import copyfile
2
4
 
3
5
  from niklibrary.git.Git import Git
4
6
  import git.exc
7
+ from niklibrary.git.GitStatics import GitStatics
8
+
9
+ from NikGapps.helper.Assets import Assets
5
10
 
6
11
 
7
12
  class TestGit(Git):
@@ -59,3 +64,13 @@ class TestGit(Git):
59
64
  if debug:
60
65
  print(f"Pushed {info.summary}")
61
66
  return True
67
+
68
+ def update_changelog(self):
69
+ source_file = Assets.changelog
70
+ dest_file = GitStatics.website_repo_dir + os.path.sep + "_data" + os.path.sep + "changelogs.yaml"
71
+ copyfile(source_file, dest_file)
72
+ if self.due_changes():
73
+ print("Updating the changelog to the website")
74
+ self.git_push("Update Changelog")
75
+ else:
76
+ print("There is no changelog to update!")
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env python
2
+ from niklibrary.git.GitStatics import GitStatics
3
+
2
4
  from NikGapps.build.Release import Release
3
5
  from NikGapps.helper.Args import Args
4
6
  from NikGapps.helper import Config
@@ -7,6 +9,8 @@ from niklibrary.helper.T import T
7
9
  from niklibrary.compression.Modes import Modes
8
10
  from niklibrary.git.GitOp import GitOp
9
11
 
12
+ from NikGapps.helper.git.TestGit import TestGit
13
+
10
14
 
11
15
  def main():
12
16
  args = Args()
@@ -43,14 +47,17 @@ def main():
43
47
  apk_repo = GitOp.clone_apk_source(android_version, args.arch, release_type=Config.RELEASE_TYPE)
44
48
  Config.APK_SOURCE = apk_repo.working_tree_dir
45
49
  overlay_repo = GitOp.clone_overlay_repo(android_version)
46
- Config.OVERLAY_SOURCE = overlay_repo.working_tree_dir
50
+ if overlay_repo is not None:
51
+ Config.OVERLAY_SOURCE = overlay_repo.working_tree_dir
47
52
  if Config.OVERRIDE_RELEASE:
48
53
  Release.zip(package_list, android_version, args.arch, args.sign)
49
54
  if Config.RELEASE_TYPE and Config.ENVIRONMENT_TYPE == "production":
50
55
  GitOp.mark_a_release(android_version, Config.RELEASE_TYPE)
51
56
  if args.release:
52
57
  if args.update_website:
53
- website_repo = GitOp.get_website_repo_for_changelog()
58
+ website_repo = TestGit(GitStatics.website_repo_dir)
59
+ if GitStatics.website_repo_url is not None:
60
+ website_repo.clone_repo(repo_url=GitStatics.website_repo_url, fresh_clone=False, branch="main")
54
61
  if website_repo is not None:
55
62
  website_repo.update_changelog()
56
63
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: NikGapps
3
- Version: 3.44
3
+ Version: 3.46
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.1
2
2
  Name: NikGapps
3
- Version: 3.44
3
+ Version: 3.46
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.44",
5
+ version="3.46",
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