diff options
author | B. Watson <urchlay@slackware.uk> | 2024-10-08 23:53:26 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-10-08 23:53:26 -0400 |
commit | 00c1756b4289365ca5a6c89896027446bdb57c02 (patch) | |
tree | f2dc4c1667e45da298d794a7b6134496aee4d283 /sbolint | |
parent | e5e8fdba799158bada636f4d82253afd8f7be07b (diff) | |
download | sbo-maintainer-tools-00c1756b4289365ca5a6c89896027446bdb57c02.tar.gz |
sbolint: exempt github gists (and raw) URLs from check.
Diffstat (limited to 'sbolint')
-rwxr-xr-x | sbolint | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1239,7 +1239,9 @@ sub check_github_url { my $dir; # do not police releases/ or raw/ URLs, only archive/ - return unless $url =~ m{github\.com/[^/]*/[^/]*/archive/}; + # 20241008 bkw: also only police URLs that are in the main github.com + # domain, not e.g. raw.github.com or gists.github.com. + return unless $url =~ m{//github\.com/[^/]*/[^/]*/archive/}; # allow *and ignore* refs/tags $url =~ s,refs/tags/,,; |