Package: diffoscope
Version: 240+deb12u1
AAR files are identified by file as "Android package (APK), with AndroidManifest.xml", but really
they're just zips with specific files inside. It would be nice to be
able to use diffoscope's diff
view given that, but currently we just drop to a binary diff.
Tried to file this on salsa which the website suggests, but sadly,
"Your request to join https://salsa.debian.org/ has been rejected."
Hi Matt,
Package: diffoscope
Version: 240+deb12u1
AAR files are identified by file as "Android package (APK), with
AndroidManifest.xml", but really
they're just zips with specific files inside. It would be nice to be
able to use diffoscope's diff
view given that, but currently we just drop to a binary diff.
Ah, thanks for letting us know. Do you happen to have two .aar files
lying around so I can test that...?
Tried to file this on salsa which the website suggests, but sadly,
"Your request to join https://salsa.debian.org/ has been rejected."
Oh, that's annoying. We don't run salsa.debian.org ourselves, so you
might have to followup with the admins here:
https://wiki.debian.org/Salsa/FAQ#My_account_registration_request_was_rejected._What_do_I_do.3F
(You are likely simply being caught by some anti-spam thing.)
https://git.bitcoin.ninja/?p=ldk-java-bins;a=tree;f=v0.1.1.0;hb=refs/heads/main
and https://git.bitcoin.ninja/?p=ldk-java-bins;a=tree;f=v0.1.0.0;hb=refs/heads/main
Matt Corallo wrote:
https://git.bitcoin.ninja/?p=ldk-java-bins;a=tree;f=v0.1.1.0;hb=refs/heads/main
and
https://git.bitcoin.ninja/?p=ldk-java-bins;a=tree;f=v0.1.0.0;hb=refs/heads/main
Thanks for linking these. So, the proximate cause of this issue is
that the underlying file(1) utility reports these as Android packages:
$ file v0.1.0.0_LDK-release.aar v0.1.1.0_LDK-release.aar
v0.1.0.0_LDK-release.aar: Android package (APK), with AndroidManifest.xml
v0.1.1.0_LDK-release.aar: Android package (APK), with AndroidManifest.xml
In general, diffoscope basically has to trust what file(1) reports and proceed on that basis. We used to work around its bugs, but as you can imagine, that became something of a game of whack-a-mole...
In the first instance, just to confirm that file(1) is at fault here? As
in, these are definitely not Android packages. :)
In the first instance, just to confirm that file(1) is at fault here? As
in, these are definitely not Android packages. :)
They're android "packages" in that they're libraries that other APKs
can depend on, but certainly not runnable apps or anything of the like.
AFAIU, all "Android package (APK)"s should be treated like zips cause
they are just zips with specific files in them.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 482 |
Nodes: | 16 (2 / 14) |
Uptime: | 63:05:53 |
Calls: | 9,569 |
Files: | 13,663 |
Messages: | 6,143,629 |