Skip to content

Commit 37f6c7b

Browse files
committed
Remove remaining {source} substitutions
1 parent fe82d93 commit 37f6c7b

6 files changed

Lines changed: 18 additions & 18 deletions

File tree

repos.d/alpine/postmarketos.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
parser:
2323
class: ApkIndexParser
2424
path_suffix: APKINDEX
25-
subrepo: '{source}'
25+
subrepo: aarch64
2626
packagelinks:
2727
# XXX: want package recipe, but no way to know path under https://gitlab.com/postmarketOS/pmaports/
2828
- type: PACKAGE_HOMEPAGE

repos.d/arch/artix.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- name: {{sub}}
1717
fetcher:
1818
class: TarFetcher
19-
url: 'http://archive.artixlinux.org/repos/last/{source}/os/x86_64/{source}.db.tar.gz'
19+
url: 'http://archive.artixlinux.org/repos/last/{{sub}}/os/x86_64/{{sub}}.db.tar.gz'
2020
parser:
2121
class: ArchDBParser
2222
subrepo: {{sub}}
@@ -50,7 +50,7 @@
5050
- name: {{sub}}
5151
fetcher:
5252
class: TarFetcher
53-
url: 'http://archive.artixlinux.org/repos/last/{source}/os/x86_64/{source}.db.tar.gz'
53+
url: 'http://archive.artixlinux.org/repos/last/{{sub}}/os/x86_64/{{sub}}.db.tar.gz'
5454
parser:
5555
class: ArchDBParser
5656
subrepo: {{sub}}

repos.d/embedded/openwrt.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
###########################################################################
44

55
# URLs of official package lists are actually like
6-
# https://downloads.openwrt.org/releases/17.01.7/packages/x86_64/{source}/Packages.manifest
6+
# https://downloads.openwrt.org/releases/17.01.7/packages/x86_64/{{sub}}/Packages.manifest
77
# but e.g. releases/17.01.*/packages are all links to e.g.
88
# ../packages-17.01 so use the latter urls directly
99

@@ -33,21 +33,21 @@
3333
valid_till: {{valid_till}}
3434
{% endif %}
3535
sources:
36-
{% for subrepo in ['base', 'luci', 'packages', 'routing', 'telephony'] %}
37-
- name: {{subrepo}}
36+
{% for sub in ['base', 'luci', 'packages', 'routing', 'telephony'] %}
37+
- name: {{sub}}
3838
fetcher:
3939
class: FileFetcher
40-
url: 'https://downloads.openwrt.org/releases/{{packagesdir}}/{{arch}}/{source}/Packages.manifest'
40+
url: 'https://downloads.openwrt.org/releases/{{packagesdir}}/{{arch}}/{{sub}}/Packages.manifest'
4141
parser:
4242
class: OpenWrtPackagesParser
43-
subrepo: '{source}'
43+
subrepo: {{sub}}
4444
packagelinks:
4545
- type: PACKAGE_SOURCES
46-
url: 'https://github.com/{{subrepos_repos[subrepo]}}/tree/{{branch}}/{path}'
46+
url: 'https://github.com/{{subrepos_repos[sub]}}/tree/{{branch}}/{path}'
4747
- type: PACKAGE_RECIPE
48-
url: 'https://github.com/{{subrepos_repos[subrepo]}}/blob/{{branch}}/{path}/Makefile'
48+
url: 'https://github.com/{{subrepos_repos[sub]}}/blob/{{branch}}/{path}/Makefile'
4949
- type: PACKAGE_RECIPE_RAW
50-
url: 'https://raw.githubusercontent.com/{{subrepos_repos[subrepo]}}/{{branch}}/{path}/Makefile'
50+
url: 'https://raw.githubusercontent.com/{{subrepos_repos[sub]}}/{{branch}}/{path}/Makefile'
5151
{% endfor %}
5252
repolinks:
5353
- desc: OpenWrt home

repos.d/gentoo/liguros.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- name: liguros-repo
1616
fetcher:
1717
class: GitFetcher
18-
url: 'https://gitlab.com/liguros/{source}.git'
18+
url: 'https://gitlab.com/liguros/liguros-repo.git'
1919
branch: stable
2020
sparse_checkout: [ '**/*.ebuild', '**/metadata.xml', 'metadata/md5-cache/*' ]
2121
parser:
@@ -51,7 +51,7 @@
5151
- name: liguros-repo
5252
fetcher:
5353
class: GitFetcher
54-
url: 'https://gitlab.com/liguros/{source}.git'
54+
url: 'https://gitlab.com/liguros/liguros-repo.git'
5555
branch: develop
5656
sparse_checkout: [ '**/*.ebuild', '**/metadata.xml', 'metadata/md5-cache/*' ]
5757
parser:

repos.d/rpm/amazonlinux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- name: {{sub}}
1414
fetcher:
1515
class: RepodataSqliteFetcher
16-
url: 'http://repo.us-west-2.amazonaws.com/latest/{source}/SRPMS/mirror.list'
16+
url: 'http://repo.us-west-2.amazonaws.com/latest/{{sub}}/SRPMS/mirror.list'
1717
parser:
1818
class: RepodataSqliteParser
1919
#vertags: amzn # XXX: not supported in the parser

repos.d/windows/scoop.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
sparse_checkout: [ 'bucket/*.json' ]
1818
parser:
1919
class: ScoopGitParser
20-
subrepo: '{source}'
20+
subrepo: main
2121
packagelinks:
2222
- type: PACKAGE_RECIPE
2323
url: 'https://github.com/ScoopInstaller/Main/blob/master/{path}'
@@ -30,7 +30,7 @@
3030
sparse_checkout: [ 'bucket/*.json' ]
3131
parser:
3232
class: ScoopGitParser
33-
subrepo: '{source}'
33+
subrepo: extras
3434
packagelinks:
3535
- type: PACKAGE_RECIPE
3636
url: 'https://github.com/ScoopInstaller/Extras/blob/master/{path}'
@@ -43,7 +43,7 @@
4343
sparse_checkout: [ 'bucket/*.json' ]
4444
parser:
4545
class: ScoopGitParser
46-
subrepo: '{source}'
46+
subrepo: versions
4747
packagelinks:
4848
- type: PACKAGE_RECIPE
4949
url: 'https://github.com/ScoopInstaller/Versions/blob/master/{path}'
@@ -56,7 +56,7 @@
5656
sparse_checkout: [ 'bucket/*.json' ]
5757
parser:
5858
class: ScoopGitParser
59-
subrepo: '{source}'
59+
subrepo: games
6060
packagelinks:
6161
- type: PACKAGE_RECIPE
6262
url: 'https://github.com/Calinou/scoop-games/blob/master/{path}'

0 commit comments

Comments
 (0)