dking | Would somebody tell me how to properly set a git repository, including login, for a source-repository (when developing an element)? I think that I'm doing it wrong. | 14:43 |
---|---|---|
TheJulia | hmm... got an example of what your doing right now? | 14:45 |
TheJulia | I've seen it done *long* ago in a galaxy far far away called HP | 14:45 |
TheJulia | but admittedly that was ages ago | 14:45 |
dking | Well, I may have just been silly. I added `git://` in front of my ssh clone URL, and I just needed to paste it as is. | 14:51 |
dking | So, I have something like: my_code git /tmp/my-code git@git.private.repo:project/my-code.git That seems to work now. | 14:52 |
dking | However, I an now wondering if there would be a good way to specify credentials for accessing such a repo? I suppose that I could just set ssh keys in the build container if not. | 14:53 |
TheJulia | dking: git+ssh I *believe* is what you need | 15:37 |
TheJulia | I *think* that is the only way to do creds, i.e. key auth from the user's context | 15:38 |
TheJulia | I remember looking/wondering if I could do login/password *ages* ago and it not being possible then | 15:39 |
dking | It is logging in with creds for me now as it is. I'm assuming it just pulls them from my ssh configuration. | 15:42 |
TheJulia | yeah, it *should* if I'm remembering correctly | 15:45 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!