Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Remove command-line Git from Mac and Windows binaries #17294

Merged
merged 4 commits into from
Jul 14, 2016

Conversation

tkelman
Copy link
Contributor

@tkelman tkelman commented Jul 6, 2016

This is step 4 to fix #13958 (comment)

Git.jl is mostly set up at https://github.com/JuliaPackaging/Git.jl (thanks @ararslan for your help cleaning it up), though still need to

Then

Some of base Julia's tests assume coreutils (and perl) are present, and on Windows we've been borrowing those from the bundled Git.

  • reinstate busybox-w32 for these when GPL is allowed, skip the tests in a no-GPL build if coreutils isn't found. Or powershell-ify the tests.

@tkelman tkelman added the building Build system, or building Julia or its dependencies label Jul 6, 2016
@kshyatt kshyatt added the packages Package management and loading label Jul 6, 2016
@StefanKarpinski StefanKarpinski added this to the 0.5.0 milestone Jul 11, 2016
@tkelman
Copy link
Contributor Author

tkelman commented Jul 12, 2016

I expect to finish up the rest of the test modifications here tonight, just so people are aware.

@StefanKarpinski
Copy link
Member

I think that @vtjnash was working on adding BusyBox back. Not sure how that went.

@tkelman
Copy link
Contributor Author

tkelman commented Jul 13, 2016

It's not like we need to build it from source which might get a bit complicated, I was just planning on downloading a binary in win-extras since we'll only be using it for test purposes for the time being. We could leverage it for more interesting things later if we want to, but only in GPL-allowed builds.

edit: actually I think we're probably fine re: GPL because we're only invoking it as a command-line program and not linking to it, probably falls under the aggregation clause

tkelman added 3 commits July 13, 2016 03:07
We may want to make this conditional on USE_GPL_LIBS, though since
we're only running it as a command line executable and not linking
to it, it probably falls under the aggregation clause
note that one test involving perl is being skipped, but it
had been disabled until recently - ref e412c69
@tkelman tkelman force-pushed the tk/killgitwithfire branch from 9647f1e to b847d10 Compare July 13, 2016 11:02
@tkelman tkelman changed the title WIP: Remove command-line Git from Mac and Windows binaries RFC: Remove command-line Git from Mac and Windows binaries Jul 13, 2016
# - GNU coreutils (or equivalent)
# - perl

#TODO:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay addressing 4-year-old TODO's 1ddd163

it usually won't be in source builds
@tkelman
Copy link
Contributor Author

tkelman commented Jul 14, 2016

osx travis failure was a libgit2 segfault probably caused by #16537

@tkelman tkelman merged commit 1e9f691 into master Jul 14, 2016
@tkelman tkelman deleted the tk/killgitwithfire branch July 14, 2016 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies packages Package management and loading
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove command-line Git from Windows and Mac binaries
4 participants