-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] Reorder assets [apks] on GitHub releases page & update descriptions #15927
Comments
Suggestion:
|
That guide is really low quality in terms of information density. Do we have anything better? The link to the app is dodgy (3 separate link redirects blocked by uBlock, one of which had a ton of malware-related Google results)
I'd quickly be able to hack up a much better app and add it to F-Droid, it should only be a couple of lines of code to get the funtionality which we require. I suspect an app like this would be out there if we looked for a little while |
Yes, there is https://github.com/kamgurgul/cpu-info for Play store, Fdroid, Huawei, and Amazon ABI info in |
Then for the webpage, we can make a documentation/Wiki with the screenshot and redirect users from release to there Should make in FAQ or Development? |
I don't know if we need to bother, it replaces the article you linked above with a sentenance |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@david-allison current list is alphabetically ordered |
This comment has been minimized.
This comment has been minimized.
This comment was marked as resolved.
This comment was marked as resolved.
@david-allison I searched about the issue but i think there is no option for reordering. Other way to do this is to give numbering in the start of each file to arrange them according to our needs. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
I want something obvious to users who may not be too technical. For ABI splits: Ideally a word which isn't complex, fairly short, and conveys 'this may be useful in rare circumstances if you're using an old phone'. I think this is a good solution/ordering:
|
Looking good to me. We can try this. |
Great! I think the only other task would be to simplify the description Current Description
Proposed DescriptionImportant GitHub does not auto-update apps For regular usersInstall
For testersThe builds with
ABI variantsWe perform ABI splits to reduce APK size. In rare cases, a phone may not be using the |
@mikehardy pinging for a quick pre-review, I may have over-simplified the explanation |
I think this is great - it's a significant improvement on the big text blob I hacked up in a hurry and haven't touched since 🙈 +1 on all of it |
@Aditya13s Any progress here? Would be great to get this in for 2.18 |
I've looked into it, and it seems that when we upload assets , GitHub automatically sorts them in alphabetically order. |
We have control over the names and can change them in our release script |
Is there anything which i can do? |
You're assigned the issue, the 'Implementation' section lists the relevant script |
release.sh needs to be updated. The file is linked in the main issue description The ideal ordering and release description are included in comments of this issue |
Good first issue, so I won't take this on |
I am working on it. @david-allison |
It's been months, what's the status and what're the next steps? |
@Aditya13s I'd like to take this through to completion before 2.19 is released if possible. Are you still working on this? |
@david-allison I stopped working on it because I was not able to find how to fix this issue. If you can provide me some hint then i can complete it in no time. |
What do you need help with? |
I need help with what to change in the code. |
@Aditya13s I just looked at the comments here. All the information seems to be available. This may not be a fit for you |
I'd Like to work on this. |
@Haz3-jolt Great! there's quite a lot of discussion which has gone on here. I believe we want: Ordering
Proposed DescriptionImportant GitHub does not auto-update apps For regular usersInstall
For testersBuilds with
ABI variantsWe perform ABI splits to reduce APK size. In rare cases, a phone may not be using the |
Few changes to release.sh that need addressing before the reordering: I have a draft ready for the order from the mentioned:
to the cleaner suggested:
The issue is with the addition of the proguard mappings and un-minified, it will look like this:
I think we need to think of alternative to variant-abi and should have a prefix for the un minified version. |
@david-allison is it okay if variant-abi is instead formatted as ob-variant-abi, since most of these are kinda obselete, i just need some way to push them down the order but keep proguard at the bottom. |
Actionable feedback I'd prefix the new entries with a If it helps, I'd be happy with 'uncommon ABI' or similar terminology, but not 'obsolete'. Definitely not 'obs' as the intention isn't clear.
I'm sure @mikehardy would disagree, but I'd consider removing |
ok, for now I'll add a |
This is how the final order will look like: AnkiDroid-2.17.6-arm64-v8a.apk should I create a PR? |
LGTM! |
PR published! |
Warning
We should not rename past files, as this breaks links
Reference page: https://github.com/ankidroid/Anki-Android/releases/tag/v2.17.6
Currently, the order of our GitHub releases is:
https://github.com/ankidroid/Anki-Android/releases/tag/v2.17.6
Ordering issues
The following ABIs are VERY rarely used nowadays. Almost all are
arm64-v8a
. These should be 'below the fold'The following is good for newbies (as it means they don't need to know the ABI), but is MUCH larger:
The following are missing permissions
CAMERA
MANAGE_EXTERNAL_STORAGE
Resolution
We should reconsider this order and fix our release script
In addition, we should simplify our release notes on the page.
I would propose the order:
Description
See if you can do better than this:
Current Description
EDIT: See comments by @NameLessGO at the start of this thread for great suggestions
Implementation
I suspect that this code needs to be changed
Anki-Android/tools/release.sh
Lines 178 to 213 in 8585c11
obsolete
You should first investigate whether the GitHub API allows us to reorder uploaded files for releases (assets)
A comment on the issue should be added detailing the outcome of your investigation
Depending on the result of the investigation, you should either:
The file name determines the display order of the files
The text was updated successfully, but these errors were encountered: