cv / cruise-information-radiators

Some information radiators for CruiseControl(.java/.net/.rb) built with Processing and Quartz Composer

cruise-information-radiators / Quartz Composer / Build Monitor Template.qtz
100644 71 lines (65 sloc) 17.309 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
bplist00
Xcategory_inputParametersYrootPatchTnameYcopyright^portAttributes[description_frameworkVersion_editorViewerWindowYprotocolsWUtility _!_protocolInput_RSSArticleDurationWRefresh__protocolInput_RSSFeedURL__protocolInput_PreviewMode##@$_3http://cclive.thoughtworks.com/dashboard/cctray.xml<UstateUclassUnodes[connectionsXuserInfo_publishedInputPorts_publishedOutputPortsXtimebase (@!"&'Skey#$%_synchronousModeO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+positionNSValue* {_NSPoint=ff}_QCXMLDownloader_XMLDownloader_1!)>?*+,-./0.:_clearDepthBuffer_ivarInputPortStates_clearColorBuffer_systemInputPortStates O streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+positionNSValue* {_NSPoint=ff}\12ZinputColor34Uvalue5678UgreenTblueSredUalpha ;<W_enable3. WQCClearWClear_1!A-BmCJOp>!DEFGIZidentifier_QCStructureMember_StructureMember_index_1HO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameProjectspositionNSValue* {_NSPoint=ff}Uindex!KMNLO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+positionNSValue* {_NSPoint=ff}_QCIteratorVariables_IteratorVariables_1!PnoQRST+U-VZ[jk\pixelAligned[CIRendering_optimizedRenderingWversionXsizeModeO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+name Display NamepositionNSValue* {_NSPoint=ff}b\]^1_`aceh]inputRotationVinputX]inputBlending_inputPixelAligned33b#3d3f5678gggg"?3Treal;l3. [QCBillboard[Billboard_1!qrstuvwT+xyxd_verticalAlignment_customInputPortStates_horizontalAlignment\manualLayoutXfontNameXfontSizeXCenteredz{|}~[inputHeight^inputGlyphSize\inputKerning\inputLeadingZinputWidth33#?333O streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameImage with Project NamepositionNSValue* {_NSPoint=ff}b]Lucida Grandez{|}~]inputFontName333333[QCTextImage[TextImage_1!rstuvwT+xxdz{|}~33333O streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameImage with Project StatuspositionNSValue* {_NSPoint=ff}z{|}~333333[TextImage_2!nQRST+U-ZjO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameDisplay StatuspositionNSValue* {_NSPoint=ff}\]^_33#?ffffff3d3;3. [Billboard_2!sTddd^operationCount_numberOfOperations[operation_1Yoperand_13d3#?O streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameOffset projects in screenpositionNSValue* {_NSPoint=ff}AVQCMathVMath_1!<= '!DE!_StructureMember_key_1sXinputKey3O streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameNamepositionNSValue* {_NSPoint=ff}1!DE!_StructureMember_key_2s3_lastBuildStatusO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameLast Build StatuspositionNSValue* {_NSPoint=ff}=A!DE!_StructureMember_key_3s3PO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameLast Build LabelpositionNSValue* {_NSPoint=ff}Gx!DE!_StructureMember_key_4s3O streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameLast Build TimepositionNSValue* {_NSPoint=ff}>!DE!_StructureMember_key_5s3O streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameWeb URLpositionNSValue* {_NSPoint=ff}'!TdYportClass_QCStructurePortO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameProject structurepositionNSValue* {_NSPoint=ff}ZQCSplitterZSplitter_1!Td\QCStringPortO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameCastpositionNSValue* {_NSPoint=ff}ZSplitter_2!TdO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameCastpositionNSValue* {_NSPoint=ff}AZSplitter_3!TdO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameCastpositionNSValue* {_NSPoint=ff}xZSplitter_4!TdO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameCastpositionNSValue* {_NSPoint=ff}ZSplitter_5!TdO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameCastpositionNSValue* {_NSPoint=ff}ZSplitter_6 
   \connection_7\connection_2\connection_4\connection_8]connection_10\connection_3\connection_9\connection_5\connection_1\connection_6_destinationPortZsourceNodeZsourcePort_destinationNodeUinput\outputMember^inputStructureVoutputO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+ scrollingNSValue* {_NSPoint=ff}F
zoomFactorNSNumberfposition name
Attributes!"!#$%TnodeTportWProject&Or streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameProject(,048"!#)*TName+Oo streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameName"!#-._Last_Build_Status/O| streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameLast Build Status"!#12_Last_Build_Label3O{ streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameLast Build Label"!#56_Last_Build_Time7Oz streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameLast Build Time"!#9:WWeb_URL;Or streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameWeb URLWQCPatchWPatch_1!?<l@QbchAK!BIJCDTEF$ddGH$^numberOfInputsWnewModeVscript_numberOfOutputsO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+name Build colourpositionNSValue* {_NSPoint=ff}w_function (__number Red, __number Green, __number Blue, __number Alpha) main (__string Status)
{
  if(Status.toLowerCase() == "success") {
    return { Red: 0, Green: 1, Blue: 0, Alpha: 1 };
  } else {
    return { Red: 1, Green: 0, Blue: 0, Alpha: 1 };
  }
}
\QCJavaScript\JavaScript_1!DLMNP_QCColorFromComponents_ColorFromComponents_rgb_1OO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+positionNSValue* {_NSPoint=ff}SrgbRSTUVY\_]connection_13]connection_14]connection_11]connection_12WJXMVinput3TBlueZJ[MZinputAlphaUAlpha]J^MVinput1SRed`JaMVinput2UGreenO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+ scrollingNSValue* {_NSPoint=ff}noteListNSMutableArrayNSArraycolorNSColorcffff?stringoAnyone knows of a good way of generating colours from JavaScript? You can't just instantiate one, apparently...bounds#{_NSRect={_NSPoint=ff}{_NSSize=ff}}m
zoomFactorNSNumberfpositionname Build Colourd"!#JeefVStatusgOq streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameStatusi"!#Mjk_outputColor_proxy_1[outputColorWPatch_2 
 T noqtuxyz}e=-lp=)[inputStringrNsZinputValue^outputPosition$F=vwoVinputY[outputValuep=-vw{|ZinputImage[outputImage~NFZinputIndex[outputIndex1lj{|oO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+ scrollingNSValue* {_NSPoint=ff}{noteListNSMutableArrayNSArraycolorNSColorcffff?string7Replace this bit with whatever crazy displays you want!bounds#{_NSRect={_NSPoint=ff}{_NSSize=ff}}Bys
zoomFactorNSNumberfpositionnameDisplay Projects"!#FSXMLOn streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameXML;3. ZQCIteratorZIterator_1!O streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+name Project countpositionNSValue* {_NSPoint=ff}v_QCStructureCount_StructureCount_1!VparentO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+positionNSValue* {_NSPoint=ff}uVQCTimeVTime_1!IJCDTEF$dd$O streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+name
Timed waitpositionNSValue* {_NSPoint=ff}_/*
A simple script that takes two input values, sums them and returns the result.
 
Special keywords for defining input and output key types:
__boolean, __index, __number, __string, __image, __structure, __virtual
 
Note that the function input arguments are read-only.
*/
 
function (__boolean Signal) main (__number Time, __number Wait)
{
  return { Signal: (parseInt(Time) % 30 == 0)};
}
!sTdO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+name_protocolInput_RSSFeedURLO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameRSSFeed URL (Required)positionNSValue* {_NSPoint=ff}|u!sTdO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+name_protocolInput_PreviewMode]QCBooleanPortO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+namePreview Mode (Optional)positionNSValue* {_NSPoint=ff}!sTdO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+name_protocolInput_ScreenImage]QCGLImagePortO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameScreen Image (Optional)positionNSValue* {_NSPoint=ff}Ȇ__protocolInput_ScreenImage! sTdO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+name!_protocolInput_RSSArticleDuration\QCNumberPortO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameRSSArticle Duration (Optional)positionNSValue* {_NSPoint=ff}|L!sTd_customOutputPortStatesO streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+name_protocolOutput_WebPageURL3O streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameWeb Page URL (Optional)positionNSValue* {_NSPoint=ff}__protocolOutput_WebPageURL 
 'XinputURL'_outputStructureJTTimeZoutputTimeJ'[inputSignalVSignal'ZinputCount[outputCountOQ streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+ scrollingNSValue* {_NSPoint=ff}ucC~єB
zoomFactorNSNumberf@7?noteListNSMutableArrayNSArraycolorNSColorcffff?stringOptional screen saver protocolsbounds#{_NSRect={_NSPoint=ff}{_NSSize=ff}}O+ ÃaƒViCEC?ARSS feed reader protocol (not really RSS in this case, but works)P+ Ã@BMvCFBNiCcƒLDCBBuild Monitor Template
Carlos Villela <cv@lixo.org>
 
Use this as a base for your build monitors. Compositions written using this template can be used as screen savers, as well as RSS visualizers, or just straight off Quartz Composer itself.?L?"!#JTWaitOr streamtyped@NSMutableDictionary NSDictionaryNSObjectiNSString+nameRefresh"!#"!#"!#"!# "!#_Build Monitor template_Carlos Villela <cv@lixo.org>; VEnable_ Controls execution of the patch.VOutput_The output port.UInput_The input port._<h4>Build Monitor Template</h4>
<p>A template for creating compositions that monitor a CCTray-compatible XML feed. It conforms to the RSS Visualizer and Screen Saver protocols.</p>
<p>
Required Inputs:
<li>RSSFeed URL - A string representing the RSS Feed URL.</li>
</p>
<p>
Optional Inputs:
<li>RSSArticle Duration - A number representing the duration to display each feed article.</li>
<li>Screen Image - An image representing the contents of the screen at the start of the Screen Saver. If this image is used within a composition, the fade normally performed at the start of a Screen Saver does not occur. This allows seamless transitions to and from the Screen Saver composition.</li>
<li>Preview Mode - A Boolean value that indicates if the composition is running in Preview mode.</li>
</p>
Optional Outputs:
<li>Web Page URL - A string representing the webpage URL to open in the default web browser when the Screen Saver exits.</li>
</p>U106.5_922 448 512 430 0 0 1440 878 _0com.apple.QuartzComposer.protocol.visualizer-rss_-com.apple.QuartzComposer.protocol.screensaver1:LV[et09Bxy );=+ATlm,27;ABGOTU]erCYo| !&'3?Lq  % 0 5 : C H M R
 
 

4
B
G
L
Q
V
[
`
l
x
   & 5 J S _ i n s |:AHUjm~o_pO`x7DQ[m#.9FS`,mx;Fo| +=CPapw
):NSy/7<%,> !!!!!9!U!Z!!""" "."<"M"T"Y"j"u"{""""""$$$$$%f%i%v%%%%%%%& &&&&7&H&O&[&l&}&&&&&&&&((((()d)i)n)o)z)))*I*\*o*|**+!+(+/+<+U,-----.9../////0j0w00011(112 22"2'223333334Q4V4[5525K5\5e5v555555555569[9f9w9|99:: ::":3:8:I:N:Q:b:g::::::::;;;;/;8;A;J???'?,?_?