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

Move cocoapods utilities to utils.rb - Part 1 #33978

Closed
wants to merge 1 commit into from

Conversation

cipolleschi
Copy link
Contributor

@cipolleschi cipolleschi commented Jun 8, 2022

Summary:
This Diff moves part of the utilities from the react_native_pods file to a specific utils.rb file.

It adds tests for these utils and improve our test mocks.

The goal is to simplify the react_native_pods.rb so it's easier to work with it.

I decided to split this diff in 2 because it was becoming quite big.

Differential Revision: D37004347

Changelog

[iOS][Changed] - Refactoring part of the react_native_pods.rb script

@cipolleschi cipolleschi requested a review from hramos as a code owner June 8, 2022 14:33
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Jun 8, 2022
@pull-bot
Copy link

pull-bot commented Jun 8, 2022

Warnings
⚠️ 🔒 package.json - Changes were made to package.json. This will require a manual import by a Facebook employee.

Generated by 🚫 dangerJS against 0599639

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D37004347

@react-native-bot react-native-bot added the Platform: iOS iOS applications. label Jun 8, 2022
@analysis-bot
Copy link

analysis-bot commented Jun 8, 2022

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,782,640 +0
android hermes armeabi-v7a 7,172,350 +0
android hermes x86 8,093,283 +0
android hermes x86_64 8,069,317 +0
android jsc arm64-v8a 9,649,489 +0
android jsc armeabi-v7a 8,408,181 +0
android jsc x86 9,600,998 +0
android jsc x86_64 10,194,061 +0

Base commit: a0e6ffe
Branch: main

@analysis-bot
Copy link

analysis-bot commented Jun 8, 2022

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: a0e6ffe
Branch: main

Summary:
Pull Request resolved: facebook#33978

This Diff moves part of the utilities from the `react_native_pods` file to a specific `utils.rb` file.

It adds tests for these utils and improve our test mocks.

The goal is to simplify the `react_native_pods.rb` so it's easier to work with it.

I decided to split this diff in 2 because it was becoming quite big.

## Changelog

[iOS][Changed] - Refactoring part of the react_native_pods.rb script

Reviewed By: cortinico

Differential Revision: D37004347

fbshipit-source-id: 0cb55d2555168b203d520265545851325ec8bbcd
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D37004347

cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request Jun 9, 2022
Summary:
Pull Request resolved: facebook#33978

This Diff moves part of the utilities from the `react_native_pods` file to a specific `utils.rb` file.

It adds tests for these utils and improve our test mocks.

The goal is to simplify the `react_native_pods.rb` so it's easier to work with it.

I decided to split this diff in 2 because it was becoming quite big.

## Changelog

[iOS][Changed] - Refactoring part of the react_native_pods.rb script

Differential Revision: D37004347

fbshipit-source-id: ecc1b1cb0825440e9e5ae5a92846bc8fe8602d99
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request Jun 9, 2022
Summary:
Pull Request resolved: facebook#33978

This Diff moves part of the utilities from the `react_native_pods` file to a specific `utils.rb` file.

It adds tests for these utils and improve our test mocks.

The goal is to simplify the `react_native_pods.rb` so it's easier to work with it.

I decided to split this diff in 2 because it was becoming quite big.

## Changelog

[iOS][Changed] - Refactoring part of the react_native_pods.rb script

Differential Revision: D37004347

fbshipit-source-id: 22e87b28ebe034e068eb0d5eba22212b6faed6c3
cipolleschi pushed a commit to cipolleschi/react-native that referenced this pull request Jun 10, 2022
Summary:
Pull Request resolved: facebook#33978

This Diff moves part of the utilities from the `react_native_pods` file to a specific `utils.rb` file.

It adds tests for these utils and improve our test mocks.

The goal is to simplify the `react_native_pods.rb` so it's easier to work with it.

I decided to split this diff in 2 because it was becoming quite big.

## Changelog

[iOS][Changed] - Refactoring part of the react_native_pods.rb script

Differential Revision: https://www.internalfb.com/diff/D37004347?entry_point=27

fbshipit-source-id: d56d6b940948951a66f8d60ae584be99491248f1
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @cipolleschi in 7a27044.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner Platform: iOS iOS applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants