Skip to content

Commit eec3483

Browse files
authored
.incubator not required in podling URLs
1 parent ab61002 commit eec3483

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/whimsy/sitestandards.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ module SiteStandards
2525
PODLING_CHECKS = {
2626
'uri' => {
2727
CHECK_TEXT => nil,
28-
CHECK_CAPTURE => %r{https?://[^.]+\.incubator\.apache\.org},
29-
CHECK_VALIDATE => %r{https?://[^.]+\.incubator\.apache\.org},
28+
CHECK_CAPTURE => %r{https?://[^.]+(\.incubator)?\.apache\.org},
29+
CHECK_VALIDATE => %r{https?://[^.]+(\.incubator)?\.apache\.org},
3030
CHECK_TYPE => true,
31-
CHECK_POLICY => 'https://www.apache.org/foundation/marks/pmcs#websites',
32-
CHECK_DOC => 'The homepage for any ProjectName must be served from http://ProjectName(.incubator).apache.org',
31+
CHECK_POLICY => 'https://incubator.apache.org/guides/sites.html#podling_website_requirements',
32+
CHECK_DOC => 'The homepage for any ProjectName must be served from http://ProjectName(.incubator)?.apache.org',
3333
},
3434
'disclaimer' => { # textnode_check: txt =~ / Incubation is required of all newly accepted projects /
3535
CHECK_TEXT => %r{Incubation is required of all newly accepted projects},

0 commit comments

Comments
 (0)