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

Limit suite names to 37 characters or less #455

Merged
merged 1 commit into from
Oct 11, 2022

Conversation

mkavulich
Copy link
Collaborator

@mkavulich mkavulich commented Sep 27, 2022

Per discussion on #337, this implements a hard cap on suite names of 37 characters for ccpp_prebuild.

User interface changes?: [ Yes ]
If a user attempts to run ccpp_prebuild with a suite name longer than 37 characters, prebuild will fail with an error message indicating the problem.

Fixes: Part of #337 (ccpp_prebuild only)

Testing:
test removed:
unit tests:
system tests:
manual testing: Ran ccpp_prebuild.py both stand-alone and for SCM, script ran successfully for existing suites, and failed as expected when a new long suite name was introduced. Will run more tests if requested.

@mkavulich mkavulich added the ccpp_prebuild bugs, requests, etc. that involve ccpp_prebuild label Sep 27, 2022
Copy link
Collaborator

@gold2718 gold2718 left a comment

Choose a reason for hiding this comment

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

Looks good as a stopgap to save users headaches.

Copy link
Collaborator

@climbfuji climbfuji left a comment

Choose a reason for hiding this comment

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

Nice and easy fix, thanks!

@mkavulich mkavulich merged commit d4a0003 into NCAR:main Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ccpp_prebuild bugs, requests, etc. that involve ccpp_prebuild
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants