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

[pilot] do not advertise the skip_waiting_for_build_processing option when it is already set #21730

Merged
merged 4 commits into from Jan 15, 2024

Conversation

robinkunde
Copy link
Contributor

@robinkunde robinkunde commented Dec 15, 2023

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 see several green ci/circleci builds in the "All checks have passed" section of my PR (connect CircleCI to GitHub if not)
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary.
  • I've added or updated relevant unit tests.

Motivation and Context

Reduces superfluous output when uploading builds

Description

Testing Steps

Copy link
Collaborator

@lacostej lacostej left a comment

Choose a reason for hiding this comment

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

Hello,

Thanks a lot for the contribution.

Can you please rebase your PR on top of master, to fix the build checks. Also consider the comment.

Thanks!

@@ -72,8 +72,10 @@ def upload(options)
# Calling login again here is needed if login was not called during 'start'
Copy link
Collaborator

Choose a reason for hiding this comment

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

We could also put a UI.message in line 68, stating

UI.important("`skip_waiting_for_build_processing` used and `changelog` supplied - will wait until build appears on AppStoreConnect, update the changelog and then skip the rest of the remaining of the processing steps.")

That way we log something in all scenarios, and that would make it easier for someone with less knowledge understand better what is going on in that particular case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will do

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I took care of this. I struggled a bit with creating new spec tests. Let me know if I got anything wrong.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@lacostej Please take another look when you get a chance

@lacostej lacostej changed the title Do not advertise the skip_waiting_for_build_processing option when it is already set [pilot] Do not advertise the skip_waiting_for_build_processing option when it is already set Dec 17, 2023
Copy link
Collaborator

@lacostej lacostej left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the effort :) LGTM

@rogerluan rogerluan changed the title [pilot] Do not advertise the skip_waiting_for_build_processing option when it is already set [pilot] do not advertise the skip_waiting_for_build_processing option when it is already set Jan 14, 2024
pilot/lib/pilot/build_manager.rb Outdated Show resolved Hide resolved
pilot/lib/pilot/build_manager.rb Outdated Show resolved Hide resolved
pilot/spec/build_manager_spec.rb Outdated Show resolved Hide resolved
pilot/spec/build_manager_spec.rb Outdated Show resolved Hide resolved
Copy link
Member

@rogerluan rogerluan left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution @robinkunde 🤗 this LGTM!

@lacostej lacostej merged commit 94a4f40 into fastlane:master Jan 15, 2024
2 checks passed
@lacostej
Copy link
Collaborator

Thanks @robinkunde :)

@rogerluan
Copy link
Member

Thanks for fixing the issue I accidentally caused @lacostej ❤️

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.

None yet

3 participants