!ZmSZzxujGNoCyoCETU:matrix.org

F-Droid Devs

87 Members
F-Droid development discussion only | Use #fdroid:f-droid.org for general, app- and repo-related matters | Meeting every Thursday at 11:30 UTC | This channel is publicly logged at https://matrix.f-droid.org/alias/%23fdroid-dev:f-droid.org 15 Servers

Load older messages


SenderMessageTime
25 Sep 2020
@eighthave:matrix.org_hcthe solution there is to pre-crunch and commit that to git11:42:29
@kitsunyan:matrix.orgkitsunyanResource shrinker is a different think11:42:41
@kitsunyan:matrix.orgkitsunyan*thing11:42:48
@eighthave:matrix.org_hcit might use similar methods, e.g. randomly trying things and choosing the best result by measuring11:43:07
@kitsunyan:matrix.orgkitsunyanIt shrinks xml resources, not tries to optimize pngs.11:43:20
@eighthave:matrix.org_hcbinary xml != XML11:43:44
@kitsunyan:matrix.orgkitsunyanNo, we discussed here multiple times, its process deterministic. The only problem is that it tried to change files in apk with shrinked ones.11:44:14
@kitsunyan:matrix.orgkitsunyanWhich sometimes produced different apks on different machines, but with 100% same files inside apk11:44:49
@eighthave:matrix.org_hcwhat was the diff then?11:45:14
@kitsunyan:matrix.orgkitsunyanAGP tries to be "smart": if shrinked apk size is larger (which is possible), it restored the original apk11:46:35
@kitsunyan:matrix.orgkitsunyanSo on some machines it produced shrinked apks, on other machines it didn't change anything11:47:21
@kitsunyan:matrix.orgkitsunyanBut the problem here not resource shrinker itself, but the fact that the process of modifying apk files was unclear11:48:14
@kitsunyan:matrix.orgkitsunyanIt happens on AGP side completely, so it just uses the same java version as gradle11:49:06
@kitsunyan:matrix.orgkitsunyanSo the problem is in java, but still I got different results with the same java 8 version, but on different OSes (debian stretch (used on buildserver) and ubuntu 20.4)11:51:02
@kitsunyan:matrix.orgkitsunyanThis is why I say it's still not clear to me how this process depends on environment11:52:03
@bubu:bubu1.euBubuThe forum will be down for maintenance for a few minutes in about 30 min. 13:24:53
@bubu:bubu1.euBubu
In reply to @bubu:bubu1.eu
The forum will be down for maintenance for a few minutes in about 30 min.
All Done!
13:54:11
@freenode_cdesai:matrix.orgcdesaithat was exactly 30 minutes!13:56:45
@bubu:bubu1.euBubuI started a bit early ;-)13:57:38
@freenode_wb9688:matrix.orgwb9688cdesai: Not exactly, if you count the seconds…14:06:16
@freenode_cdesai:matrix.orgcdesaiwb9688: well I only have my client show hh:mm - vertical monitor so limited room horizontally14:07:47
@freenode_wb9688:matrix.orgwb9688Ah, my client shows seconds as well, even on my vertical smartphone ;)14:08:27
@freenode_wb9688:matrix.orgwb9688 (I really can't use my smartphone horizontally lol) 14:08:51
@freenode_wb9688:matrix.orgwb9688It was :54 vs :11 fwiw14:09:09
@freenode_wb9688:matrix.orgwb9688So a little big shorter than 30 min14:09:22
@freenode_cdesai:matrix.orgcdesai Bubu: simply unacceptable 14:11:05
@freenode_wb9688:matrix.orgwb9688Lol14:11:45
@freenode_wb9688:matrix.orgwb9688Or should I say: roflshmsfoaidmt14:12:26
* @freenode_cdesai:matrix.orgcdesai had to look that up14:13:33
@freenode_wb9688:matrix.orgwb9688 cdesai: Some people are surprised it's an actual thing. I just found it randomly on Wikipedia at some time 14:14:50

There are no newer messages yet.


Back to Room List