Skip to content
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

Gravatar Library - Remove Okio dependency from WPAndroid #19946

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

hamorillo
Copy link
Contributor

@hamorillo hamorillo commented Jan 15, 2024


To Test:

We've moved the Gravatar upload to an external library. We no longer need the Okio dependency in this project. Verify that you can still upload new avatars.


Regression Notes

  1. Potential unintended areas of impact

    • Nothing. We've just moved some code to an external library and removed the unnecessary code.
  2. What I did to test those areas of impact (or what existing automated tests I relied on)

    • Don't apply
  3. What automated tests I added (or what prevented me from doing so)

    • Don't apply

As we've moved the Gravatar update to an external library. We no longer need the Okio dependency in this project.
@wpmobilebot
Copy link
Contributor

Found 1 violations:

The PR caused the following dependency changes:

 +--- project :libs:analytics
 |    \--- com.automattic:Automattic-Tracks-Android:3.3.0
 |         \--- com.squareup.okhttp3:okhttp:4.9.0 -> 4.11.0
-|              \--- com.squareup.okio:okio:3.2.0 -> 3.6.0
-|                   \--- com.squareup.okio:okio-jvm:3.6.0
-|                        +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10 (*)
-|                        \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.9.10
+|              \--- com.squareup.okio:okio:3.2.0 -> 3.3.0
+|                   \--- com.squareup.okio:okio-jvm:3.3.0
+|                        +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0 -> 1.9.10 (*)
+|                        \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.0 -> 1.9.10
 +--- project :libs:editor
 |    \--- com.facebook.react:react-android:0.71.11
-|         \--- com.squareup.okio:okio:2.9.0 -> 3.6.0 (*)
+|         \--- com.squareup.okio:okio:2.9.0 -> 3.3.0 (*)
++--- com.airbnb.android:lottie:6.1.0
+|    \--- com.squareup.okio:okio:{require 1.17.5; reject _} -> 3.3.0 (*)
-+--- com.squareup.okio:okio:3.6.0 (*)
-+--- com.airbnb.android:lottie:6.1.0
-|    \--- com.squareup.okio:okio:{require 1.17.5; reject _} -> 3.6.0 (*)
 +--- io.coil-kt:coil-compose:2.4.0
 |    \--- io.coil-kt:coil-compose-base:2.4.0
 |         \--- io.coil-kt:coil-base:2.4.0
-|              \--- com.squareup.okio:okio:3.3.0 -> 3.6.0 (*)
+|              \--- com.squareup.okio:okio:3.3.0 (*)

Please review and act accordingly

@hamorillo hamorillo marked this pull request as ready for review January 15, 2024 14:16
@hamorillo hamorillo requested a review from a team as a code owner January 15, 2024 14:16
@hamorillo hamorillo removed the request for review from a team January 15, 2024 14:17
@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Jan 15, 2024

Warnings
⚠️ PR is not assigned to a milestone.

Generated by 🚫 dangerJS

@hamorillo hamorillo force-pushed the hamorillo/remove-unnecessary-okio branch from 3010ffa to f59b4de Compare January 15, 2024 14:22
@hamorillo hamorillo requested a review from maxme January 15, 2024 14:22
@dangermattic
Copy link
Collaborator

1 Error
🚫 PR requires at least one label.
1 Warning
⚠️ PR is not assigned to a milestone.

Generated by 🚫 Danger

Copy link
Contributor

@maxme maxme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I wonder why other dependencies are not listed here 🤔, I'll check the history

@hamorillo hamorillo merged commit e90c41f into gravatar-library Jan 15, 2024
11 of 23 checks passed
@hamorillo hamorillo deleted the hamorillo/remove-unnecessary-okio branch January 15, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants