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

[action][git_add] remove all instances of is_string in options and use type #18882

Merged
merged 5 commits into from Jun 15, 2021

Conversation

crazymanish
Copy link
Member

Checklist

  • I've run bundle exec rspec from the root directory to see all new and existing tests pass
  • I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary.

Motivation and Context

  • is_string is slowly being replaced by type to make the docs clearer, options safer, and Swift generation more correct.
  • This PR does this for only git_add action.

Description

  • Remove is_string: true from options

Testing Steps

  • bundle exec rspec fastlane/spec/actions_specs/git_add_spec.rb
  • No functionality changed, all existing unit tests should pass.

@google-cla google-cla bot added the cla: yes label Jun 13, 2021
# 'git_add(path: "./Frameworks/*", shell_escape: false)',
'git_add(path: ["*.h", "*.m"], shell_escape: false)'
# 'git_add(path: "./Frameworks/*", shell_escape: false)',
# 'git_add(path: "*.txt", shell_escape: false)'
Copy link
Member Author

Choose a reason for hiding this comment

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

Force to disable this otherwise test_sample_code is failing...
https://github.com/fastlane/fastlane/blob/master/fastlane/actions/test_sample_code.rb

Not sure, how to deal with it properly, will wait for Josh's recommendation here 😇

Screenshot 2021-06-13 at 17 10 38

Copy link
Member Author

Choose a reason for hiding this comment

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

@joshdholtz
Copy link
Member

@crazymanish I'll handle this rebase!

@joshdholtz joshdholtz force-pushed the crazymanish-git_add-clean-up branch from c579a4a to ed7f7b5 Compare June 15, 2021 19:35
@google-cla
Copy link

google-cla bot commented Jun 15, 2021

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@google-cla google-cla bot added cla: no and removed cla: yes labels Jun 15, 2021
@joshdholtz
Copy link
Member

@googlebot I consent.

@google-cla google-cla bot added cla: yes and removed cla: no labels Jun 15, 2021
Copy link
Member

@joshdholtz joshdholtz left a comment

Choose a reason for hiding this comment

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

🔥

@joshdholtz joshdholtz merged commit 662a57c into master Jun 15, 2021
@joshdholtz joshdholtz deleted the crazymanish-git_add-clean-up branch June 15, 2021 20:19
@fastlane-bot
Copy link

Hey @crazymanish 👋

Thank you for your contribution to fastlane and congrats on getting this pull request merged 🎉
The code change now lives in the master branch, however it wasn't released to RubyGems yet.
We usually ship about once a week, and your PR will be included in the next one.

Please let us know if this change requires an immediate release by adding a comment here 👍
We'll notify you once we shipped a new release with your changes 🚀

@fastlane fastlane locked and limited conversation to collaborators Aug 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants