Make git progress optional for use in CI contexts
chrisyarbrough opened this issue · comments
Chris Yarbrough commented
- I've read and understood the CONTRIBUTING guidelines and have done my best effort to follow.
Report
What did you do?
pod update
or
pod install --repo-update
What did you expect to happen?
I wanted an option to disable the progress reporting from the underlying git command when running on our Continuous Integration server.
What happened instead?
The git progress was reported as hundreds of spammy console lines in our build log:
Why not use --silent
We don't want to completely disable all output, since it's still helpful to see the status updates of Cocoapods itself. We just don't want the interactive progress reporting in our CI pipeline.
Proposal
Add a --no-progress
flag.
CocoaPods Environment
CocoaPods : 1.15.2
Ruby : ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin23]
RubyGems : 3.0.3.1
Host : macOS 14.3.1 (23D60)
Xcode : 15.2 (15C500b)
Git : git version 2.39.3 (Apple Git-145)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : cocoapods - git - https://github.com/CocoaPods/Specs.git @ e584c3efc483d5d33222d9dbb8ad22db03c01e3d