fastlane-community / trainer

Convert xcodebuild plist and xcresult files to JUnit reports
https://krausefx.com
MIT License
248 stars 50 forks source link

Bloated installation #33

Open philliptharris opened 5 years ago

philliptharris commented 5 years ago

I just want a command line tool that will convert the Xcode plist files to JUnit XML reports. This seems like it would be a relatively straightforward and lightweight task.

The summary for trainer looked promising:

Convert xcodebuild plist files to JUnit reports

Great, that's what I want to do. Is this lightweight?

trainer was built to have the minimum code to generate JUnit reports for your CI system.

Great. "Minimum code" sounds nice.

So I decide to install this. I run:

sudo gem install trainer

Then I am horrified by the number of gems that get installed on my laptop. It takes 4 minutes and 30 seconds to install everything. When it is over, it has installed 58 gems, including google-cloud-storage, slack-notifier, uber, etc. Why do I need the Slack Notifier to parse a plist file?? I don't understand. I feel totally violated.

snatchev commented 5 years ago

Hello, The reason trainer has so many dependencies is because it contains a fastlane plugin which depends on fastlane. The only other dependency it has is a plist gem.

Extracting the plugin, or making it optional for people who already use fastlane would an awesome contribution to the project.

ileitch commented 4 years ago

+1 for this, we use Trainer directly and it's very unfortunate that all of Fastlane's dependencies are included.