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

[WIP] Improve support for having spaces in usernames #1

Closed
wants to merge 4 commits into from

Conversation

avsm
Copy link

@avsm avsm commented Sep 19, 2016

This generally improves shell quoting behaviour so that "Anil Madhavapeddy" is an acceptable Windows username (and incidentally, the default that it offered me in a fresh installation upon grokking my name).

However, it breaks at camlp4 installation time. This was a good place to stop since the rebasing of this branch over the opam#master branch eliminates the need for Camlp4 due to a patched version of Dose3 being present, so we can hopefully avoid patching anything to do with camlp4 on Windows...

However, this entire effort may be pointless since a large, large chunk of opam repository is likely to be broken on usernames with spaces due to shell quoting issues. It should improve the quality of the core build, at least...

Joint work with @dra27

Removes the symbolic link patch, which has been upstreamed from
4.02.3 -> 4.03.0

Signed-off-by: Anil Madhavapeddy <[email protected]>
This helps with the rebase to the latest OPAM alpha4, since that
version removes the need for camlp4 with the dose3 upgrade.

Signed-off-by: Anil Madhavapeddy <[email protected]>
@@ -29,7 +29,7 @@ src/%:

# Disable this rule if the only build targets are cold, download-ext or configure
# to suppress error messages trying to build Makefile.config
ifneq ($(or $(filter-out cold compiler download-ext lib-pkg configure,$(MAKECMDGOALS)),$(filter own-goal,own-$(MAKECMDGOALS)goal)),)
ifneq ($(or $(filter-out cold compiler download-ext download-pkg lib-pkg configure,$(MAKECMDGOALS)),$(filter own-goal,own-$(MAKECMDGOALS)goal)),)
Copy link
Owner

Choose a reason for hiding this comment

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

Cherry-picked straight in!

@@ -10,7 +10,7 @@ CAN_PKG=0
endif

ifndef FETCH
ifneq ($(shell command -v curl > /dev/null),)
ifneq ($(shell command -v curl 2> /dev/null),)
Copy link
Owner

Choose a reason for hiding this comment

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

Also cherry-picked straight in!

@avsm
Copy link
Author

avsm commented Jan 31, 2019

Fairly obsolete now :-)

@avsm avsm closed this Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants