Documentation
¶
Index ¶
- Variables
- type CategorySanityLintRule
- type EAPIDeprecatedLintRule
- type IUSELintRule
- type InvalidSlotLintRule
- type LayoutConfLintRule
- type LicenseSanityLintRule
- type MissingDescriptionLintRule
- type MissingHomepageLintRule
- type MissingKeywordLintRule
- type MissingSlotLintRule
- type SubshellFunctionLintRule
- type UseExpandRule
Constants ¶
This section is empty.
Variables ¶
View Source
var SkipForSiteGen bool
SkipForSiteGen disables this rule when it is already pre-calculated manually by site.go.
Functions ¶
This section is empty.
Types ¶
type CategorySanityLintRule ¶ added in v0.0.32
type CategorySanityLintRule struct {
// contains filtered or unexported fields
}
CategorySanityLintRule checks if the package category exists in profiles/categories and main gentoo categories.
func (*CategorySanityLintRule) Lint ¶ added in v0.0.32
func (l *CategorySanityLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
type EAPIDeprecatedLintRule ¶ added in v0.0.34
type EAPIDeprecatedLintRule struct{}
func (*EAPIDeprecatedLintRule) Lint ¶ added in v0.0.34
func (r *EAPIDeprecatedLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*EAPIDeprecatedLintRule) LintWithQA ¶ added in v0.0.34
func (r *EAPIDeprecatedLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type IUSELintRule ¶
type IUSELintRule struct{}
func (*IUSELintRule) Lint ¶
func (r *IUSELintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*IUSELintRule) LintWithQA ¶
func (r *IUSELintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type InvalidSlotLintRule ¶ added in v0.0.34
type InvalidSlotLintRule struct{}
func (*InvalidSlotLintRule) Lint ¶ added in v0.0.34
func (r *InvalidSlotLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*InvalidSlotLintRule) LintWithQA ¶ added in v0.0.34
func (r *InvalidSlotLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type LayoutConfLintRule ¶ added in v0.0.28
type LayoutConfLintRule struct{}
func (*LayoutConfLintRule) Lint ¶ added in v0.0.28
func (r *LayoutConfLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*LayoutConfLintRule) LintWithQA ¶ added in v0.0.28
func (r *LayoutConfLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type LicenseSanityLintRule ¶ added in v0.0.28
type LicenseSanityLintRule struct{}
func (*LicenseSanityLintRule) Lint ¶ added in v0.0.28
func (r *LicenseSanityLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*LicenseSanityLintRule) LintWithQA ¶ added in v0.0.28
func (r *LicenseSanityLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type MissingDescriptionLintRule ¶ added in v0.0.34
type MissingDescriptionLintRule struct{}
func (*MissingDescriptionLintRule) Lint ¶ added in v0.0.34
func (r *MissingDescriptionLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*MissingDescriptionLintRule) LintWithQA ¶ added in v0.0.34
func (r *MissingDescriptionLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type MissingHomepageLintRule ¶ added in v0.0.34
type MissingHomepageLintRule struct{}
func (*MissingHomepageLintRule) Lint ¶ added in v0.0.34
func (r *MissingHomepageLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*MissingHomepageLintRule) LintWithQA ¶ added in v0.0.34
func (r *MissingHomepageLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type MissingKeywordLintRule ¶ added in v0.0.34
type MissingKeywordLintRule struct{}
func (*MissingKeywordLintRule) Lint ¶ added in v0.0.34
func (r *MissingKeywordLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*MissingKeywordLintRule) LintWithQA ¶ added in v0.0.34
func (r *MissingKeywordLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type MissingSlotLintRule ¶ added in v0.0.40
type MissingSlotLintRule struct{}
func (*MissingSlotLintRule) Lint ¶ added in v0.0.40
func (r *MissingSlotLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*MissingSlotLintRule) LintWithQA ¶ added in v0.0.40
func (r *MissingSlotLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type SubshellFunctionLintRule ¶ added in v0.0.30
type SubshellFunctionLintRule struct{}
func (*SubshellFunctionLintRule) Lint ¶ added in v0.0.30
func (l *SubshellFunctionLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
type UseExpandRule ¶ added in v0.0.40
type UseExpandRule struct{}
func (*UseExpandRule) Lint ¶ added in v0.0.40
func (r *UseExpandRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
func (*UseExpandRule) Metadata ¶ added in v0.0.40
func (r *UseExpandRule) Metadata() lints.RuleMetadata
Click to show internal directories.
Click to hide internal directories.