-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.xml
More file actions
58 lines (58 loc) · 1.68 KB
/
example.xml
File metadata and controls
58 lines (58 loc) · 1.68 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
<?xml version="1.0" encoding="UTF-8"?>
<application>
<!--
Select what is enabled for this application, valid options:
* version
* download
-->
<work>
<version />
</work>
<version>
<!--
If the version needs to be formatted before its compared we use the format-tag. If we dont need to do that we need to remove it
string with placeholders per group found by pattern
URL encoded pattern
<format>
<string></string>
<pattern></pattern>
</format>
-->
<unknown>
<uri>http[s]://url.to.some.software.info</uri>
<patterns>
<!-- All patterns should return a url which we can use for subsequent requests, the last pattern should return the version -->
</patterns>
<!-- Add as many ignoreversion as you like, versions listed here will be ignored.
<ignoreversion>1.0</ignoreversion>
-->
</unknown>
<!-- We assume that the folders with known versions are in the same folder as this file -->
<known>
<pattern>^([0-9\.]+)</pattern>
</known>
</version>
<download>
<uri>http[s]://url.to.some.software.info</uri>
<patterns>
<!-- All patterns should return a url which we can use for subsequent requests, the last pattern should return the url to the file which is downloaded -->
</patterns>
</download>
<!--
<download type="direct">
<uri></uri>
</download>
<download type="fosshub">
<project></project>
<filter></filter>
</download>
<download type="sourceforge">
<project></project>
</download>
<download type="github">
<owner></owner>
<repository></repository>
<filter></filter>
</download>
-->
</application>