forked from repology/repology-updater
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathubuntu.yaml
More file actions
149 lines (147 loc) · 5.79 KB
/
ubuntu.yaml
File metadata and controls
149 lines (147 loc) · 5.79 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
###########################################################################
# Ubuntu
###########################################################################
{% macro ubuntu(major, minor, codename, minpackages, backports=True, proposed=False, valid_till=Null, packages=True) %}
- name: ubuntu_{{major}}_{{minor}}
type: repository
desc: Ubuntu {{major}}.{{minor}}
statsgroup: Debian+derivs
family: debuntu
ruleset: [debuntu, ubuntu]
color: 'e95420'
{% if valid_till %}
valid_till: {{ valid_till }}
{% endif %}
minpackages: {{ minpackages }}
sources:
{% for sub1 in [codename, codename + "-updates"] %}
{% for sub2 in ["main", "multiverse", "restricted", "universe"] %}
- name: {{sub1}}/{{sub2}}
fetcher:
class: FileFetcher
url: 'http://ftp.ubuntu.com/ubuntu/dists/{{sub1}}/{{sub2}}/source/Sources.gz'
fetch_timeout: 5
compression: gz
parser:
class: DebianSourcesParser
subrepo: {{sub1}}/{{sub2}}
{% if packages %}
# note that there's no need to toggle updates explicitly (like we do for backports
# and proposed) because updates for future releases always exist but are empty
packagelinks:
- type: PACKAGE_HOMEPAGE
url: 'https://packages.ubuntu.com/source/{{sub1}}/{srcname}'
{% endif %}
{% endfor %}
{% endfor %}
repolinks:
- desc: Ubuntu packages
url: https://packages.ubuntu.com/
- desc: Ubuntu packages in {{codename}}
url: https://packages.ubuntu.com/{{codename}}/
packagelinks:
- type: PACKAGE_HOMEPAGE
url: 'https://launchpad.net/ubuntu/+source/{srcname}'
- type: PACKAGE_ISSUE_TRACKER
url: 'https://bugs.launchpad.net/ubuntu/+source/{srcname}'
- type: PACKAGE_BUILD_STATUS
url: 'https://launchpad.net/ubuntu/+builds?build_text={srcname|quote}&build_state=all'
groups: [ all, production, ubuntu ]
{% if backports %}
- name: ubuntu_{{major}}_{{minor}}_backports
type: repository
desc: Ubuntu {{major}}.{{minor}} Backports
statsgroup: Debian+derivs
family: debuntu
ruleset: [debuntu, ubuntu]
color: 'e95420'
{% if valid_till %}
valid_till: {{ valid_till }}
{% endif %}
minpackages: 0
sources:
{% set sub1 = codename + "-backports" %}
{% for sub2 in ["main", "multiverse", "restricted", "universe"] %}
- name: {{codename}}-backports/{{sub2}}
fetcher:
class: FileFetcher
url: 'http://ftp.ubuntu.com/ubuntu/dists/{{sub1}}/{{sub2}}/source/Sources.gz'
fetch_timeout: 5
compression: gz
parser:
class: DebianSourcesParser
subrepo: {{sub1}}/{{sub2}}
{% if packages %}
packagelinks:
- type: PACKAGE_HOMEPAGE
url: 'https://packages.ubuntu.com/source/{{sub1}}/{srcname}'
{% endif %}
{% endfor %}
repolinks:
- desc: Ubuntu packages
url: https://packages.ubuntu.com/
- desc: Ubuntu packages in {{codename}}
url: https://packages.ubuntu.com/{{codename}}/
packagelinks:
- type: PACKAGE_HOMEPAGE
url: 'https://launchpad.net/ubuntu/+source/{srcname}'
- type: PACKAGE_ISSUE_TRACKER
url: 'https://bugs.launchpad.net/ubuntu/+source/{srcname}'
- type: PACKAGE_BUILD_STATUS
url: 'https://launchpad.net/ubuntu/+builds?build_text={srcname|quote}&build_state=all'
groups: [ all, production, ubuntu ]
{% endif %}
{% if proposed %}
- name: ubuntu_{{major}}_{{minor}}_proposed
type: repository
desc: Ubuntu {{major}}.{{minor}} Proposed
statsgroup: Debian+derivs
family: debuntu
ruleset: [debuntu, ubuntu]
color: 'e95420'
{% if valid_till %}
valid_till: {{ valid_till }}
{% endif %}
minpackages: 0
sources:
{% set sub1 = codename + "-proposed" %}
{% for sub2 in ["main", "multiverse", "restricted", "universe"] %}
- name: {{sub1}}/{{sub2}}
fetcher:
class: FileFetcher
url: 'http://ftp.ubuntu.com/ubuntu/dists/{{sub1}}/{{sub2}}/source/Sources.gz'
fetch_timeout: 5
compression: gz
parser:
class: DebianSourcesParser
subrepo: {{sub1}}/{{sub2}}
{% endfor %}
repolinks:
- desc: Ubuntu packages
url: https://packages.ubuntu.com/
- desc: Ubuntu packages in {{codename}}
url: https://packages.ubuntu.com/{{codename}}/
packagelinks:
- type: PACKAGE_HOMEPAGE
url: 'https://launchpad.net/ubuntu/+source/{srcname}'
- type: PACKAGE_ISSUE_TRACKER
url: 'https://bugs.launchpad.net/ubuntu/+source/{srcname}'
- type: PACKAGE_BUILD_STATUS
url: 'https://launchpad.net/ubuntu/+builds?build_text={srcname|quote}&build_state=all'
groups: [ all, production, ubuntu ]
{% endif %}
{% endmacro %}
# Packages argument refer to availability on https://packages.ubuntu.com/
# Check News section and Distribution dropdown on the site to see whether
# a specific release is supported
# Also https://en.wikipedia.org/wiki/Ubuntu#Releases
# Note that we use general support (not ESM) end dates here
{{ ubuntu('14', '04', 'trusty', minpackages=23000, valid_till='2019-04-25', packages=false) }}
{{ ubuntu('16', '04', 'xenial', minpackages=26000, valid_till='2021-04-30', packages=false) }}
{{ ubuntu('18', '04', 'bionic', minpackages=29000, valid_till='2023-05-31', packages=false) }}
{{ ubuntu('20', '04', 'focal', minpackages=29000, valid_till='2025-05-29') }}
{{ ubuntu('22', '04', 'jammy', minpackages=32000, valid_till='2027-06-01') }}
{{ ubuntu('24', '04', 'noble', minpackages=33000, valid_till='2029-05-31') }}
{{ ubuntu('24', '10', 'oracular', minpackages=33000, valid_till='2025-07-01') }} # EoL at month precision, needs clarification
{{ ubuntu('25', '04', 'plucky', minpackages=33000, valid_till='2026-01-01') }} # EoL at month precision, needs clarification
{{ ubuntu('25', '10', 'questing', minpackages=33000, valid_till='2026-07-01', backports=false, proposed=true) }} # EoL at month precision, needs clarification