-
Notifications
You must be signed in to change notification settings - Fork 202
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
Move existing client script code to a better place #2985
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2985 +/- ##
==========================================
+ Coverage 91.70% 91.72% +0.01%
==========================================
Files 202 203 +1
Lines 12718 12722 +4
==========================================
+ Hits 11663 11669 +6
+ Misses 1055 1053 -2
Continue to review full report at Codecov.
|
I'd still prefer this under a new module to prevent the "script" module from growing too big. And I generally don't think it is bad to add relevant version components to a (library) name. It would just be nice not to mix messy code with other potentially messy code or simply code which previously had not business with that client code. |
Especially if the PR title is insinuating that the Script module is a code graveyard ;-) I'm still unclear what the long-term plan is with this code. What is the would be new module going to be about? Is this a "Legacy" module? Or a "ClientV1"? What else will live in it? |
I have the same questions as you do :) Script was a suggestion from @kraih . If he prefers Script.pm I would use that. Another name would also be ok. As I stated about "old" already in before, the same applies to "legacy", it becomes ambiguous soon. One can say every code becomes "legacy" as soon as it reaches master ;) |
The name isn't that important. It would be useful to have an explaining comment like |
Agree about |
Ok, so my proposal is based on current master:
ok? |
ba15455
to
b490c13
Compare
Yes, that seems to be the best solution I can currently think of. |
b5d1d84
to
0eac5ef
Compare
* Move current functions in OpenQA::Scripts in OpenQA::Scripts::CloneJob, leave OpenQA::Scripts empty * Move functions used by script/client from OpenQA::Client to OpenQA::Scripts::Client See discussion in os-autoinst#2933
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.
I would have preferred if the code had not been moved in the first place.
We know |
See discussion in #2933