shodaaan commented on PR #1805:
URL: https://github.com/apache/jackrabbit-oak/pull/1805#issuecomment-2443503702

   > Added a few more points.
   > 
   > One general question is : as this command is clearly a test command not to 
be used against a production environment : how could that be emphasized. For 
example: we could add an explicit: "are you really sure you want to generate 
test garbage against ...". That would make it clear that the target repository 
is going to be written to. Wdyt?
   
   I resolved all of the points, thank you for the suggestions.
   
   Regarding the explicit check, I don't think this is necessary because 
oak-run is a tool that by design makes important / deep changes in the MongoDB 
it is run on, so users should always be careful and know the exact consequences 
of the commands they run. 
   The USAGE text clearly states what the command and associated subcommands do.
   Also, since oak-run commands are designed to be used "with intent", and not 
"by accident", having an additional confirmation step for each garbage 
generation command run would just annoy the user IMHO. I didn't see this check 
for any other command in oak-run.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to