Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

First app creation requires adding companyName #69

Closed
lacostej opened this issue Jul 23, 2015 · 5 comments
Closed

First app creation requires adding companyName #69

lacostej opened this issue Jul 23, 2015 · 5 comments
Labels

Comments

@lacostej
Copy link
Contributor

I am looking at adding this to the API.

There's a field contentProvider under https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/ra/user/detail but it is already set even if you have no app created. ITC isn't using it to prefill the form either:

screen shot 2015-07-23 at 19 31 11

Given that this parameter is to be used once only, I am not sure if I should modify client.create_application() (and add a default nil parameter) or find a better way to provide it (e.g. client.company_name). Not happy of that field either, because it would have strange reading/setting semantics. I suspect adding the parameter to create_application is better. Feedback ?

@KrauseFx
Copy link
Contributor

Yes, that would be awesome: fastlane-old/produce#54

Adding an optional parameter to create_application! sounds like a good plan.

Also, while you're at it, could you also raise a nice exception when the company name is required but not provided by the user?

@KrauseFx
Copy link
Contributor

Maybe @robwithhair and @buscarini have some comments 👍

lacostej added a commit to lacostej/spaceship that referenced this issue Jul 23, 2015
@lacostej
Copy link
Contributor Author

could you also raise a nice exception when the company name is required but not provided by the user?

ITC already does that and I have a test for that. See above PR. I find it strange that there's really no test on the part that does the creation work, https://github.com/fastlane/spaceship/blob/a4d7a8ca137b30dba4fae2482a7b40ef5d640b2e/lib/spaceship/tunes/tunes_client.rb#L148-L155

We test parsing data from ITC, but not that we are sending the right data.

Or am I missing something ?

@KrauseFx
Copy link
Contributor

@lacostej that's right, mostly responses right now.

@fastlanebot
Copy link

This issue was migrated to fastlane/fastlane#2073. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀

@fastlane-old fastlane-old locked and limited conversation to collaborators Mar 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants