Julia packages as part of other repos

pkg

#1

We are currently having a discussion about the possibility of moving the Julia arrow implementation into the main arrow repo, if the arrow people ultimately decide that they want that.

Some of us have raised the concern that not having an “Arrow.jl” (i.e. a repo in the standard Julia package format) would greatly complicate its usage.

To be honest, I’m very skeptical about why they want to have an absolutely gigantic repo with every language under the sun in it, rather than having e.g. multiple repos within a github collaboration. Certainly this is on the opposite end of the spectrum from how most Julia packages are set up. Obviously I’m not going to persuade the arrow people to change that, so I’m perfectly willing to indulge this way of doing things if it gets Julia arrow compatibility moving forward.

I’m imagining that it might be possible to create an “Arrow.jl” repo somewhere that simply mirrors a directory within the main arrow repository, does anyone have any experience setting something like that up?

I’m also wondering if the Pkg3 people have any insightful comments about this.

Thanks all.


#2

Related: Options for working with SVN repo? . That post doesn’t really have any answers, other than that this sort of thing should be possible in Pkg3, but I suspect that you’ll learn things from thinking about this that would be useful in that thread as well.


#3

Pkg3 associates versions with git trees, which means, among other things, that the tree can be a subdirectory of a git repo, not just the root directory. So it would be possible to have an Arrow.jl subdiretory of the main arrow repo which has the standard Julia package layout. It doesn’t need to be named Arrow.jl either, it could be named julia to match the convention in that repo. We don’t really have much tooling support this yet, so it may be better to wait a bit, but this could also be a test case to drive the development of such tooling.