-
Notifications
You must be signed in to change notification settings - Fork 61
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
A bunch of miscellaneous upgrades #581
Conversation
Accidentally created before finishing the comment above. Oops. |
Done. Fixed travis not getting licenses as well. |
So it failed again, but to a different SDK license error. I think that'll have to be on your end. |
so that it is only initialized in release builds
it is used in libopac, e.g. in HttpClientFactory:190 (JavaNetCookieJar class)
Hi, I started to test the updated version and found a bunch of things:
|
@johan12345 Yeah, sorry about all those. I think sentry needs this to work for 2.x.
This migration guide will tell you all about migrating to the new 2.x. I'll fix up the Charset stuff. |
@johan12345 It's just because |
The built apks still crash with auto-init disabled. I believe the next commit I push will solve this. EDIT: It didn't, but at least the crashlog is different. Here it is now:
I'll undo the commit, so here's reference: 3645bf8 Sentry really wants a key, and will take no bullshit lol. |
@johan12345 What's interesting is that upgrading Sentry to 2.x saves almost a megabyte in APK size (811 KB, the other 300 or so KB is due to other stuff). You can check out exactly the differences by decompiling the APKs with https://github.com/iBotPeaches/Apktool. Get 6.2.8 from F-Droid, and compare it to a built foss release APK from master. |
@johan12345 Sorry for so many mentions lol, but here's what the material-intro looks like. This obviously isn't intended. I'll revert the change for now. You should make a new branch from 2.0.0 and make your own changes on top of it. |
For the release build? The debug build is working for me now. For the release build we definitely need to supply the DSN. I'll ask @raphaelm how we can do that, maybe we just need to put it in the public repository. I found one more thing: The tests in
that is fixed with f786ab2. But now there are some more test failures. That may be due to changes in JSoup, so we need to check what happened there. |
@TacoTheDank with 7f6a297 I have emulated the previous Sentry behavior, i.e. loading the DSN from sentry.properties if it exists and ignoring it otherwise. |
@johan12345 Awesome 👍 |
I reverted the JSoup upgrade for now, tests are passing now. Changes in JSoup are critical, as we are parsing HTML pages of many different library catalogs. We will check the problems occurring with updated JSoup separately. I will merge this PR now, thanks again to @TacoTheDank ! |
Sorry this is so big, didn't mean for that.
1st commit
2nd commit
3rd commit
4th commit
libopac:
org.apache.httpcomponents:httpmime
4.5.2 -> 4.5.12 (changelog)meaningdetector:
org.bouncycastle:bcprov-jdk15on
1.51 -> 1.65.01 (changelog)opacapp:
su.j2e:rv-joiner
1.0.6 -> 1.0.9 (changelog)tests:
org.bouncycastle:bcprov-jdk15on
1.51 -> 1.65.01 (changelog)5th commit
6th commit
7th commit
8th commit
9th commit
10th commit