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

Warn about potential incorrect use of cvmfs_talk #3303

Merged
merged 4 commits into from Jul 6, 2023
Merged

Warn about potential incorrect use of cvmfs_talk #3303

merged 4 commits into from Jul 6, 2023

Conversation

jblomer
Copy link
Member

@jblomer jblomer commented Jul 3, 2023

Fixes #3075

cvmfs/cvmfs_talk.cc Outdated Show resolved Hide resolved
Co-authored-by: Valentin Volkl <valentin.volkl@cern.ch>
Copy link
Contributor

@HereThereBeDragons HereThereBeDragons left a comment

Choose a reason for hiding this comment

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

only a small but important typo

during testing i also found the following:

cvmfs_talk
> Command missing

so maybe we can add that just calling cvmfs_talk falls back to --help? (could be another PR)

cvmfs/cvmfs_talk.cc Outdated Show resolved Hide resolved
"Warning: no instance was specified. In this case, the command "
"is executed for all instances defined in CVMFS_REPOSITORES but "
"this list is empty. Did you mean running \n\n"
" cvmfs_talk -i <repository name> <command>\n");
Copy link
Contributor

Choose a reason for hiding this comment

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

do you also want to add the option with -p <socket>?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think I'd rather not advertise the -p interface. Under normal circumstances, -i should be used.

@vvolkl vvolkl merged commit 2aa11f0 into devel Jul 6, 2023
3 of 4 checks passed
@vvolkl vvolkl deleted the fix-3075 branch August 15, 2023 08:46
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.

cvmfs_talk does not warn if -i repo is needed but not given
3 participants