Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@thecosmicfrog
Copy link
Contributor

@thecosmicfrog thecosmicfrog commented Jun 3, 2020

Current implementation logs HTTP Basic Auth username and password from Git repo HTTP URLs to INFO log. This commit removes the repo URL from the affected log statement.

  • Removed GetRepoURL() function call from exporter cloning step.
  • Pedantic re-casing of "GIT" to "Git" 😅

Example:

[INFO]  [Jun  3 11:37:43.875] EXPORTER: GIT cloning from: https://alice.bob:[email protected]/companyrepo/consul-kv

…m Git repo HTTP URLs to INFO log. This commit removes the repo URL from the affected log statement.

* Removed GetRepoURL() function call from exporter cloning step.
@thecosmicfrog
Copy link
Contributor Author

Hi @eduardev - when you have a moment, could you give this a review?

@fabiomsouto fabiomsouto self-requested a review June 4, 2020 11:01
Copy link
Contributor

@fabiomsouto fabiomsouto left a comment

Choose a reason for hiding this comment

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

Hey @thecosmicfrog,

I'll merge this in, it's a reasonable concern and the fix is proper.

@fabiomsouto fabiomsouto merged commit 7192327 into miniclip:master Jun 4, 2020
@fabiomsouto
Copy link
Contributor

Thanks for this!

@thecosmicfrog
Copy link
Contributor Author

Wonderful! Thanks @fabiomsouto!

@thecosmicfrog
Copy link
Contributor Author

@fabiomsouto Quick question - will you be building a v0.2.3 Docker image with this change? I'd like to roll this out today with INFO logging enabled (now that it's safe for us) if it's possible :)

Thanks!

@fabiomsouto
Copy link
Contributor

I've tagged it a couple of minutes ago, should be there now. Enjoy!

@thecosmicfrog
Copy link
Contributor Author

@fabiomsouto Brilliant - thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants