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

chore: proposal to update the terminal output for the login #140

Merged
merged 8 commits into from
Sep 19, 2024

Conversation

uriii3
Copy link
Collaborator

@uriii3 uriii3 commented Sep 18, 2024

Trying to followup on Issue-139. Seems like a good idea to point out where the registration is from within the toolbox.
Not sure if the option of having it in the ReadMe is enough, to be discussed.

@uriii3 uriii3 changed the base branch from main to copernicusmarine-toolbox-v2 September 18, 2024 09:29
@uriii3 uriii3 requested a review from renaudjester September 18, 2024 14:06
b"Downloading CMEMS data requires a Copernicus Marine username "
b"and password, sign up for free at:"
b" https://data.marine.copernicus.eu/register"
) in self.output.stderr
assert b"username:" in self.output.stdout
Copy link
Collaborator

Choose a reason for hiding this comment

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

check that "copernicusmarine username:" is in the stdout
and maybe the password too 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm not sure we are entering anything, so not that sure that "coperniscusmarine password" appears there.... but I'll try. Do you prefer that I enter something to check if not?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah yeah true :D You can try by putting an input in the execute_command

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

check the tests and where they failed, it is this! We don't check that the password exists.

@uriii3 uriii3 merged commit 6698b90 into copernicusmarine-toolbox-v2 Sep 19, 2024
2 checks passed
@uriii3 uriii3 deleted the username branch September 19, 2024 15:21
@veenstrajelmer
Copy link

veenstrajelmer commented Sep 30, 2024

Fixes #139 (added this to make sure the PR is linked to the issue, but it does not seem to work)

renaudjester pushed a commit that referenced this pull request Oct 28, 2024
Making it easier for users to understand the login functionality.
renaudjester pushed a commit that referenced this pull request Oct 28, 2024
Making it easier for users to understand the login functionality.
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