File tree Expand file tree Collapse file tree 3 files changed +27
-27
lines changed
e2e/docs/testdata/complex Expand file tree Collapse file tree 3 files changed +27
-27
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ def build():
8
8
install.python()
9
9
config.apt_source(
10
10
source="""
11
- deb https://mirror.sjtu.edu.cn/ubuntu focal main restricted
12
- deb https://mirror.sjtu.edu.cn/ubuntu focal -updates main restricted
13
- deb https://mirror.sjtu.edu.cn/ubuntu focal universe
14
- deb https://mirror.sjtu.edu.cn/ubuntu focal -updates universe
15
- deb https://mirror.sjtu.edu.cn/ubuntu focal multiverse
16
- deb https://mirror.sjtu.edu.cn/ubuntu focal -updates multiverse
17
- deb https://mirror.sjtu.edu.cn/ubuntu focal -backports main restricted universe multiverse
18
- deb http://archive.canonical.com/ubuntu focal partner
19
- deb https://mirror.sjtu.edu.cn/ubuntu focal -security main restricted universe multiverse
11
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy main restricted
12
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy -updates main restricted
13
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy universe
14
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy -updates universe
15
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy multiverse
16
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy -updates multiverse
17
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy -backports main restricted universe multiverse
18
+ deb http://archive.canonical.com/ubuntu jammy partner
19
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy -security main restricted universe multiverse
20
20
"""
21
21
)
22
22
config.pip_index(url="https://mirror.sjtu.edu.cn/pypi/web/simple")
Original file line number Diff line number Diff line change @@ -36,15 +36,15 @@ def apt_source(source: Optional[str]):
36
36
Example usage:
37
37
```python
38
38
apt_source(source='''
39
- deb https://mirror.sjtu.edu.cn/ubuntu focal main restricted
40
- deb https://mirror.sjtu.edu.cn/ubuntu focal -updates main restricted
41
- deb https://mirror.sjtu.edu.cn/ubuntu focal universe
42
- deb https://mirror.sjtu.edu.cn/ubuntu focal -updates universe
43
- deb https://mirror.sjtu.edu.cn/ubuntu focal multiverse
44
- deb https://mirror.sjtu.edu.cn/ubuntu focal -updates multiverse
45
- deb https://mirror.sjtu.edu.cn/ubuntu focal -backports main restricted universe multiverse
46
- deb http://archive.canonical.com/ubuntu focal partner
47
- deb https://mirror.sjtu.edu.cn/ubuntu focal -security main restricted universe multiverse
39
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy main restricted
40
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy -updates main restricted
41
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy universe
42
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy -updates universe
43
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy multiverse
44
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy -updates multiverse
45
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy -backports main restricted universe multiverse
46
+ deb http://archive.canonical.com/ubuntu jammy partner
47
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy -security main restricted universe multiverse
48
48
''')
49
49
```
50
50
Original file line number Diff line number Diff line change @@ -30,15 +30,15 @@ def apt_source(source: Optional[str]):
30
30
Example usage:
31
31
```python
32
32
apt_source(source='''
33
- deb https://mirror.sjtu.edu.cn/ubuntu focal main restricted
34
- deb https://mirror.sjtu.edu.cn/ubuntu focal -updates main restricted
35
- deb https://mirror.sjtu.edu.cn/ubuntu focal universe
36
- deb https://mirror.sjtu.edu.cn/ubuntu focal -updates universe
37
- deb https://mirror.sjtu.edu.cn/ubuntu focal multiverse
38
- deb https://mirror.sjtu.edu.cn/ubuntu focal -updates multiverse
39
- deb https://mirror.sjtu.edu.cn/ubuntu focal -backports main restricted universe multiverse
40
- deb http://archive.canonical.com/ubuntu focal partner
41
- deb https://mirror.sjtu.edu.cn/ubuntu focal -security main restricted universe multiverse
33
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy main restricted
34
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy -updates main restricted
35
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy universe
36
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy -updates universe
37
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy multiverse
38
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy -updates multiverse
39
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy -backports main restricted universe multiverse
40
+ deb http://archive.canonical.com/ubuntu jammy partner
41
+ deb https://mirror.sjtu.edu.cn/ubuntu jammy -security main restricted universe multiverse
42
42
''')
43
43
```
44
44
You can’t perform that action at this time.
0 commit comments