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 git progress optional for use in CI contexts #12302

Open
1 task done
chrisyarbrough opened this issue Mar 1, 2024 · 0 comments
Open
1 task done

Make git progress optional for use in CI contexts #12302

chrisyarbrough opened this issue Mar 1, 2024 · 0 comments

Comments

@chrisyarbrough
Copy link

chrisyarbrough commented Mar 1, 2024

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:

image

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

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

No branches or pull requests

1 participant