-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsources.py
43 lines (38 loc) · 947 Bytes
/
sources.py
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
#!/usr/bin/env python
from buildbot.plugins import changes
sources = []
sources.append(
changes.GitHubPullrequestPoller(
owner="gentoo",
branches=None,
category="gentoo-pull",
repo="gentoo",
)
)
sources.append(
changes.GitPoller(
repourl="https://github.com/gentoo/gentoo.git",
branches=True,
category="gentoo-pull",
workdir="gentoo-repository",
pollinterval=300,
)
)
sources.append(
changes.GitPoller(
repourl="https://anongit.gentoo.org/git/proj/linux-patches.git",
only_tags=True,
category="gentoo-tags-git",
workdir="linux-patches-tags",
pollinterval=300,
)
)
sources.append(
changes.GitPoller(
repourl="https://anongit.gentoo.org/git/proj/linux-patches.git",
branches=True,
category="gentoo-git",
workdir="linux-patches-branches",
pollinterval=300,
)
)