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

Usability improvements (redux) #477

Merged
merged 19 commits into from
Aug 27, 2024

Conversation

blink1073
Copy link
Member

@blink1073 blink1073 commented Aug 27, 2024

A redo of #473 based on feedback from @eramongodb

  • Allow PYTHON to be provided instead of using find_python3
  • Fix handling of pathlib.Path().expanduser() on Windows
  • Add convenience Makefile targets for run-server and stop-server
  • Add top level documentation for running servers.

.evergreen/download-mongodb.sh Outdated Show resolved Hide resolved
.evergreen/download-mongodb.sh Outdated Show resolved Hide resolved
.evergreen/find-python3.sh Outdated Show resolved Hide resolved
.evergreen/handle-paths.sh Outdated Show resolved Hide resolved
.evergreen/handle-paths.sh Outdated Show resolved Hide resolved
.evergreen/stop-orchestration.sh Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
.evergreen/download-mongodb.sh Outdated Show resolved Hide resolved
.evergreen/download-mongodb.sh Outdated Show resolved Hide resolved
.evergreen/download-mongodb.sh Outdated Show resolved Hide resolved
echo "Finding Python3 binary..."
PYTHON="$(find_python3 2>/dev/null)" || return
echo "Finding Python3 binary... done."
PYTHON=$(ensure_python3) || return
Copy link
Contributor

@eramongodb eramongodb Aug 27, 2024

Choose a reason for hiding this comment

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

Unsure if Auth AWS test failures are related to changes in this PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

It looks like removing rm -rf mongodb will fix this one too: /tmp/test.sh: line 15: /root/mongosh: No such file or directory.

@blink1073
Copy link
Member Author

Copy link
Contributor

@eramongodb eramongodb left a comment

Choose a reason for hiding this comment

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

Minor suggestion; otherwise, LGTM. (No unexpected warnings or errors observed with patches for the C Driver or C++ Driver.)

@@ -4,6 +4,7 @@ all:
@echo "Project successfully compiled"

run-server:
rm -rf mongodb
Copy link
Contributor

Choose a reason for hiding this comment

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

May prefer moving this into a clean target instead of being part of the run-server target.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@blink1073 blink1073 merged commit ff8d3fa into mongodb-labs:master Aug 27, 2024
39 of 40 checks passed
@blink1073 blink1073 deleted the easy-startup-redux branch August 27, 2024 22:10
@blink1073
Copy link
Member Author

Thanks @eramongodb!

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.

2 participants