-
Notifications
You must be signed in to change notification settings - Fork 107
Pcp transient main #2196
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
Pcp transient main #2196
Conversation
|
@Maxusmusti, let's squash these commits down to one now, and perhaps drop the repeated comment from PR #2076 in favor of just one commit message describing this work. |
ba21701 to
55f948e
Compare
portante
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good change, not sure about how to solve the duplication of PCP commands from the persistent tools, we may to use a "mix-in" class (see https://www.residentmar.io/2019/07/07/python-mixins.html) to address that, and I am also not sure about the -transient suffix everywhere, seems like that could be in the tool metadata somehow, but would have to think about it. Just one change to consider inline ...
55f948e to
60d9966
Compare
63c82f2 to
3d52e17
Compare
3d52e17 to
1777418
Compare
webbnh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks generally good. I found a few things for you to consider addressing.
The biggest one is, what is the deal with agent/tool-scripts/pcp-transient? It claims to be deprecated but looks like new code? Should it be omitted from this PR, or is it supposed to be a placeholder for a future tool (in which case, "deprecated" is the wrong word!)?
c4f349c to
a304b9e
Compare
webbnh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I say "Ship it!".
I do have one question, but don't feel like you have to gate the merge on fixing it.
|
...but, you need a rebase.... |
a304b9e to
30eb5d7
Compare
|
Of course you actually need to rebase since I just merged #2206 (sorry ;-) ) |
portante
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code is pushing us to the edge of the usefulness of pbench-register-tool in bash.
6dfb201 to
c545a1b
Compare
webbnh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good -- I like the headers.
One comment and suggestion, but it doesn't need to gate the merge.
portante
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a rebase and a squash ... looks good otherwise (though addressing @webbnh's last comment might be worth it.
c545a1b to
e3bddaf
Compare
|
Rebased, squashed, and added suggested change. Also, the makefile needed to have "validate-hostname" and "validate-ipaddress" from the latest commit on main. |
Had filed #2212. |
- Introduces a transient option for the pcp tool
- Also adds new tool register options and naming conventions
- `--transient` and `--persistent` upon registration
e3bddaf to
86e2434
Compare
|
Just rebased on the validate-* fix |
Original: portante#14