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

POC: Simplify clean command's approach remove_dirs #1415

Closed
wants to merge 1 commit into from

Conversation

BurtHarris
Copy link

@BurtHarris BurtHarris commented Dec 29, 2017

This is a proof of concept PR for discussion only, do not merge.

I'm not currently able to get tests to pass with this change.

Fixes #607 which only happens with Junction Points on Windows. The fix discussed in the issue was to first try the simple approach of deleting a directory with unlink before launching into recursing into its directory structure.

Fixes 607 which only happens with Junction Points on Windows.   The fix discussed in the issue was to first try the simple approach of deleting a directory with unlink before launching into recursing into its directory structure.
@BurtHarris
Copy link
Author

The "All checks have passed" message has me puzzled. Is appveyor running tests?

Perhaps there's something wrong with the configuration of my dev machine, but I can't get the tests to run successfully.

@whoisj
Copy link

whoisj commented Dec 30, 2017

The "All checks have passed" message has me puzzled. Is appveyor running tests?

AppVeyor says: "The build job has not produced any test results." 😏

@BurtHarris
Copy link
Author

Yea, I guess that may be an indication that I may not be alone in having trouble getting the tests to run.

@dscho
Copy link
Member

dscho commented Jan 2, 2018

AppVeyor says: "The build job has not produced any test results." 😏

That's because AppVeyor has a 20 minute timeout, and the VMs they use would probably spend something like 2 hours to run the entire test suite.

if (res == 0) {
printf(dry_run ? _(msg_would_remove) : _(msg_remove), path->buf);
ret = res;
goto out;

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@dscho
Copy link
Member

dscho commented Jan 2, 2018

I'm not currently able to get tests to pass with this change.

For me, the current revision of this Pull Request passes on Windows, on Linux and on macOS. Could you provide details how it is failing for you?

@BurtHarris
Copy link
Author

Sorry @dscho, I've been engaged on non-software matters, just getting back to this (on a new machine.)

Its been so long I have forgotten what prerequisites to install to build, I don't even have a "make" command in my default CMD prompt. Can you recommend which make to use? (I'm now wondering if some sort of build tool mismatch might have lead to my previous problems.)

I looked for a prerequisites list or some sort of build/test cycle docs specific to Windows, but didn't find one. Did I miss something obviously.

@dscho
Copy link
Member

dscho commented Apr 23, 2018

Just download and install the Git for Windows SDK. It should make things easier now (we worked a bit on it in the meantime).

@dscho
Copy link
Member

dscho commented Jul 27, 2018

Just to reiterate: I think that the plain I outlined earlier is our best bet to resolve this once and for all. Sadly, I really need to rely on contributors taking up the challenge, as I am too swamped with other projects (such as Google Summer of Code, mentoring essentially three students, getting range-diff upstream and GitGitGadget set up. Oh, and day job).

@dscho
Copy link
Member

dscho commented Dec 11, 2018

Superseded by #1976.

@dscho dscho closed this Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

git clean removes content of symlinks
3 participants