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

Make PodsDummy class unique to each target #402

Merged
merged 1 commit into from Jul 15, 2012

Conversation

dlvenable
Copy link
Contributor

The PodsDummy class can cause linker errors when using a static library project and a unit test. I changed the installer to create unique PodsDummy classes using the label provided by TargetDefinition.

This should fix:
#342
#370

…arget by using the Target Definition's label.
@travisbot
Copy link

This pull request passes (merged c3d1e83 into ea64987).

@alloy
Copy link
Member

alloy commented Jul 15, 2012

Awesome. Thanks!

Would you like push access?

alloy added a commit that referenced this pull request Jul 15, 2012
Make PodsDummy class unique to each target
@alloy alloy merged commit 09ebfb1 into CocoaPods:master Jul 15, 2012
@dlvenable
Copy link
Contributor Author

Thanks for merging it.

Regarding pull requests, what would that entail, specifically for code reviews? Since I'm not a regular contributor I think code reviews for significant changes are appropriate.

@alloy
Copy link
Member

alloy commented Jul 16, 2012

Regarding pull requests, what would that entail, specifically for code reviews? Since I'm not a regular contributor I think code reviews for significant changes are appropriate.

Small changes, like doc changes, can be pushed directly. Having push access lowers the barrier for such ‘simple’ yet very important changes.

For significant changes you can still use a pull-request to discuss, but after having discussed it and you possibly making suggested changes to the patch, there comes a point where the response will be: “after you change X the patch is good and can be merged”, having push access means that we don’t have to yet again spend time on it, because you can then merge it yourself.

The choice is really up to you, we simply have a ‘1-patch for commit bit’ policy, which is why I asked. One important warning is that you would get a lot more emails from GitHub (if you didn’t disable email notifications), because GitHub doesn’t yet allow you to disable notifications for ‘organisations’.

@dlvenable
Copy link
Contributor Author

Thanks for the explanation. I like that approach and would like push access. Thanks for warning on the emails - I recently received push access for the Specs repo and have experienced the many emails.

@alloy
Copy link
Member

alloy commented Jul 17, 2012

@dlvenable Done, welcome! :)

jzapater pushed a commit to jzapater/CocoaPods that referenced this pull request Sep 17, 2013
alloy added a commit that referenced this pull request Oct 25, 2014
Make PodsDummy class unique to each target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants