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] Fixed filename for review information of AppStoreConnect #16963

Merged
merged 2 commits into from Jul 29, 2020

Conversation

ha1f
Copy link
Contributor

@ha1f ha1f commented Jul 29, 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

As for upload_to_app_store docs, I guess filename for "Review Information Metadata" is wrong.

Description

I changed filename for doc to match the implementation.

Since we use key of UploadMetadata::REVIEW_INFORMATION_VALUES_LEGACY for its filename here.

resulting_path = File.join(base_dir, "#{file_key}.txt")

I'm not sure which is wrong, generate path or docs.
If I have to change generate function instead, I'll implement it.

Testing Steps

@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 with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@ha1f
Copy link
Contributor Author

ha1f commented Jul 29, 2020

@googlebot I signed it!

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@ha1f ha1f changed the title Fixed filename for review information of AppStoreConnect [deliver] Fixed filename for review information of AppStoreConnect Jul 29, 2020
@joshdholtz
Copy link
Member

@ha1f Oh no! I hope I didn’t introduce a breaking change on accident 😱 What file names were you using? Were you using review_first_name and review_last_name?

@ha1f
Copy link
Contributor Author

ha1f commented Jul 29, 2020

@joshdholtz I'm sorry, but we didn't use the files so far.

I just found that doc says "first_name.txt", though download_metadata produces "review_first_name.txt".

I read some code, but I couldn't find which is correct in a meantime.

@joshdholtz
Copy link
Member

@ha1f Ohhhhhh, I see I see! Are you cool if I add on to this PR? 😊 I think I want to keep the docs the way they are. Download meta I think I want to produce first_name (not review_first_name) but I also need to add back support review_first_name 😇

I didn’t realize this got messed up 😱

@ha1f
Copy link
Contributor Author

ha1f commented Jul 29, 2020

Oh, I see!

Of course, thanks for your help!

…d meta sets new keys, uploading looks for both keys, and shows if using deprecated key
@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.

@joshdholtz
Copy link
Member

@googlebot I consent.

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@joshdholtz
Copy link
Member

@ha1f I added my commit! Would you mind reviewing my changes if you have time? 😇

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 so much for catching this issue and starting this PR! Really appreciate the contribution ❤️

@joshdholtz joshdholtz merged commit 6981b10 into fastlane:master Jul 29, 2020
This was referenced Jul 29, 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.154.0 🚀

@ha1f
Copy link
Contributor Author

ha1f commented Jul 30, 2020

Good morning (from Japan).

Thank you so much @joshdholtz !

@fastlane fastlane locked and limited conversation to collaborators Sep 28, 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