pkgcheck.checks.network module¶
Various checks that require network support.
- class pkgcheck.checks.network.DeadUrl(attr, url, message, **kwargs)[source]¶
Bases:
_UrlResult
Package with a dead URL of some type.
- name = 'DeadUrl'¶
- class pkgcheck.checks.network.FetchablesUrlCheck(*args, use_addon, **kwargs)[source]¶
Bases:
_UrlCheck
Verify SRC_URI URLs.
- required_addons = (<class 'pkgcheck.addons.UseAddon'>,)¶
- scope = <PackageScope desc='version' @0x7f6c6d509d90>¶
- class pkgcheck.checks.network.HomepageUrlCheck(*args, net_addon, **kwargs)[source]¶
Bases:
_UrlCheck
Verify HOMEPAGE URLs.
- scope = <PackageScope desc='version' @0x7f6c6d509d90>¶
- class pkgcheck.checks.network.HttpsUrlAvailable(attr, url, new_url, **kwargs)[source]¶
Bases:
_UpdatedUrlResult
URL uses http:// when https:// is available.
- message = 'HTTPS url available'¶
- name = 'HttpsUrlAvailable'¶
- class pkgcheck.checks.network.MetadataUrlCheck(*args, **kwargs)[source]¶
Bases:
_UrlCheck
Verify metadata.xml URLs.
- schedule(pkgs, *args, **kwargs)[source]¶
Schedule verification methods to run in separate threads for all flagged URLs.
- scope = <PackageScope desc='package' @0x7f6c6d509a10>¶
- class pkgcheck.checks.network.RedirectedUrl(attr, url, new_url, **kwargs)[source]¶
Bases:
_UpdatedUrlResult
Package with a URL that permanently redirects to a different site.
- message = 'permanently redirected'¶
- name = 'RedirectedUrl'¶
- exception pkgcheck.checks.network.RequestError(exc, msg=None)[source]¶
Bases:
_RequestException
Wrapper for generic requests exception.