Skip to content

Conversation

@tobiasKaminsky
Copy link
Member

@tobiasKaminsky tobiasKaminsky commented May 11, 2021

made parser more robust

Introduced in nextcloud/activity@38a31e5#diff-76b5a357391276b282a516f54f48ef3c207f46d8192dc58c208d5183d38415f8

@nickvergessen do we really want to change api this silently?

Signed-off-by: tobiasKaminsky tobias@kaminsky.me

@nickvergessen
Copy link
Member

do we really want to change api this silently?

Sorry I was not aware that fullbackwards compatible changes which just add additional fields would break anything.

@tobiasKaminsky
Copy link
Member Author

Sorry I was not aware that fullbackwards compatible changes which just add additional fields would break anything.

I guess this heavily depends on the way one writes the parser.
I tried it now to be more graceful.

@tobiasKaminsky
Copy link
Member Author

When will the new activity version be out in the wild?

@nickvergessen
Copy link
Member

nextcloud/activity#578

Seems like it was backported to 21.0.2 which is coming this or next week iirc

made parser more robust

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@nextcloud-android-bot
Copy link
Collaborator

Lint

TypemasterPR
Warnings11
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings14
Correctness Warnings38
Internationalization Warnings6
Malicious code vulnerability Warnings7
Multithreaded correctness Warnings3
Performance Warnings17
Security Warnings1
Dodgy code Warnings40
Total126

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings14
Correctness Warnings38
Internationalization Warnings6
Malicious code vulnerability Warnings7
Multithreaded correctness Warnings3
Performance Warnings17
Security Warnings1
Dodgy code Warnings40
Total126

@codecov
Copy link

codecov bot commented May 12, 2021

Codecov Report

Merging #619 (c9d5aa7) into master (bb1742b) will decrease coverage by 0.00%.
The diff coverage is 42.85%.

@@            Coverage Diff             @@
##           master     #619      +/-   ##
==========================================
- Coverage   40.63%   40.62%   -0.01%     
==========================================
  Files         151      151              
  Lines        6202     6208       +6     
  Branches      804      804              
==========================================
+ Hits         2520     2522       +2     
- Misses       3303     3307       +4     
  Partials      379      379              
Impacted Files Coverage Δ
...lib/resources/activities/models/PreviewObject.java 20.00% <0.00%> (-2.23%) ⬇️
...ources/activities/models/PreviewObjectAdapter.java 81.81% <50.00%> (-7.47%) ⬇️

@tobiasKaminsky tobiasKaminsky merged commit cc53af1 into master May 12, 2021
@delete-merged-branch delete-merged-branch bot deleted the activityAPIchange branch May 12, 2021 07:36
@AndyScherzinger AndyScherzinger added this to the NC Android lib 2.7.0 milestone May 12, 2021
@szaimen
Copy link
Contributor

szaimen commented May 22, 2021

Can this be backported to stable-2.6?

@tobiasKaminsky
Copy link
Member Author

/backport to stable-2.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants