bcbi / BCBI_base.jl

Julia packages commonly used by the Brown Center for Biomedical Informatics (BCBI)
MIT License
1 stars 0 forks source link

BCBI_v0.0.1-dev #18

Open mirestrepo opened 6 years ago

mirestrepo commented 6 years ago

This issue is to keep track of packages/improvements we may want on next dev release:

DilumAluthge commented 6 years ago

For checking out tagged versions of unregistered packages, I don't think we can use Pkg.checkout. You get an error trying to checkout a tag because no Git tracking information is available.

What we can do is directly go in with git and do a git checkout of the desired tag in the package directory. The problem with that approach is that it does add a Git dependency to BCBI_base.

What do you think?

mirestrepo commented 6 years ago

Let's investigate why base Julia is doing. Since they specifically checkout the tag registered in the metadata

DilumAluthge commented 6 years ago

So it’s changed in Pkg3. In Pkg3 they don’t even clone the repo. They just download the tree corresponding to the desired version.

I’m not sure how Pkg2 does it.

On Fri, Jun 29, 2018 at 10:26 Maria Isabel Restrepo < notifications@github.com> wrote:

Let's investigate why base Julia is doing. Since they specifically checkout the tag registered in the metadata

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/bcbi/BCBI_base.jl/issues/18#issuecomment-401370718, or mute the thread https://github.com/notifications/unsubscribe-auth/AFXArSvAdkX0neutZ3QxX1TLLy4xyqyuks5uBjklgaJpZM4U4EAb .

--

Dilum Aluthge

dilum@aluthge.com dilum@aluthge.com

https://www.aluthge.com https://www.aluthge.com