Repository navigation
Pass username from credential helper - #10613
Conversation
|
Let me know if there is a proper solution for the |
|
Pushed some commits, with some minor fixups (some related, some not, see commit messages for more detail). The main bit is untangling the I also made sure we had tests for this, making sure that credentials are properly loaded from the client - we didn't have tests for this really at all (see my comment in #10427 (comment)), so I've added these. |
This reverts commit 4a7e345.
Closes #10612. Signed-off-by: Manuel Leonhardt <[email protected]>
We weren't doing this before - this could have appeared as a bug later on. Signed-off-by: Justin Chadwell <[email protected]>
This was always broken. Signed-off-by: Justin Chadwell <[email protected]>
Signed-off-by: Justin Chadwell <[email protected]>
f81f081 to
14c97ed
Compare
Signed-off-by: Justin Chadwell <[email protected]>
Signed-off-by: Justin Chadwell <[email protected]>
14c97ed to
da2fadd
Compare
Many thanks. Looks great! Seems to work from what I can tell, testing locally.
Yes, that
I was just about to push the tests I wrote this morning when I saw your pushes. Yours are much more comprehensive. So thanks for that as well. |
|
Hey folks I know you are fast and I don't want nag/annoy, but is there an ETA on when this PR is merged? Or is there a way to specify in the install script to use another branch/repo and build from source? This is kinda urgent for me as I am currently writing my bachelors thesis around Dagger as its main tool and need a proper solution to pull other repos in a GitLab environment, SSH Keys and PATs are for me and our GitLab setup not a really viable workaround... |
|
@daniel-naegele the last activity here was less than 24 hours ago 😁 it's moving, don't worry! It's also in the next release milestone, so we'll it'll be part of our next release sometime next week (exact datetime tbd). I'm just waiting for @grouville to have a chance to review 😁 |
See #10605 (comment) where this was reported first.
With #10605 we introduced
Git.httpAuthUsername; however, during refactoring, the part where the username was passed on from the credential helper was accidentally removed. This PR adds it back.During testing, I encountered the following error:
I couldn't find any solution other than using
dagql.Stringagain. This approach was specifically requested not to be used by @jedevc during review of #10605. Perhaps this was why @grouville useddagql.Stringin the first place? Thus, I reverted that bit from the previous PR and added the fix on top.Closes #10612.