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

Different syntaxes for tags getconf and setconf with config type messages #1973

Closed
ChristopheBordieu opened this issue Jan 9, 2018 · 4 comments
Assignees
Labels

Comments

@ChristopheBordieu
Copy link

Hello,

I am using 1.1-rc5.

When getting conf with Messages tool, I type:
Messages --verbose --type config --tag getconf > conf.xml
When setting conf, I type:
Messages --verbose --type config setconf conf.xml

Why such a (n a priori unexpected) difference ? I needed to dig into code to see --tag must not be used when tag is setconf so that the message text can indeed be considered a file...

@ChristopheBordieu ChristopheBordieu changed the title Different syntaxes for tag getconf and setconf with Messages for config type Different syntaxes for tags getconf and setconf with config type messages Jan 9, 2018
@vladak vladak added the bug label Jan 9, 2018
@vladak
Copy link
Member

vladak commented Jan 9, 2018

Looks like a bug to me, will look in more detail later to confirm.

@vladak
Copy link
Member

vladak commented Jan 12, 2018

I think this is only a problem in the Messages shell script. The ConfigMessage handling considers setconf to be a tag.

@vladak vladak self-assigned this Jan 12, 2018
vladak pushed a commit to vladak/OpenGrok that referenced this issue Jan 12, 2018
@ChristopheBordieu
Copy link
Author

Thanks! Issue can be closed. Will reopen if needed.

@vladak
Copy link
Member

vladak commented Jan 13, 2018 via email

vladak pushed a commit that referenced this issue Jan 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants