mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
parent
74c0e98d82
commit
9bf9159a77
3 changed files with 3 additions and 3 deletions
|
|
@ -993,7 +993,7 @@ def scan_repo_files(apkcache, repodir, knownapks, use_date_from_file=False):
|
||||||
repo_file['hash'] = shasum
|
repo_file['hash'] = shasum
|
||||||
repo_file['hashType'] = 'sha256'
|
repo_file['hashType'] = 'sha256'
|
||||||
repo_file['versionCode'] = 0
|
repo_file['versionCode'] = 0
|
||||||
repo_file['versionName'] = shasum
|
repo_file['versionName'] = shasum[0:7]
|
||||||
# the static ID is the SHA256 unless it is set in the metadata
|
# the static ID is the SHA256 unless it is set in the metadata
|
||||||
repo_file['packageName'] = shasum
|
repo_file['packageName'] = shasum
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -349,7 +349,7 @@
|
||||||
"packageName": "fake.ota.update",
|
"packageName": "fake.ota.update",
|
||||||
"size": 233,
|
"size": 233,
|
||||||
"versionCode": 1234,
|
"versionCode": 1234,
|
||||||
"versionName": "897a92a4ccff4f415f6ba275b2af16d4ecaee60a983b215bddcb9f8964e7a24c"
|
"versionName": "897a92a"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"info.guardianproject.urzip": [
|
"info.guardianproject.urzip": [
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@
|
||||||
<marketversion>0.2.1</marketversion>
|
<marketversion>0.2.1</marketversion>
|
||||||
<marketvercode>2000</marketvercode>
|
<marketvercode>2000</marketvercode>
|
||||||
<package>
|
<package>
|
||||||
<version>897a92a4ccff4f415f6ba275b2af16d4ecaee60a983b215bddcb9f8964e7a24c</version>
|
<version>897a92a</version>
|
||||||
<versioncode>1234</versioncode>
|
<versioncode>1234</versioncode>
|
||||||
<apkname>fake.ota.update_1234.zip</apkname>
|
<apkname>fake.ota.update_1234.zip</apkname>
|
||||||
<hash type="sha256">897a92a4ccff4f415f6ba275b2af16d4ecaee60a983b215bddcb9f8964e7a24c</hash>
|
<hash type="sha256">897a92a4ccff4f415f6ba275b2af16d4ecaee60a983b215bddcb9f8964e7a24c</hash>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue