poudriere
poudriere copied to clipboard
Behaviour of -c option between bulk and testport
I was testing a new port with a lot of dependencies, so I've ran the command "testport -c" to be able to build and test with all different port's option. poudriere testport -c category/name
Once done, I've replaced the command 'testport' by a 'bulk' to generate the package to test it. But the '-c' was still here, and I'm ending rebuilding 500 packages because the "bulk -c" mean clean all existing packages :-( Which mean my CPU consumed electricity because this stupid mistake, then generated CO2 for nothing, then it will end life on earth earlier than expected. So could you have a smart idea (because I have no idea how to do that) to prevent that:
- By adding some user confirmation if run from a tty ?
- Or creating a DNA patch for human brain, preventing me doing this error again ?
Thanks