Added upstream repo for F-Droid #12
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-fdroid#12
Loading…
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR Checklist
Please check all that apply to this PR using "x":
PR Type
What kind of change does this PR introduce?
Fixes
Added F-Droid upstream repo to automatically update without waiting for a week to publish
P.S for devs: can you do the building app stuff like
fdroid build
for the repo?Also turn github pages on to make it work
Could you please explain all those changes?
This is not how it works.
FDroid operates a bot which is run about once a day. That bot visits every registered source code repository -on their
metadata
- and checks for new tags. On themetadata
file it is said the format of the tag, which is custom for every app. If a new tag is detected,metadata
file is updated on their GitLab repository. Then, once a day, their build server sees which new releases APKs are missing and builds them. Once built, a human operator has to sign the APK.Your changes do not help, as FDroid bot had still to detect the changes on the metadata file you attempt to add.
On building it on LBRY side, I am not the person to decide. But I see two "problems":
On this last point, other apps are certainly doing it that way, providing their users with an APK built by them and asking them to add app developers own repository. It works as an alternative way for distributing the app, but there would be no difference in manually building it locally and then releasing it on LBRY web server the same way the Play Store version is released.
Sorry for reiterate, but solving current problem by releasing the APK on LBRY servers would not work, as LBRY doesn't have the digital signature which is being used by FDroid build server. But I am not the person which should decide on this.
FDroid also allows to verify if app developer built APK is the same as FDroid built one, excepting digital signature, but again, they also have to perform the build, which is currently not working on their side.
I do the upstream repository just like newpipe is doing with their repo, to recieve updates as fast as possible @kekkyojin
@ -0,0 +14,4 @@
# 'r9b': None,
# 'r10e': None,
# 'r11c': None,
# 'r12b': "$ANDROID_NDK",
That's not the NDK version being used for LBRY
@ -0,0 +115,4 @@
# different than the keypass below, it can be OK to store the password in this
# file for real use. But in general, sensitive passwords should not be stored
# in text files!
keystorepass = "fY1Y1tAegMrzZcQTgrs/7tcpOLSa+sg80JnbZnKpAYI="
I am not a DevOp or SecOp, but this would allow anyone to get the signing key used to sign the APK. That should not be published.
@ -0,0 +120,4 @@
# The password for keys - the same is used for each auto-generated key as well
# as for the repository key. You should not normally store this password in a
# file since it is a sensitive password.
keypass = "fY1Y1tAegMrzZcQTgrs/7tcpOLSa+sg80JnbZnKpAYI="
Same here
@ -0,0 +9,4 @@
RepoType: git
Repo: https://github.com/lbryio/lbry-fdroid
Builds:
This will not build LBRY
I will retry it later
From what I can make of the changes, you are trying to create a separate F-Droid repository from the default one which is controlled by the maintainer, and allows us to push binary updates earlier than scheduled F-Droid builds. I'm fine with just sticking with the F-Droid scheduled builds (every 2 to 3 days, IIRC), but ultimately, it's up to @kekkyojin to decide if the extra work is worth it.
Ok, i see
Pull request closed