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

Setup #250

Merged
merged 11 commits into from
Aug 25, 2023
Merged

Setup #250

merged 11 commits into from
Aug 25, 2023

Conversation

jreadey
Copy link
Member

@jreadey jreadey commented Aug 24, 2023

Updates to make it more convenient to directly run hsds app.

@jreadey jreadey requested a review from mattjala August 24, 2023 20:03
@@ -241,16 +249,25 @@ def main():
print(f"unsupported log_level: {log_level_cfg}, using INFO instead")
log_level = logging.INFO

print("set logging to:", log_level)
print("set logging to::", log_level)
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo?

README.md Outdated
4. Run the test suite. In a separate terminal run:
- Set user_name: `$ export USER_NAME=$USER`
- Set user_password: `$ export USER_PASSWORD=$USER`
- Set admin name: `$ export ADMIN_USER=$USER`
Copy link
Contributor

Choose a reason for hiding this comment

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

ADMIN_USER -> ADMIN_USERNAME

@mattjala
Copy link
Contributor

The unix socket tests and docker tests will work with the new build. Besides the ADMIN_USER -> ADMIN_USERNAME change in the README, LGTM.

mattjala
mattjala previously approved these changes Aug 24, 2023
@jreadey jreadey merged commit 6e26cf4 into master Aug 25, 2023
10 checks passed
else:
if not os.path.isdir(root_dir):
sys.exit(f"directory: {root_dir} not found")
bucket_path = os.path.join(root_dir, bucket_name)

Choose a reason for hiding this comment

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

@jreadey I think there is an issue here. The bucket name retrieved from the arg parser is in the form of a single-element list due to specifying nargs=1. This call to os.path.join then errors when passed a list.

@jreadey
Copy link
Member Author

jreadey commented Oct 17, 2023

yes, no sure how the nargs got in there.
I've checked in a fix on master.

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.

3 participants