Bug 748163 - Add Compiler Error and Warning count, and filename to build command feedback
Summary: Add Compiler Error and Warning count, and filename to build command feedback
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CSProcessor
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 751251
TreeView+ depends on / blocked
 
Reported: 2011-10-22 16:55 UTC by Joshua Wulf
Modified: 2014-10-19 22:59 UTC (History)
2 users (show)

Fixed In Version: 0.15.0
Clone Of:
Environment:
Last Closed: 2012-02-22 02:58:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Joshua Wulf 2011-10-22 16:55:49 UTC
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

Comment 1 Lee Newson 2011-10-24 03:30:22 UTC
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

Comment 2 Joshua Wulf 2011-11-04 10:07:58 UTC
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.

Comment 3 Lee Newson 2011-11-07 05:11:41 UTC
Okay removed the exclamation mark on that message and a few others. I also added in the "- Flawless Victory!" message on a successful build.

Comment 4 Joshua Wulf 2012-02-22 02:58:31 UTC
Verified in


CSProcessor client version: 0.17.0
Web Service at http://csprocessor.cloud.lab.eng.bne.redhat.com:8080/ version: 0.21.4


Note You need to log in before you can comment on or make changes to this bug.