Fork me on GitHub
#tools-deps
<
2019-12-19
>
vlaaad08:12:58

and yet there are tools already on top of tools-deps that do building and stuff

vlaaad08:12:08

although they are mostly about making jars from clojure source, haven't seen any that compile java

stijn09:12:17

is there a limit on the length of paths for tools.deps? when running clj (it's datomic ions push, but I don't think that matters) in Codebuild with local cache enabled for gitlibs it will fail with the following exeption

{:command-failed
 "{:op :push :region us-east-1}",
 :causes
 ({:message "Unable to transform path",
   :class   ExceptionInfo,
   :data    {:home   "/root",
             :prefix "/root/.gitlibs/libs",
             :resolved-coord
                     {:git/url       "<redacted>",
                      :sha           "e7cc7c48ea0af52f9380c61d2d946cac5d7068e0",
                      :deps/manifest :deps,
                      :deps/root     "/codebuild/local-cache/custom/b11f68d510f24e13d8132571e19ad44f6bd772898be1fc7b98e76106d7e1ab50/root/.gitlibs/libs/<redacted>/<repo>/e7cc7c48ea0af52f9380c61d2d946cac5d7068e0",
                      :paths         ["/codebuild/local-cache/custom/b11f68d510f24e13d8132571e19ad44f6bd772898be1fc7b98e76106d7e1ab50/root/.gitlibs/libs/<redacted>/<repo>/e7cc7c48ea0af52f9380c61d2d946cac5d7068e0/src"]}}})} 
If I run locally I don't see this problem and also when turning off cache for gitlibs, the problem disappears. Codebuild cache will create a symlink of /root/.gitlibs to /codebuild/local-cache/custom/b11f68d510f24e13d8132571e19ad44f6bd772898be1fc7b98e76106d7e1ab50/root/.gitlibs making the directory maybe too long?

alexmiller13:12:35

I’m not aware of a length issue, should probably ask in #datomic

vlaaad13:12:10

oh, right!