Skip to content

Issue with repository with many deps.edn files #23

@kyle-hiller-nh

Description

@kyle-hiller-nh

Hello

I'm trying to test this library out for migrating a Clojure monorepo into a polyglot monorepo. I am personally not a Clojure dev and have limited experience with the tooling. Our structure is such that we have many directories containing deps.edn files

dir1/ 
    src/
    deps.edn
dir2/
    src/
    deps.edn

the deps.edn inside dir2 will look something like

{
    :paths
    ["src"]
    :deps
    {
     ...
     local-library { :local/root ../dir1/, :deps/manifest :deps }
    }
}

What I'm assuming its doing is that it's saying is that it is fetching the dependency from dir1 and specifying that the manifest file is from the :deps key stored in dir1, including that in the repository :local/root and then naming it local-library.

However, when I try to set up my clojure_tools_deps and gen_srcs to point at dir2, it gives me the following error:

Could not find metadata deps-ancient:deps-ancient/maven-metadata.xml in local

I'm guessing this is something to do with it not being able to recursively traverse the deps.edn so some transitive dependency specified in the dir1 library is missing?

Any advice on how to resolve this or corrections to my assumptions here would be helpful! This looks great and exactly like what we need.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions