So: [jwulf@gaura Zanata topicized]$ skynet build 1 Skynet client version: 9.0 Loading configuration from /home/jwulf/.config/skynet.ini Web Service at http://localhost:8080/ version: 9.0 INFO: Content Specification built with 3 Errors and 2 Warnings INFO: Output saved as Zanata-Quickstart.zip or [jwulf@gaura Zanata topicized]$ skynet build 1 Skynet client version: 9.0 Loading configuration from /home/jwulf/.config/skynet.ini Web Service at http://localhost:8080/ version: 9.0 INFO: Content Specification built with 0 Errors and 0 Warnings - Flawless Victory! INFO: Output saved as Zanata-Quickstart.zip
Done. New output when not overwriting existing files: [lee@dhcp-1-77 ~]$ skynet build 311 Skynet client version: 10.0 Loading configuration from /home/lee/.config/skynet.ini Web Service at http://localhost:8080/ version: 10.0 /home/lee/Zanata_Quickstart.zip already exists! Overwrite existing file (y/n)? n INFO: Content Specification successfully built with 22 Errors and 0 Warnings! And when you do overwrite (or the file doesn't initially exist): [lee@dhcp-1-77 ~]$ skynet build 311 Skynet client version: 10.0 Loading configuration from /home/lee/.config/skynet.ini Web Service at http://localhost:8080/ version: 10.0 /home/lee/Zanata_Quickstart.zip already exists! Overwrite existing file (y/n)? y INFO: Content Specification successfully built with 22 Errors and 0 Warnings! INFO: Output saved to: /home/lee/Zanata_Quickstart.zip And when their are no errors/warnings: [lee@dhcp-1-77 ~]$ skynet build 311 Skynet client version: 10.0 Loading configuration from /home/lee/.config/skynet.ini Web Service at http://localhost:8080/ version: 9.0 /home/lee/Zanata_Quickstart.zip already exists! Overwrite existing file (y/n)? y INFO: Content Specification successfully built with 0 Errors and 0 Warnings! INFO: Output saved to: /home/lee/Zanata_Quickstart.zip
Great. Works well and looks good. One small thing - can we remove the exclamation mark? That should only be used when the user *must* pay attention to a message. In this case the user can safely ignore the message, which is informational only. In that case the exclamation point should not used (otherwise you have nowhere to go when you do need to dial it up to 11) Up to you if you target 0.15.0 or 0.14.1.
Okay removed the exclamation mark on that message and a few others. I also added in the "- Flawless Victory!" message on a successful build.
Verified in CSProcessor client version: 0.17.0 Web Service at http://csprocessor.cloud.lab.eng.bne.redhat.com:8080/ version: 0.21.4