Skip to content

Commit

Permalink
Revert "Revert "Exclude 4.10 kernels from builder""
Browse files Browse the repository at this point in the history
This reverts commit 91da239.
  • Loading branch information
Luca Marturana committed Mar 9, 2017
1 parent 39b97ce commit ec4eba7
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions scripts/kernel-crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,28 +67,32 @@
"root" : "https://mirrors.kernel.org/ubuntu/pool/main/l/",
"discovery_pattern" : "/html/body//a[@href = 'linux/']/@href",
"subdirs" : [""],
"page_pattern" : "/html/body//a[regex:test(@href, '^linux-(image|headers)-[3-9].*-generic.*amd64.deb$')]/@href"
"page_pattern" : "/html/body//a[regex:test(@href, '^linux-(image|headers)-[3-9].*-generic.*amd64.deb$')]/@href",
"exclude_patterns": ["image-4.10", "headers-4.10"]
},

{
"root" : "https://mirrors.kernel.org/ubuntu/pool/main/l/",
"discovery_pattern" : "/html/body//a[@href = 'linux/']/@href",
"subdirs" : [""],
"page_pattern" : "/html/body//a[regex:test(@href, '^linux-headers-[3-9].*_all.deb$')]/@href"
"page_pattern" : "/html/body//a[regex:test(@href, '^linux-headers-[3-9].*_all.deb$')]/@href",
"exclude_patterns": ["image-4.10", "headers-4.10"]
},

{
"root" : "http://security.ubuntu.com/ubuntu/pool/main/l/",
"discovery_pattern" : "/html/body//a[@href = 'linux/']/@href",
"subdirs" : [""],
"page_pattern" : "/html/body//a[regex:test(@href, '^linux-(image|headers)-[3-9].*-generic.*amd64.deb$')]/@href"
"page_pattern" : "/html/body//a[regex:test(@href, '^linux-(image|headers)-[3-9].*-generic.*amd64.deb$')]/@href",
"exclude_patterns": ["image-4.10", "headers-4.10"]
},

{
"root" : "http://security.ubuntu.com/ubuntu/pool/main/l/",
"discovery_pattern" : "/html/body//a[@href = 'linux/']/@href",
"subdirs" : [""],
"page_pattern" : "/html/body//a[regex:test(@href, '^linux-headers-[3-9].*_all.deb$')]/@href"
"page_pattern" : "/html/body//a[regex:test(@href, '^linux-headers-[3-9].*_all.deb$')]/@href",
"exclude_patterns": ["image-4.10", "headers-4.10"]
}
],

Expand Down Expand Up @@ -220,4 +224,4 @@
# Print URLs to stdout
#
for url in urls:
print(url)
print(url)

0 comments on commit ec4eba7

Please sign in to comment.