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

[deliver] set default ITMSTransporter transport flag to blank #16749 #16774

Conversation

castus
Copy link
Contributor

@castus castus commented Jul 6, 2020

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

It solves issue #16749

Description

According to Apple's Transporter User Guide 2.0 documentation Apple recommends to not specify transport option and let the tool to determine the best transport mode for packages. It is also visible in the comments, in the mentioned issue that setting this parameter to empty string, fix the issue.

Testing Steps

Try to use deliver or pilot to send build to TestFlight without DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS ENV variable being set.

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.

This is great! Thanks for fixing 😊 Just one request on adding a comment with the link to the GitHub issue that this is solving 💪 After that we will get this merged and released today!

# server outage, or something they changed without giving a heads-up
if ENV["DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS"].to_s.length == 0
ENV["DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS"] = "-t DAV,Signiant"
env_deliver_additional_params = ENV["DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS"]
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a comment above this with the new issue that this is fixing? 😊 I know that info will come in handy down the road

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, will do within 2 hours

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, please take a look ;)

Copy link
Member

Choose a reason for hiding this comment

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

This is perfect! Thank you ❤

@castus castus force-pushed the set-default-itmstransporter-transport-flag-to-none branch from 9049f50 to 977f872 Compare July 7, 2020 17:58
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.

Caught one more thing! Thoughts appreciated 😊

fastlane_core/lib/fastlane_core/itunes_transporter.rb Outdated Show resolved Hide resolved
@joshdholtz joshdholtz changed the title Set default ITMSTransporter transport flag to blank #16749 [deliver] set default ITMSTransporter transport flag to blank #16749 Jul 7, 2020
@googlebot
Copy link

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.

@googlebot googlebot added cla: no and removed cla: yes labels Jul 7, 2020
@joshdholtz
Copy link
Member

@googlebot I consent.

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: yes and removed cla: no labels Jul 7, 2020
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.

This is ready! Thanks again for making this PR ❤️ Really appreciate it!

@joshdholtz joshdholtz merged commit f2e2f8d into fastlane:master Jul 7, 2020
Copy link

@fastlane-bot fastlane-bot left a comment

Choose a reason for hiding this comment

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

Congratulations! 🎉 This was released as part of fastlane 2.151.0 🚀

minuscorp pushed a commit to minuscorp/fastlane that referenced this pull request Jul 18, 2020
…e#16749 (fastlane#16774)

* Set default ITMSTransporter transport flag to blank fastlane#16749

* Check upload options ENV if nil or empty

Co-authored-by: Josh Holtz <josh@rokkincat.com>
@fastlane fastlane locked and limited conversation to collaborators Sep 6, 2020
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

4 participants