git.install.ketarin.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <Jobs>
  3. <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="c518bce8-02ab-466d-b058-fcbe6d4579ff">
  4. <SourceTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  5. <Jobs>
  6. <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  7. <WebsiteUrl />
  8. <UserAgent>chocolatey command line</UserAgent>
  9. <UserNotes />
  10. <LastFileSize>0</LastFileSize>
  11. <LastFileDate xsi:nil="true" />
  12. <IgnoreFileInformation>false</IgnoreFileInformation>
  13. <DownloadBeta>Default</DownloadBeta>
  14. <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
  15. <VariableChangeIndicator />
  16. <HashVariable />
  17. <HashType>None</HashType>
  18. <CanBeShared>true</CanBeShared>
  19. <ShareApplication>false</ShareApplication>
  20. <ExclusiveDownload>false</ExclusiveDownload>
  21. <HttpReferer />
  22. <SetupInstructions />
  23. <Variables>
  24. <item>
  25. <key>
  26. <string>version</string>
  27. </key>
  28. <value>
  29. <UrlVariable>
  30. <RegexRightToLeft>false</RegexRightToLeft>
  31. <VariableType>RegularExpression</VariableType>
  32. <Regex>Last program version.*?([\d\.]+)</Regex>
  33. <Url><placeholder name="Url to search for new version" value="https://github.com/git-for-windows/git/releases" /></Url>
  34. <Name>version</Name>
  35. </UrlVariable>
  36. </value>
  37. </item>
  38. <item>
  39. <key>
  40. <string>url</string>
  41. </key>
  42. <value>
  43. <UrlVariable>
  44. <RegexRightToLeft>false</RegexRightToLeft>
  45. <VariableType>Textual</VariableType>
  46. <Regex />
  47. <TextualContent>{getUrl}</TextualContent>
  48. <Name>url</Name>
  49. </UrlVariable>
  50. </value>
  51. </item>
  52. <item>
  53. <key>
  54. <string>getUrl</string>
  55. </key>
  56. <value>
  57. <UrlVariable>
  58. <RegexRightToLeft>false</RegexRightToLeft>
  59. <VariableType>RegularExpression</VariableType>
  60. <Regex>[^ "'&lt;&gt;\*]+\.exe</Regex>
  61. <Url><placeholder name="Url to search for new version" value="https://github.com/git-for-windows/git/releases" /></Url>
  62. <Name>getUrl</Name>
  63. </UrlVariable>
  64. </value>
  65. </item>
  66. <item>
  67. <key>
  68. <string>url64</string>
  69. </key>
  70. <value>
  71. <UrlVariable>
  72. <RegexRightToLeft>false</RegexRightToLeft>
  73. <VariableType>Textual</VariableType>
  74. <Regex />
  75. <TextualContent>{getUrl64}</TextualContent>
  76. <Name>url64</Name>
  77. </UrlVariable>
  78. </value>
  79. </item>
  80. <item>
  81. <key>
  82. <string>getUrl64</string>
  83. </key>
  84. <value>
  85. <UrlVariable>
  86. <RegexRightToLeft>false</RegexRightToLeft>
  87. <VariableType>RegularExpression</VariableType>
  88. <Regex>[^ "'&lt;&gt;\*]+\.exe</Regex>
  89. <Url><placeholder name="Url to search for new version" value="https://github.com/git-for-windows/git/releases" /></Url>
  90. <Name>getUrl64</Name>
  91. </UrlVariable>
  92. </value>
  93. </item>
  94. </Variables>
  95. <ExecuteCommand />
  96. <ExecutePreCommand />
  97. <ExecuteCommandType>Batch</ExecuteCommandType>
  98. <ExecutePreCommandType>Batch</ExecutePreCommandType>
  99. <Category />
  100. <SourceType>FixedUrl</SourceType>
  101. <DeletePreviousFile>true</DeletePreviousFile>
  102. <Enabled>true</Enabled>
  103. <FileHippoId />
  104. <TargetPath>{saveDir}\{appname}_{version}.{url:ext}</TargetPath>
  105. <FixedDownloadUrl>{url}</FixedDownloadUrl>
  106. <Name><placeholder name="Name of the package (should match the folder under automatic and the nuspec file)." value="git.install" /></Name>
  107. </ApplicationJob>
  108. </Jobs>
  109. ]]></SourceTemplate>
  110. <WebsiteUrl />
  111. <UserAgent>chocolatey command line</UserAgent>
  112. <UserNotes />
  113. <LastFileSize>32801448</LastFileSize>
  114. <LastFileDate>2016-08-13T09:56:47+00:00</LastFileDate>
  115. <IgnoreFileInformation>false</IgnoreFileInformation>
  116. <DownloadBeta>Default</DownloadBeta>
  117. <DownloadDate xsi:nil="true" />
  118. <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
  119. <VariableChangeIndicator />
  120. <HashVariable />
  121. <HashType>None</HashType>
  122. <CanBeShared>true</CanBeShared>
  123. <ShareApplication>false</ShareApplication>
  124. <ExclusiveDownload>false</ExclusiveDownload>
  125. <HttpReferer />
  126. <SetupInstructions />
  127. <Variables>
  128. <item>
  129. <key>
  130. <string>version</string>
  131. </key>
  132. <value>
  133. <UrlVariable>
  134. <RegexRightToLeft>false</RegexRightToLeft>
  135. <VariableType>RegularExpression</VariableType>
  136. <Regex>Git-([\d\.]+)-</Regex>
  137. <Url>https://github.com/git-for-windows/git/releases</Url>
  138. <Name>version</Name>
  139. </UrlVariable>
  140. </value>
  141. </item>
  142. <item>
  143. <key>
  144. <string>url</string>
  145. </key>
  146. <value>
  147. <UrlVariable>
  148. <RegexRightToLeft>false</RegexRightToLeft>
  149. <VariableType>Textual</VariableType>
  150. <Regex />
  151. <TextualContent>https://github.com{getUrl}</TextualContent>
  152. <Name>url</Name>
  153. </UrlVariable>
  154. </value>
  155. </item>
  156. <item>
  157. <key>
  158. <string>getUrl</string>
  159. </key>
  160. <value>
  161. <UrlVariable>
  162. <RegexRightToLeft>false</RegexRightToLeft>
  163. <VariableType>RegularExpression</VariableType>
  164. <Regex>\/Git\-[^ "'&lt;&gt;\*]+\-32\-bit\.exe</Regex>
  165. <Url>https://github.com/git-for-windows/git/releases</Url>
  166. <Name>getUrl</Name>
  167. </UrlVariable>
  168. </value>
  169. </item>
  170. <item>
  171. <key>
  172. <string>url64</string>
  173. </key>
  174. <value>
  175. <UrlVariable>
  176. <RegexRightToLeft>false</RegexRightToLeft>
  177. <VariableType>Textual</VariableType>
  178. <Regex />
  179. <TextualContent>https://github.com{getUrl64}</TextualContent>
  180. <Name>url64</Name>
  181. </UrlVariable>
  182. </value>
  183. </item>
  184. <item>
  185. <key>
  186. <string>getUrl64</string>
  187. </key>
  188. <value>
  189. <UrlVariable>
  190. <RegexRightToLeft>false</RegexRightToLeft>
  191. <VariableType>RegularExpression</VariableType>
  192. <Regex>\/Git\-[^ "'&lt;&gt;\*]+\-64\-bit\.exe</Regex>
  193. <Url>https://github.com/git-for-windows/git/releases</Url>
  194. <Name>getUrl64</Name>
  195. </UrlVariable>
  196. </value>
  197. </item>
  198. </Variables>
  199. <ExecuteCommand />
  200. <ExecutePreCommand />
  201. <ExecuteCommandType>Batch</ExecuteCommandType>
  202. <ExecutePreCommandType>Batch</ExecutePreCommandType>
  203. <Category />
  204. <SourceType>FixedUrl</SourceType>
  205. <PreviousLocation>c:\chocolatey-auto-save\git.install_2.9.3.exe</PreviousLocation>
  206. <DeletePreviousFile>true</DeletePreviousFile>
  207. <Enabled>true</Enabled>
  208. <FileHippoId />
  209. <LastUpdated>2016-08-22T15:04:33.9789692+00:00</LastUpdated>
  210. <TargetPath>{saveDir}\{appname}_{version}.{url:ext}</TargetPath>
  211. <FixedDownloadUrl>{url}</FixedDownloadUrl>
  212. <Name>git.install</Name>
  213. </ApplicationJob>
  214. </Jobs>