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

[produce] Allow to enable/disable access_wifi service #13552

Merged
merged 2 commits into from
Jan 17, 2019

Conversation

TaimurAyaz
Copy link
Contributor

@TaimurAyaz TaimurAyaz commented Oct 17, 2018

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

iOS 12 added Access WiFi Information entitlement. Support for this was added to spaceship.portal.app_service but the triggers were not updated. Updating them in this PR.

Description

Allow produce to enable/disable access_wifi service

Added the following options to produce enable_services

--access-wifi          Enable Access WiFi

Added the following options to produce disable_services

--access-wifi         Disable Access WiFi

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

@TaimurAyaz
Copy link
Contributor Author

@googlebot I signed it!

@googlebot
Copy link

CLAs look good, thanks!

@TaimurAyaz TaimurAyaz force-pushed the add_new_services_to_produce branch from 82d38e3 to 87a546c Compare October 17, 2018 19:13
@betko
Copy link

betko commented Oct 30, 2018

Do you have plan to merge this feature?

@TaimurAyaz
Copy link
Contributor Author

@betko I am waiting on a review.

@TaimurAyaz
Copy link
Contributor Author

Bump

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.

Thanks for adding these in! Can you also change AccessWiFi to AccessWifi on https://github.com/fastlane/fastlane/blob/master/spaceship/lib/spaceship/portal/app_service.rb#L43?

Right now the current changes fail because they are expecting Spaceship.app_service.access_wifibut it is actually Spaceship.app_service.access_wi_fi because of the capital F on the line of code I linked above. If you change AccessWiFi to AccessWifi then your code changes will work 😊

@TaimurAyaz
Copy link
Contributor Author

Ah, right. Will do 👍

@joshdholtz
Copy link
Member

@TaimurAyaz Heyyyy! Are you cool if I add a commit to make this change? 😊

@TaimurAyaz
Copy link
Contributor Author

@joshdholtz go for it :)

@janpio janpio changed the title Allow produce to enable/disable access_wifi service [produce] Allow to enable/disable access_wifi service Nov 22, 2018
@alexzchut
Copy link

alexzchut commented Nov 27, 2018

@TaimurAyaz @joshdholtz Please update when this feature will be merged. Thanks!

@alexzchut
Copy link

@TaimurAyaz @joshdholtz Any news on merging this?
It is new feature being required for example for Chromecast support and currently only way is to enable it manually. If this PR is ready to be merged, please do to finally automate this ability...
Thanks a lot!

@antoinerabanes
Copy link

bump +1 I am running into this issue too

@googlebot
Copy link

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that 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 here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of all the commit author(s), set the cla label to yes (if enabled on your project), and then merge this pull request when appropriate.

@janpio janpio dismissed joshdholtz’s stale review December 22, 2018 11:10

Changed AccessWiFi to AccessWifi

@janpio
Copy link
Member

janpio commented Dec 22, 2018

I did make the change. Please review code again.

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.

We can ship this! 🙌

@fastlane-bot
Copy link

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

@fastlane fastlane locked and limited conversation to collaborators Mar 18, 2019
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.

8 participants