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

Test for Gutenberg Aztec dependency update #6201

Closed
wants to merge 2 commits into from

Conversation

mokagio
Copy link
Contributor

@mokagio mokagio commented Sep 14, 2023

This is a test to make sure WordPress/gutenberg#54453 integrates with gutenberg-mobile.

As far as I can see, so far we duplicated `RNTAztecView.podspec` in this
repo based on the version in Gutenberg.

This meant doing things such as synchronizing updating the
`WordPress-Aztec-iOS` dependency in Gutenberg and then in this repo.

By reading the podspec from Gutenberg instead of duplicating it we
fulfill the dependency requirement for the XCFramework without needing
to update a file twice. To bump the Aztec dependency, we only need to
update Gutenberg itself.

I suspect `RNTAztecView.podspec` was defined locally because in the past we had something that read it, but that is no longer the case, even in the legacy
`Gutenberg.podspec` that's still tracked in the repo but no longer used
in our main client, WordPress iOS. Notice how the dependency is referred
in the standard form here:
https://github.com/wordpress-mobile/gutenberg-mobile/blob/c70afb8da680196206b6f7f50b7d76c9b3cb51ba/Gutenberg.podspec#L27
That notation means that CocoaPods would look for it among its sources.
If we were reading it from the repo, we'd need to specify it with
`path:`. That's all to say, I consider this change safe to make.
@mokagio mokagio changed the title Read RNTAztecView.podspec from its source in Gutenberg Test for Gutenberg Aztec dependency update Sep 14, 2023
@mokagio mokagio marked this pull request as draft September 14, 2023 06:17
@mokagio mokagio closed this Sep 28, 2023
@mokagio mokagio deleted the mokagio/aztec-update-gutenberg-testt branch September 28, 2023 15:05
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.

1 participant