1
0
Commit Graph

189 Commits

Author SHA1 Message Date
48ba7b7c7b
feat: match the gcc version to distinguish between Debian releases 2023-05-24 09:12:33 +00:00
ae00b57471
fix: match gcc-10+ 2023-05-24 09:10:56 +00:00
408e330b27
feat: add backports repo for debian 2023-05-24 09:10:32 +00:00
4a5376eb43
fix: copy debian /usr/src with folow symbolic links 2023-05-24 07:30:18 +00:00
02bca8e0ae
feat: use debian codename for container image 2023-05-24 07:17:05 +00:00
26a65924df
feat: use numerical debian release string by default 2023-05-24 07:15:47 +00:00
e2d66db16f
feat: add kernel install to distro interface 2023-05-23 22:36:46 +00:00
daaef89050
feat: add kernels list to distro interface 2023-05-23 22:00:20 +00:00
c1ec4add81
refactor: move kernelinfo to distro module 2023-05-23 21:33:50 +00:00
e302c447f5
Revert "feat: numerical release strings"
This reverts commit 330519f617.
2023-05-23 17:53:58 +00:00
330519f617
feat: numerical release strings 2023-05-23 17:48:15 +00:00
7ca989fd8d
feat: use distro info to create the container 2023-05-23 16:54:45 +00:00
f2ce20e53b
feat: change interface from ID()/Release() to Distro() with both 2023-05-23 16:26:36 +00:00
a1999115db
refactor: move container generation to distro modules 2023-05-23 13:20:48 +00:00
14320faca8
fix: make sure we only remove the package extension 2023-05-23 09:22:50 +00:00
2fe3103603
refactor: add volume list 2023-05-22 14:28:28 +00:00
b8817a4930
feat: less verbose wget output 2023-05-18 22:31:34 +00:00
e767299222
feat: show both release number and name for debian 2023-05-18 22:26:42 +00:00
f0c82f9289
feat: implement list of available distros 2023-05-18 22:02:41 +00:00
9c237b52db
test: remove obsolete match test 2023-05-18 21:40:22 +00:00
120fcdc56b
feat: initial implementation of distro interface 2023-05-18 21:37:07 +00:00
73f5df2425
feat!: new kernel config structure
BREAKING CHANGE: kernel definition in the configuration files has switched

from

  [[targets]]
  distro = { id = "Ubuntu", release = "18.04" }
  release_mask = ".*"

to

  [[targets]]
  distro = { id = "Ubuntu", release = "18.04" }
  kernel = { regex = ".*" }
2023-05-18 18:48:09 +00:00
d551cc8fc4
refactor: use the same name as in config 2023-05-18 18:27:51 +00:00
bcf8de336f
feat!: introduce new distribution structure
BREAKING CHANGE: distro definition in the configuration files has switched

from

  [[supported_kernels]]
  distro_type = "Ubuntu"
  distro_release = "16.04"
  ...

to

  [[supported_kernels]]
  distro = { id = "Ubuntu", release = "16.04" }
  ...
2023-05-18 16:07:24 +00:00
17256317c9
test: fix function name 2023-05-18 12:52:52 +00:00
99c9346995
refactor: rename debian functions to common interface 2023-05-18 11:34:46 +00:00
90f7e62888
Revert "refactor: remove debian functions to common interface"
This reverts commit 412199966e.
2023-05-18 11:32:48 +00:00
412199966e
refactor: remove debian functions to common interface 2023-05-18 11:31:54 +00:00
72f52d3200
fix: support --no-headers for debian 2023-05-17 06:50:52 +00:00
706d442948
fix: install gcc for all debian releases 2023-05-17 06:24:18 +00:00
f7b9f538b4
fix: wait 10 seconds before query with new limit 2023-05-17 06:05:37 +00:00
d70be6a306
feat: install all gcc versions for debian base image 2023-05-17 05:48:28 +00:00
15a6f38631
fix: lower limit also on connection refused 2023-05-17 05:39:24 +00:00
ac2166b050
refactor: avoid potential typos 2023-05-17 05:28:34 +00:00
f630fa6f49
fix: add timeout to wget 2023-05-17 05:12:32 +00:00
6e92010dc0
feat: set default limiter timeout to 50ms 2023-05-17 05:05:49 +00:00
008ce1cdbf
refactor: remove unused code 2023-05-17 05:03:16 +00:00
5270f2438c
feat: set default limiter timeout to 100ms 2023-05-17 05:02:57 +00:00
204413af9e
fix: add linux-compiler-* to dependencies 2023-05-17 04:52:04 +00:00
c43f16733e
fix: add libssl-dev for debian base image 2023-05-17 04:51:32 +00:00
c6acbef7f5
feat: set timeout on first tries to install 2023-05-16 20:30:04 +00:00
e7614ef3a7
feat: use snapshots only in case of failed fetch from repos 2023-05-16 19:37:57 +00:00
18426775b9
fix: deb packages install command 2023-05-16 19:20:58 +00:00
66026ebf5a
fix: typo 2023-05-16 17:55:30 +00:00
f5b1283690
fix: try to install debian packages 3 times 2023-05-16 17:52:15 +00:00
4d950d7302
refactor: move debian-related functions to debian module 2023-05-16 09:24:34 +00:00
e1ae427757
fix: add gcc-4.6 for wheezy 2023-05-16 09:23:44 +00:00
8f1a2afc53
feat: modify cache api to store more than one kernel for version 2023-05-15 18:41:12 +00:00
8949b53ccc
fix: return after found 2023-05-15 18:17:31 +00:00
4ea7fbfbf9
refactor: move getting kernel by version to function 2023-05-15 17:57:44 +00:00
9b33140cc8
feat: always set last fetch date 2023-05-15 17:42:31 +00:00
c13b595ab1
refactor: unexport getDebianKernel 2023-05-15 17:40:53 +00:00
7c2957dafb
feat: lower debug level 2023-05-15 15:35:48 +00:00
3e64c99b1c
fix: show actual refetch date 2023-05-15 15:29:23 +00:00
eda23b45b9
feat: combined packages list 2023-05-15 11:14:59 +00:00
52c452debe
feat: pass kernel mask to get container volumes 2023-05-15 09:43:48 +00:00
a05b579086
feat: remove the overhead for something not used 2023-05-15 08:21:53 +00:00
d089ad4931
feat: return complete repo info 2023-05-15 08:19:35 +00:00
0f799b0d5a
feat: implement part of metasnap api 2023-05-15 07:30:00 +00:00
c0603404a8
feat: use the latest snapshot for Debian Jessie and Stretch 2023-05-14 22:20:34 +00:00
b2383ba442
feat: add container volumes list function 2023-05-14 22:15:43 +00:00
1b2d636410
feat: introduce kernel version 2023-05-14 22:00:29 +00:00
1a2929a1aa
fix: wrong image release 2023-05-14 21:19:06 +00:00
5778f39ac4
fix: no module-init-tools on debian 9 2023-05-14 21:17:21 +00:00
032bba6ee5
fix: sed edit in place 2023-05-14 21:12:24 +00:00
8bb211cf01
feat: list debian kernels implementation 2023-05-14 21:04:22 +00:00
f85ad89130
fix: match exact version (binpackages can return more than one) 2023-05-14 19:48:15 +00:00
501dcb23ae
feat: set default refetch timeout to 14 days 2023-05-14 18:08:26 +00:00
19081aea5d
test: skip MatchImagePkg test in CI 2023-05-14 17:34:49 +00:00
a090328b1c
fix: exp should be filtered in other place 2023-05-14 17:29:53 +00:00
2452b090b0
feat: use semver wrapper to match debian release 2023-05-14 17:14:05 +00:00
b09b51840c
feat: fetch kbuild from linux-tools for older kernels 2023-05-14 16:54:12 +00:00
a13a78e292
feat: ignore experimental kernels 2023-05-14 14:34:11 +00:00
e10b50a41a
test: pretty print result 2023-05-14 14:06:04 +00:00
87ed8da5b8
fix: ignore dbg packages 2023-05-14 14:05:10 +00:00
e9ced28b29
feat: match kbuild 2023-05-14 13:59:25 +00:00
f8f3424e1e
refactor: move cache-related functions 2023-05-14 12:37:45 +00:00
0fd9d80940
fix: match the "all" arch of the debian kernel packages 2023-05-14 11:41:26 +00:00
fa23cdfc54
feat: support matching several architectures 2023-05-14 11:38:41 +00:00
6bb0da5082
feat: support multiple headers packages 2023-05-14 11:06:54 +00:00
6b8d97be39
test: fix kernel release test 2023-05-14 10:30:35 +00:00
7502221cfd
feat: support adding dependencies to debian kernel packages 2023-05-14 10:27:35 +00:00
181115d914
fix: use only 3.2 -> 3.7 kernels on wheezy' 2023-05-14 10:13:01 +00:00
f91534aa6a
feat: add common debian packages 2023-05-14 10:12:33 +00:00
f7f8a27dfa
feat: use old debian containers from snapshots 2023-05-14 09:53:59 +00:00
93a1b74e34
feat: add dummy func to list debian kernels 2023-05-14 07:19:52 +00:00
73139e1b91
refactor: docker -> container 2023-05-14 07:00:00 +00:00
9e8a381de0
feat: implement basic debian container image 2023-05-13 19:51:57 +00:00
29010b2a1b
feat: support getting cached kernels 2023-05-13 19:48:01 +00:00
0bf2acb043
feat: lowercase release strings 2023-05-13 19:08:46 +00:00
d0693e64c4
feat: make sure of cache thread-safety 2023-05-13 18:49:11 +00:00
70fec57d2f
feat: debian versions cache 2023-05-13 18:43:15 +00:00
2cc84ac962
fix: match kernel release correctly 2023-05-13 17:42:25 +00:00
143e54984d
test: cover more kernel releases 2023-05-13 17:32:02 +00:00
39f4cd4cfd
fix: check if cache already exists 2023-05-13 16:08:59 +00:00
5975898225
test: use tmpdir to not interfere with other tests 2023-05-13 12:56:25 +00:00
fb5411503c
fix: log error if no cache found 2023-05-13 12:38:03 +00:00
4e77cf82d3
refactor: use one provider for default cache url 2023-05-13 12:14:20 +00:00
60a1d19042
test: avoid api requests 2023-05-13 12:02:41 +00:00
997d6a67ba
test: fix match image test 2023-05-13 11:17:11 +00:00