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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fastlane require format non plugins with dash #7998

Merged
merged 2 commits into from
Jan 25, 2017
Merged

Fastlane require format non plugins with dash #7998

merged 2 commits into from
Jan 25, 2017

Conversation

joshdholtz
Copy link
Member

@joshdholtz joshdholtz commented Jan 25, 2017

Fixes #7502

fastlane_require "rest-client" was formatting rest-client as rest/client was causing a 馃挜

The comment above that logic was saying that replacing of - with / was specifically for fastlane-plugin- so now the logic inside of fastlane_require only replaces - with / if it starts with fastlane-plugin- 馃殌

Copy link
Contributor

@mfurtak mfurtak left a comment

Choose a reason for hiding this comment

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

馃憤

@ohayon
Copy link
Contributor

ohayon commented Jan 25, 2017

This is awesome! Thanks @joshdholtz !! 馃殌

@joshdholtz joshdholtz merged commit 051bf1f into fastlane:master Jan 25, 2017
@joshdholtz joshdholtz deleted the fastlane-require-format-non-plugins-with-dash branch January 25, 2017 16:37
Copy link
Member

@KrauseFx KrauseFx left a comment

Choose a reason for hiding this comment

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

Nice 馃憤

@KrauseFx KrauseFx mentioned this pull request Jan 26, 2017

def format_gem_require_name(gem_name)
# from "fastlane-plugin-xcversion" to "fastlane/plugin/xcversion"
gem_name = gem_name.tr("-", "/") if gem_name.start_with? "fastlane-plugin-"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would replace "fastlane/plugin/" to "fastlane-plugin-" be more portable? E.g. if the plugin name has a dash in it?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ahhh, good call good call - that is probably a lot safer. @ohwutup, i think you mentioned you did work on the initial plugin stuff. Is this a better way of doing it? ^

@fastlane fastlane locked and limited conversation to collaborators Apr 26, 2017
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

5 participants