DUNE-DAQ / nanorc

2 stars 2 forks source link

start_run -> run-start & stop_run -> run-stop #196

Closed plasorak closed 11 months ago

plasorak commented 1 year ago

Change the name of the following commands: start_run -> run-start stop_run -> run-stop as it's simpler to type.

wesketchum commented 1 year ago

... do we have to do this?

bieryAtFnal commented 1 year ago

I very much appreciate that the current commands will be deprecated before being removed. WIth that, that the related changes in scripts, etc. don't have to be made at exactly the same time as this change.

I'm a little confused by the naming and scope, though. Many other commands follow a pattern of <verb>_<optional noun(s)>, so I wonder if we are moving away from that with "run-start" (2 nouns?). Is this the new pattern? Also, there are other commands that have underscores, e.g. "enable_triggers". Will those also be changing?

plasorak commented 1 year ago

For the other underscores, I guess I was a bit scared that people wouldn't be able to use the RC anymore. Now, with the deprecation warnings idea, we could just make the same changes for all of them. Let's do this here once and for all.

Here is what I think (basically no underscore anymore, only hyphens):

I'm not sure what to do about the fact that the commands are verb-noun and run-start is the inverse of that.

bieryAtFnal commented 1 year ago

Would the following translations be possible for start/stop run commands? This would preserve the feature of having the first word be a verb...

Independent of the names that we choose, we should make sure that this is the last time that we change these names. I say this with the "Review and revision of appfwk complete (cmdlib,appfwk, iomanager, conf I/F, opmon I/F)" high-level task in mind. Recall that we will be working on this high-level task through Q2 2024. It would be silly to change these command names now and then change them again in 9 months.

plasorak commented 1 year ago

Could we discuss this at the next CCM meeting?

bieryAtFnal commented 1 year ago

Yes, of course.

plasorak commented 11 months ago

I'm going to assume that we want to delay discussion on this for Q2 2024.