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

Fix locks for git+ssh with credentials. #1923

Merged
merged 6 commits into from
Oct 1, 2022
Merged

Conversation

jsirois
Copy link
Member

@jsirois jsirois commented Sep 30, 2022

Previously redacted credentials from the Pip download log were embedded
in locked artifact URLs rendering the lock unusable. Now credentials are
fixed up before the lock file is written.

Fixes #1918

Previously redacted credentials from the Pip download log were embedded in
locked artifact URLs rendering the lock unusable. Now credentials are fixed
up before the lock file is written.

Fixes pex-tool#1918
@jsirois jsirois temporarily deployed to CI September 30, 2022 18:44 Inactive
@jsirois jsirois temporarily deployed to CI September 30, 2022 18:44 Inactive
@jsirois jsirois temporarily deployed to CI September 30, 2022 18:44 Inactive
@jsirois jsirois temporarily deployed to CI September 30, 2022 18:44 Inactive
@jsirois jsirois temporarily deployed to CI September 30, 2022 18:44 Inactive
@jsirois jsirois temporarily deployed to CI September 30, 2022 18:44 Inactive
@jsirois jsirois temporarily deployed to CI September 30, 2022 18:44 Inactive
@jsirois jsirois temporarily deployed to CI September 30, 2022 18:44 Inactive
@jsirois jsirois temporarily deployed to CI September 30, 2022 18:44 Inactive
@jsirois jsirois temporarily deployed to CI September 30, 2022 18:44 Inactive
@jsirois jsirois temporarily deployed to CI September 30, 2022 18:44 Inactive
@jsirois
Copy link
Member Author

jsirois commented Sep 30, 2022

Reviewers - there is definitely thrash going on here with CI, but only CI. The code and tests are good to go; I'm just trying to get cloning of git+ssh://[email protected]... repos working in CI.

@jsirois
Copy link
Member Author

jsirois commented Sep 30, 2022

Alright - I could think of no awesome way to get the git+ssh IT to work on a fork; so I just made the test active on main where an ssh private key secret is available.

@jsirois jsirois merged commit 9491a45 into pex-tool:main Oct 1, 2022
@jsirois jsirois deleted the issues/1918 branch October 1, 2022 01:31
@jsirois
Copy link
Member Author

jsirois commented Oct 1, 2022

Ok - the tests are not being skipped on main and they are going green: https://github.com/pantsbuild/pex/actions/runs/3162686552/jobs/5149591143#step:8:1055

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

Successfully merging this pull request may close these issues.

git username replaced with **** redaction in lockfile for git+ssh direct references
2 participants