Fork me on GitHub
#tools-deps
<
2019-04-18
>
kenny00:04:08

Interesting... Thinking I'll attempt the path of adding an SSH key to the CI. If too painful, will try the clojure script hacking.

jeroenvandijk08:04:45

@kenny You can also play with gitconfig and for instance switch between ssh and https without code changes

# [url ""]
#   insteadOf = :

[url "[email protected]:"]
	insteadOf = 

jeroenvandijk08:04:59

part of my ~/.gitconfig

kenny14:04:57

@jeroenvandijk But this won't let tools-deps support https auth, correct?

jeroenvandijk14:04:48

My guess is that you can even achieve that https://git-scm.com/docs/gitcredentials

jeroenvandijk14:04:06

i did only the opposite as the https auth for github is limited

jeroenvandijk14:04:48

we're using circleci and they even have a feature to add an ssh key of another user (over a deploy key) to the project automatically

dominicm19:04:02

@alexmiller what do you think about gitlibs making clones read only so that they aren't accidentally modified by user error?

Alex Miller (Clojure team)19:04:19

you mean the working tree I presume

ghadi19:04:45

there's no such thing

ghadi19:04:20

readonly directory means you cannot add or remove to it. modifying an existing file is still fair play

ghadi19:04:33

you'd have to ensure that every file was r/o too

Alex Miller (Clojure team)19:04:25

I assumed that's what we were talking about

dominicm19:04:51

I'll lodge a JIRA

Alex Miller (Clojure team)19:04:09

the dirs under ~/.gitlibs/libs are sha-pegged and shouldn't change

Alex Miller (Clojure team)19:04:03

does changing those properties affect whether it looks like the correct working tree to git?

Alex Miller (Clojure team)19:04:34

I guess I'm asking if file attributes affect the sha, but looks like no

dominicm22:04:04

Some do, like +x