Skip to content

Commit

Permalink
Prepare for 14
Browse files Browse the repository at this point in the history
  • Loading branch information
travarilo committed Feb 1, 2024
1 parent af8f102 commit 53d8a8e
Show file tree
Hide file tree
Showing 119 changed files with 11 additions and 2,082 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/UpdatePoster/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
# ID of channel where it needs to post [Requires admin with enough permissions]
CHAT_ID = "-1001940393750"
# Direct link to banner
banner = "https://raw.githubusercontent.com/travarilo/banners/main/march.png"
banner = "https://raw.githubusercontent.com/bananadroid/android_manifest/14/banner.png"
json_dir = "./API/devices/" # Directory where it should look for JSONs
timeout = 1 # Time out before sending consecutive messages
LOG_DIR = ".github/scripts/UpdatePoster/log.txt"
Expand Down
4 changes: 2 additions & 2 deletions .github/scripts/Uploader/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

SF_PASS = os.environ.get("SF_PASS")

android_version_text = "13"
android_version_text = "14"

try:
new_tags = open("new_tags.txt", "r").readlines()
Expand Down Expand Up @@ -136,7 +136,7 @@
"git pull",
"git add .",
"git commit -m \"official_devices: update tags [no ci]\"",
"git push origin 13",
"git push origin 14",
]

for command in push_commands:
Expand Down
4 changes: 2 additions & 2 deletions .github/scripts/downloadTracker/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def fetch_new_downloads() -> dict:
file_name = asset['name']

# match the filename to a given regex, group 0 here is devicename
rom_name = re.match("^PixelOS_(.+?)-.+?\.zip$",file_name)
rom_name = re.match("^BananaDroid_(.+?)-.+?\.zip$",file_name)

# if regex matches, get the device name, associate it with its download count
if rom_name:
Expand Down Expand Up @@ -61,7 +61,7 @@ def sf_download_count(path: str = None):

def sf_per_device_count(device_list : list[str]) -> dict:
_sf_json = {}
android_versions = ["13"]
android_versions = ["14"]
for android in android_versions:
_android_tmp = {}
for device in device_list:
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/jsonValidator/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ git fetch
git pull
git add .
git commit -m "jsonValidator: format JSON files [no ci]"
git push origin 13
git push origin 14
2 changes: 1 addition & 1 deletion .github/scripts/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ git fetch
git pull
git add .
git commit -m "official_devices: update tags [no ci]"
git push origin 13
git push origin 14
8 changes: 4 additions & 4 deletions .github/workflows/trackDownloads.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Track Downloads

env:
TZ: "Asia/Kolkata"
TZ: "Asia/Jakarta"

on:
workflow_dispatch:
Expand Down Expand Up @@ -34,9 +34,9 @@ jobs:
- name: Commit to repo
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_user_name: PixelOS-Bot
commit_user_email: pixelos.pixelish@gmail.com
commit_author: PixelOS-Bot <pixelos.pixelish@gmail.com>
commit_user_name: Rizky Benggolo
commit_user_email: travarilo@gmail.com
commit_author: Rizky Benggolo <travarilo@gmail.com>

commit_message: Update downloads counts (${{ steps.date.outputs.date }})
file_pattern: 'API/downloads/*.json'
19 changes: 0 additions & 19 deletions gapps/G.json

This file was deleted.

4 changes: 0 additions & 4 deletions gapps/G.md

This file was deleted.

20 changes: 0 additions & 20 deletions gapps/X00TD.json

This file was deleted.

17 changes: 0 additions & 17 deletions gapps/X00TD.md

This file was deleted.

20 changes: 0 additions & 20 deletions gapps/YSL.json

This file was deleted.

26 changes: 0 additions & 26 deletions gapps/YSL.md

This file was deleted.

19 changes: 0 additions & 19 deletions gapps/alioth.json

This file was deleted.

27 changes: 0 additions & 27 deletions gapps/alioth.md

This file was deleted.

19 changes: 0 additions & 19 deletions gapps/beryllium.json

This file was deleted.

84 changes: 0 additions & 84 deletions gapps/beryllium.md

This file was deleted.

20 changes: 0 additions & 20 deletions gapps/beyond0lte.json

This file was deleted.

1 change: 0 additions & 1 deletion gapps/beyond0lte.md

This file was deleted.

20 changes: 0 additions & 20 deletions gapps/beyond1lte.json

This file was deleted.

1 change: 0 additions & 1 deletion gapps/beyond1lte.md

This file was deleted.

Loading

0 comments on commit 53d8a8e

Please sign in to comment.