You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.
So, to summarize, in Julia 1.6 the only non-stdlib dependencies of GitCommand are:
ReplMaker v0.2.4
JLLWrappers v1.2.0
Expat_jll v2.2.7+6
Gettext_jll v0.20.1+7
Git_jll v2.31.0+0
Libiconv_jll v1.16.0+7
OpenSSL_jll v1.1.1+6
XML2_jll v2.9.11+0
I would eventually (in the distant future) like to add support to Pkg.jl that allows Pkg to use either LibGit2 or command-line Git for Git operations. This would involve making GitCommand.jl a dependency of Pkg. Since Pkg is a stdlib, this means that we would need to make GitCommand a stdlib; we would also need to make all of GitCommand's dependencies into stdlibs.
So I want to minimize the number of dependencies that GitCommand has, because each dependency would need to become a stdlib.
Obviously we can't get rid of Git_jll since it provides the Git binary. Git_jll depends on JLLWrappers, so we can't get rid of JLLWrappers. And Git_jll also depends on Expat_jll, Gettext_jll, Libiconv_jll, OpenSSL_jll, and XML2_jll, so we can't remove any of those dependencies.
But, for Pkg integration, we don't need the Git REPL mode. So, I'd like to move the Git REPL mode into a separate package. This allows us to remove the ReplMaker.jl dependency from GitCommand.
The text was updated successfully, but these errors were encountered:
Yeah, I think since it's so hard to use Git_jll directly because you need to do all this fiddling, it's great to have a wrapper to handle it for you, and there's a reasonable set of users which would never need the interactive functionality (e.g. AnalyzeRegistry, Pkg) but who would need the wrapping of Git_jll, so it makes sense to separate out the interactive stuff.
Here's another benefit: Currently, when you do using GitCommand, it doesn't automatically init the REPL mode. You have to do using GitCommand; gitrepl() to set up the REPL mode.
But if we have a dedicated GitRepl.jl package, then we could automatically initialize REPL mode when you do using GitRepl.
Currently, here are the direct dependencies of GitCommand.jl:
And here are the recursive (indirect) dependencies, including packages that are stdlibs on Julia 1.6:
If I remove the packages that are stdlibs on Julia 1.6, here are the remaining recursive (indirect) dependencies:
So, to summarize, in Julia 1.6 the only non-stdlib dependencies of GitCommand are:
I would eventually (in the distant future) like to add support to Pkg.jl that allows Pkg to use either LibGit2 or command-line Git for Git operations. This would involve making GitCommand.jl a dependency of Pkg. Since Pkg is a stdlib, this means that we would need to make GitCommand a stdlib; we would also need to make all of GitCommand's dependencies into stdlibs.
So I want to minimize the number of dependencies that GitCommand has, because each dependency would need to become a stdlib.
Obviously we can't get rid of Git_jll since it provides the Git binary. Git_jll depends on JLLWrappers, so we can't get rid of JLLWrappers. And Git_jll also depends on Expat_jll, Gettext_jll, Libiconv_jll, OpenSSL_jll, and XML2_jll, so we can't remove any of those dependencies.
But, for Pkg integration, we don't need the Git REPL mode. So, I'd like to move the Git REPL mode into a separate package. This allows us to remove the ReplMaker.jl dependency from GitCommand.
The text was updated successfully, but these errors were encountered: