Documentation
¶
Index ¶
- Variables
- type AbsoluteSymlinkLintRule
- type BannedCommandsLintRule
- type BannedVariablesLintRule
- type CategorySanityLintRule
- type CharacterSetLintRule
- type CodingStyleLintRule
- type ConditionalInheritLintRule
- type CopyrightHeaderLintRule
- type DVariablesLintRule
- type DependencyNoRevisionLintRule
- type DependencyPitfallsLintRule
- type DeprecatedInsintoLintRule
- type DieSubshellLintRule
- type DroppedKeywordsLintRule
- type DynamicSlotsLintRule
- type EAPIDeprecatedLintRule
- type EAPIEmptyGroupingsLintRule
- type EbuildHeaderLintRule
- type EclassDeprecatedLintRule
- type ExternalCodeLintRule
- type GLEP81UserGroupLintRule
- type GameInstallLocationsLintRule
- type GentooCopyrightHeaderLintRule
- type GlobalScopeLintRule
- type HeadTailLintRule
- type HomepageVariablesLintRule
- type IUSELintRule
- type IndentingWhitespaceLintRule
- type InstallationPathsLintRule
- type InstalledFilesLintRule
- type InvalidSlotLintRule
- type InvalidVirtualLintRule
- type KeywordIUSELintRule
- type KeywordsSingleLineLintRule
- type LayoutConfLintRule
- type LicenseExistsRepoLintRule
- type LicenseLintRule
- type LicenseSanityLintRule
- type LicenseVariablesLintRule
- type MeaningfulHomepageLintRule
- type MissingDescriptionLintRule
- type MissingHomepageLintRule
- type MissingKeywordLintRule
- type MissingManifestLintRule
- type MissingSlotLintRule
- type NetworkSandboxLintRule
- type OrphanedManifestLintRule
- type PkgConfigDirectCallLintRule
- type PythonCompatLintRule
- type PythonSingleR1UseDepLintRule
- type RedefinedVariablesLintRule
- type RedundantSLintRule
- type RepoNameMissingLintRule
- type RespectVariablesLintRule
- type RestrictTestLintRule
- type SandboxFunctionsLintRule
- type SrcUriHomepageLintRule
- type StabilizeNewVersionsLintRule
- type StaticLibrariesLintRule
- type StrictMultilibLayoutLintRule
- type SubshellFunctionLintRule
- type TreeLayoutFilesLintRule
- type UnstableOnlyLintRule
- type UseConditionalCodeLintRule
- type UseControlledOptionalRdependRule
- type UseExpandRule
- type UseGuiLintRule
- type UseUnderscoresLintRule
- type UsrLocalLintRule
- type VersionedUseLintRule
- type WerrorCompilerFlagLintRule
Constants ¶
This section is empty.
Variables ¶
View Source
var CheckGLEP81Externally bool = false
View Source
var DefaultReposBasePath = "/var/db/repos"
View Source
var DefaultReposConfPath = "/etc/portage/repos.conf"
Ensure the rule is registered with the correct paths. We expose them for testing if needed.
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 AbsoluteSymlinkLintRule ¶ added in v0.0.98
type AbsoluteSymlinkLintRule struct{}
func (*AbsoluteSymlinkLintRule) Lint ¶ added in v0.0.98
func (l *AbsoluteSymlinkLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
func (*AbsoluteSymlinkLintRule) LintWithQA ¶ added in v0.0.98
func (l *AbsoluteSymlinkLintRule) LintWithQA(repoDir string, pkgData *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type BannedCommandsLintRule ¶ added in v0.0.98
type BannedCommandsLintRule struct{}
func (*BannedCommandsLintRule) Lint ¶ added in v0.0.98
func (r *BannedCommandsLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
type BannedVariablesLintRule ¶ added in v0.0.98
type BannedVariablesLintRule struct{}
func (*BannedVariablesLintRule) Lint ¶ added in v0.0.98
func (r *BannedVariablesLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
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 CharacterSetLintRule ¶ added in v0.0.98
type CharacterSetLintRule struct{}
func (*CharacterSetLintRule) Lint ¶ added in v0.0.98
func (r *CharacterSetLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*CharacterSetLintRule) LintWithQA ¶ added in v0.0.98
func (r *CharacterSetLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type CodingStyleLintRule ¶ added in v0.0.98
type CodingStyleLintRule struct{}
func (*CodingStyleLintRule) Lint ¶ added in v0.0.98
func (r *CodingStyleLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*CodingStyleLintRule) LintWithQA ¶ added in v0.0.98
func (r *CodingStyleLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type ConditionalInheritLintRule ¶ added in v0.0.98
type ConditionalInheritLintRule struct{}
func (*ConditionalInheritLintRule) Lint ¶ added in v0.0.98
func (l *ConditionalInheritLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
type CopyrightHeaderLintRule ¶ added in v0.0.98
type CopyrightHeaderLintRule struct{}
CopyrightHeaderLintRule is a repository-neutral lint rule checking for generic copyright or licensing headers.
func (*CopyrightHeaderLintRule) Lint ¶ added in v0.0.98
func (r *CopyrightHeaderLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*CopyrightHeaderLintRule) Metadata ¶ added in v0.0.98
func (r *CopyrightHeaderLintRule) Metadata() lints.RuleMetadata
func (*CopyrightHeaderLintRule) RuleSetManaged ¶ added in v0.0.98
func (r *CopyrightHeaderLintRule) RuleSetManaged()
type DVariablesLintRule ¶ added in v0.0.98
type DVariablesLintRule struct{}
func (*DVariablesLintRule) Lint ¶ added in v0.0.98
func (r *DVariablesLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*DVariablesLintRule) LintWithQA ¶ added in v0.0.98
func (r *DVariablesLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type DependencyNoRevisionLintRule ¶ added in v0.0.98
type DependencyNoRevisionLintRule struct{}
func (*DependencyNoRevisionLintRule) Lint ¶ added in v0.0.98
func (r *DependencyNoRevisionLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*DependencyNoRevisionLintRule) LintWithQA ¶ added in v0.0.98
func (r *DependencyNoRevisionLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type DependencyPitfallsLintRule ¶ added in v0.0.98
type DependencyPitfallsLintRule struct{}
func (*DependencyPitfallsLintRule) Lint ¶ added in v0.0.98
func (r *DependencyPitfallsLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*DependencyPitfallsLintRule) LintWithQA ¶ added in v0.0.98
func (r *DependencyPitfallsLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type DeprecatedInsintoLintRule ¶ added in v0.0.98
type DeprecatedInsintoLintRule struct{}
func (*DeprecatedInsintoLintRule) Lint ¶ added in v0.0.98
func (l *DeprecatedInsintoLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
func (*DeprecatedInsintoLintRule) LintWithQA ¶ added in v0.0.98
func (l *DeprecatedInsintoLintRule) LintWithQA(repoDir string, pkgData *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type DieSubshellLintRule ¶ added in v0.0.98
type DieSubshellLintRule struct{}
func (*DieSubshellLintRule) Lint ¶ added in v0.0.98
func (l *DieSubshellLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
type DroppedKeywordsLintRule ¶ added in v0.0.98
type DroppedKeywordsLintRule struct{}
func (*DroppedKeywordsLintRule) Lint ¶ added in v0.0.98
func (r *DroppedKeywordsLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*DroppedKeywordsLintRule) LintWithQA ¶ added in v0.0.98
func (r *DroppedKeywordsLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type DynamicSlotsLintRule ¶ added in v0.0.98
type DynamicSlotsLintRule struct{}
func (*DynamicSlotsLintRule) Lint ¶ added in v0.0.98
func (r *DynamicSlotsLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*DynamicSlotsLintRule) LintWithQA ¶ added in v0.0.98
func (r *DynamicSlotsLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []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 EAPIEmptyGroupingsLintRule ¶ added in v0.0.98
type EAPIEmptyGroupingsLintRule struct{}
func (*EAPIEmptyGroupingsLintRule) Lint ¶ added in v0.0.98
func (r *EAPIEmptyGroupingsLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
type EbuildHeaderLintRule ¶ added in v0.0.98
type EbuildHeaderLintRule struct{}
func (*EbuildHeaderLintRule) Lint ¶ added in v0.0.98
func (r *EbuildHeaderLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*EbuildHeaderLintRule) LintWithQA ¶ added in v0.0.98
func (r *EbuildHeaderLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type EclassDeprecatedLintRule ¶ added in v0.0.98
type EclassDeprecatedLintRule struct{}
func (*EclassDeprecatedLintRule) LintRepo ¶ added in v0.0.98
func (r *EclassDeprecatedLintRule) LintRepo(repoDir string, site *g2.SiteData) []lints.LintResult
type ExternalCodeLintRule ¶ added in v0.0.98
type ExternalCodeLintRule struct{}
func (*ExternalCodeLintRule) Lint ¶ added in v0.0.98
func (r *ExternalCodeLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*ExternalCodeLintRule) LintWithQA ¶ added in v0.0.98
func (r *ExternalCodeLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type GLEP81UserGroupLintRule ¶ added in v0.0.98
type GLEP81UserGroupLintRule struct{}
func (*GLEP81UserGroupLintRule) Lint ¶ added in v0.0.98
func (l *GLEP81UserGroupLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
func (*GLEP81UserGroupLintRule) LintWithQA ¶ added in v0.0.98
func (l *GLEP81UserGroupLintRule) LintWithQA(repoDir string, pkgData *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type GameInstallLocationsLintRule ¶ added in v0.0.98
type GameInstallLocationsLintRule struct{}
func (*GameInstallLocationsLintRule) Lint ¶ added in v0.0.98
func (l *GameInstallLocationsLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
func (*GameInstallLocationsLintRule) LintWithQA ¶ added in v0.0.98
func (l *GameInstallLocationsLintRule) LintWithQA(repoDir string, pkgData *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type GentooCopyrightHeaderLintRule ¶ added in v0.0.98
type GentooCopyrightHeaderLintRule struct{}
GentooCopyrightHeaderLintRule validates the Gentoo main repository copyright policy.
func (*GentooCopyrightHeaderLintRule) Lint ¶ added in v0.0.98
func (r *GentooCopyrightHeaderLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*GentooCopyrightHeaderLintRule) Metadata ¶ added in v0.0.98
func (r *GentooCopyrightHeaderLintRule) Metadata() lints.RuleMetadata
func (*GentooCopyrightHeaderLintRule) RuleSetManaged ¶ added in v0.0.98
func (r *GentooCopyrightHeaderLintRule) RuleSetManaged()
type GlobalScopeLintRule ¶ added in v0.0.98
type GlobalScopeLintRule struct{}
func (*GlobalScopeLintRule) Lint ¶ added in v0.0.98
func (l *GlobalScopeLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
type HeadTailLintRule ¶ added in v0.0.98
type HeadTailLintRule struct{}
func (*HeadTailLintRule) Lint ¶ added in v0.0.98
func (l *HeadTailLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
type HomepageVariablesLintRule ¶ added in v0.0.98
type HomepageVariablesLintRule struct{}
func (*HomepageVariablesLintRule) Lint ¶ added in v0.0.98
func (r *HomepageVariablesLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*HomepageVariablesLintRule) LintWithQA ¶ added in v0.0.98
func (r *HomepageVariablesLintRule) 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 IndentingWhitespaceLintRule ¶ added in v0.0.98
type IndentingWhitespaceLintRule struct{}
func (*IndentingWhitespaceLintRule) Lint ¶ added in v0.0.98
func (r *IndentingWhitespaceLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*IndentingWhitespaceLintRule) LintWithQA ¶ added in v0.0.98
func (r *IndentingWhitespaceLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type InstallationPathsLintRule ¶ added in v0.0.98
type InstallationPathsLintRule struct{}
func (*InstallationPathsLintRule) Lint ¶ added in v0.0.98
func (l *InstallationPathsLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
func (*InstallationPathsLintRule) LintWithQA ¶ added in v0.0.98
func (l *InstallationPathsLintRule) LintWithQA(repoDir string, pkgData *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type InstalledFilesLintRule ¶ added in v0.0.98
type InstalledFilesLintRule struct{}
func (*InstalledFilesLintRule) Lint ¶ added in v0.0.98
func (r *InstalledFilesLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*InstalledFilesLintRule) LintWithQA ¶ added in v0.0.98
func (r *InstalledFilesLintRule) 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 InvalidVirtualLintRule ¶ added in v0.0.98
type InvalidVirtualLintRule struct{}
func (*InvalidVirtualLintRule) Lint ¶ added in v0.0.98
func (r *InvalidVirtualLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*InvalidVirtualLintRule) LintWithQA ¶ added in v0.0.98
func (r *InvalidVirtualLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type KeywordIUSELintRule ¶ added in v0.0.98
type KeywordIUSELintRule struct{}
func (*KeywordIUSELintRule) Lint ¶ added in v0.0.98
func (r *KeywordIUSELintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*KeywordIUSELintRule) LintWithQA ¶ added in v0.0.98
func (r *KeywordIUSELintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type KeywordsSingleLineLintRule ¶ added in v0.0.98
type KeywordsSingleLineLintRule struct{}
func (*KeywordsSingleLineLintRule) Lint ¶ added in v0.0.98
func (r *KeywordsSingleLineLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*KeywordsSingleLineLintRule) LintWithQA ¶ added in v0.0.98
func (r *KeywordsSingleLineLintRule) 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 LicenseExistsRepoLintRule ¶ added in v0.0.98
type LicenseExistsRepoLintRule struct{}
func (*LicenseExistsRepoLintRule) LintRepo ¶ added in v0.0.98
func (r *LicenseExistsRepoLintRule) LintRepo(repoDir string, site *g2.SiteData) []lints.LintResult
type LicenseLintRule ¶ added in v0.0.98
type LicenseLintRule struct{}
func (*LicenseLintRule) Lint ¶ added in v0.0.98
func (r *LicenseLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*LicenseLintRule) LintWithQA ¶ added in v0.0.98
func (r *LicenseLintRule) 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 LicenseVariablesLintRule ¶ added in v0.0.98
type LicenseVariablesLintRule struct{}
func (*LicenseVariablesLintRule) Lint ¶ added in v0.0.98
func (r *LicenseVariablesLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*LicenseVariablesLintRule) LintWithQA ¶ added in v0.0.98
func (r *LicenseVariablesLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type MeaningfulHomepageLintRule ¶ added in v0.0.98
type MeaningfulHomepageLintRule struct{}
func (*MeaningfulHomepageLintRule) Lint ¶ added in v0.0.98
func (r *MeaningfulHomepageLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*MeaningfulHomepageLintRule) LintWithQA ¶ added in v0.0.98
func (r *MeaningfulHomepageLintRule) 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 MissingManifestLintRule ¶ added in v0.0.98
type MissingManifestLintRule struct{}
func (*MissingManifestLintRule) Lint ¶ added in v0.0.98
func (r *MissingManifestLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*MissingManifestLintRule) LintWithQA ¶ added in v0.0.98
func (r *MissingManifestLintRule) 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 NetworkSandboxLintRule ¶ added in v0.0.71
type NetworkSandboxLintRule struct{}
func (*NetworkSandboxLintRule) Lint ¶ added in v0.0.71
func (r *NetworkSandboxLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*NetworkSandboxLintRule) LintWithQA ¶ added in v0.0.71
func (r *NetworkSandboxLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type OrphanedManifestLintRule ¶ added in v0.0.79
type OrphanedManifestLintRule struct{}
func (*OrphanedManifestLintRule) Lint ¶ added in v0.0.79
func (r *OrphanedManifestLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*OrphanedManifestLintRule) LintWithQA ¶ added in v0.0.79
func (r *OrphanedManifestLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type PkgConfigDirectCallLintRule ¶ added in v0.0.98
type PkgConfigDirectCallLintRule struct{}
func (*PkgConfigDirectCallLintRule) Lint ¶ added in v0.0.98
func (l *PkgConfigDirectCallLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
type PythonCompatLintRule ¶ added in v0.0.98
type PythonCompatLintRule struct{}
func (*PythonCompatLintRule) Lint ¶ added in v0.0.98
func (r *PythonCompatLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*PythonCompatLintRule) LintWithQA ¶ added in v0.0.98
func (r *PythonCompatLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type PythonSingleR1UseDepLintRule ¶ added in v0.0.98
type PythonSingleR1UseDepLintRule struct{}
func (*PythonSingleR1UseDepLintRule) Lint ¶ added in v0.0.98
func (r *PythonSingleR1UseDepLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*PythonSingleR1UseDepLintRule) LintWithQA ¶ added in v0.0.98
func (r *PythonSingleR1UseDepLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type RedefinedVariablesLintRule ¶ added in v0.0.98
type RedefinedVariablesLintRule struct{}
func (*RedefinedVariablesLintRule) Lint ¶ added in v0.0.98
func (l *RedefinedVariablesLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
type RedundantSLintRule ¶ added in v0.0.98
type RedundantSLintRule struct{}
func (*RedundantSLintRule) Lint ¶ added in v0.0.98
func (l *RedundantSLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
type RepoNameMissingLintRule ¶ added in v0.0.73
type RepoNameMissingLintRule struct {
// contains filtered or unexported fields
}
func (*RepoNameMissingLintRule) Lint ¶ added in v0.0.73
func (r *RepoNameMissingLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*RepoNameMissingLintRule) LintWithQA ¶ added in v0.0.73
func (r *RepoNameMissingLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type RespectVariablesLintRule ¶ added in v0.0.98
type RespectVariablesLintRule struct{}
func (*RespectVariablesLintRule) Lint ¶ added in v0.0.98
func (l *RespectVariablesLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
type RestrictTestLintRule ¶ added in v0.0.98
type RestrictTestLintRule struct{}
func (*RestrictTestLintRule) Lint ¶ added in v0.0.98
func (r *RestrictTestLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*RestrictTestLintRule) LintWithQA ¶ added in v0.0.98
func (r *RestrictTestLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type SandboxFunctionsLintRule ¶ added in v0.0.98
type SandboxFunctionsLintRule struct{}
func (*SandboxFunctionsLintRule) Lint ¶ added in v0.0.98
func (l *SandboxFunctionsLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
type SrcUriHomepageLintRule ¶ added in v0.0.98
type SrcUriHomepageLintRule struct{}
func (*SrcUriHomepageLintRule) Lint ¶ added in v0.0.98
func (r *SrcUriHomepageLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*SrcUriHomepageLintRule) LintWithQA ¶ added in v0.0.98
func (r *SrcUriHomepageLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type StabilizeNewVersionsLintRule ¶ added in v0.0.98
type StabilizeNewVersionsLintRule struct{}
func (*StabilizeNewVersionsLintRule) Lint ¶ added in v0.0.98
func (r *StabilizeNewVersionsLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*StabilizeNewVersionsLintRule) LintWithQA ¶ added in v0.0.98
func (r *StabilizeNewVersionsLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type StaticLibrariesLintRule ¶ added in v0.0.98
type StaticLibrariesLintRule struct{}
func (*StaticLibrariesLintRule) Lint ¶ added in v0.0.98
func (l *StaticLibrariesLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
func (*StaticLibrariesLintRule) LintWithQA ¶ added in v0.0.98
func (l *StaticLibrariesLintRule) LintWithQA(repoDir string, pkgData *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type StrictMultilibLayoutLintRule ¶ added in v0.0.98
type StrictMultilibLayoutLintRule struct{}
func (*StrictMultilibLayoutLintRule) Lint ¶ added in v0.0.98
func (l *StrictMultilibLayoutLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
func (*StrictMultilibLayoutLintRule) LintWithQA ¶ added in v0.0.98
func (l *StrictMultilibLayoutLintRule) LintWithQA(repoDir string, pkgData *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 TreeLayoutFilesLintRule ¶ added in v0.0.98
type TreeLayoutFilesLintRule struct{}
TreeLayoutFilesLintRule checks if file names adhere to Gentoo tree rules.
func (*TreeLayoutFilesLintRule) Lint ¶ added in v0.0.98
func (l *TreeLayoutFilesLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
type UnstableOnlyLintRule ¶ added in v0.0.98
type UnstableOnlyLintRule struct{}
func (*UnstableOnlyLintRule) Lint ¶ added in v0.0.98
func (r *UnstableOnlyLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*UnstableOnlyLintRule) LintWithQA ¶ added in v0.0.98
func (r *UnstableOnlyLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type UseConditionalCodeLintRule ¶ added in v0.0.98
type UseConditionalCodeLintRule struct{}
func (*UseConditionalCodeLintRule) Lint ¶ added in v0.0.98
func (l *UseConditionalCodeLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
type UseControlledOptionalRdependRule ¶ added in v0.0.98
type UseControlledOptionalRdependRule struct{}
func (*UseControlledOptionalRdependRule) Lint ¶ added in v0.0.98
func (r *UseControlledOptionalRdependRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*UseControlledOptionalRdependRule) LintWithQA ¶ added in v0.0.98
func (r *UseControlledOptionalRdependRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []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
type UseGuiLintRule ¶ added in v0.0.98
type UseGuiLintRule struct{}
func (*UseGuiLintRule) Lint ¶ added in v0.0.98
func (r *UseGuiLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*UseGuiLintRule) LintWithQA ¶ added in v0.0.98
func (r *UseGuiLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type UseUnderscoresLintRule ¶ added in v0.0.98
type UseUnderscoresLintRule struct{}
func (*UseUnderscoresLintRule) Lint ¶ added in v0.0.98
func (r *UseUnderscoresLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*UseUnderscoresLintRule) LintWithQA ¶ added in v0.0.98
func (r *UseUnderscoresLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type UsrLocalLintRule ¶ added in v0.0.98
type UsrLocalLintRule struct{}
func (*UsrLocalLintRule) Lint ¶ added in v0.0.98
func (l *UsrLocalLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
type VersionedUseLintRule ¶ added in v0.0.98
type VersionedUseLintRule struct{}
func (*VersionedUseLintRule) Lint ¶ added in v0.0.98
func (r *VersionedUseLintRule) Lint(repoDir string, pkg *g2.PackageData) []lints.LintResult
func (*VersionedUseLintRule) LintWithQA ¶ added in v0.0.98
func (r *VersionedUseLintRule) LintWithQA(repoDir string, pkg *g2.PackageData, qa *g2.QAPolicy) []lints.LintResult
type WerrorCompilerFlagLintRule ¶ added in v0.0.98
type WerrorCompilerFlagLintRule struct{}
func (*WerrorCompilerFlagLintRule) Lint ¶ added in v0.0.98
func (l *WerrorCompilerFlagLintRule) Lint(repoDir string, pkgData *g2.PackageData) []lints.LintResult
Source Files
¶
- absolute_symlink.go
- category_sanity.go
- character_set.go
- coding_style.go
- copyright.go
- d_variables.go
- dependency_no_revision.go
- dependency_pitfalls.go
- deprecated_insinto.go
- die_subshell.go
- dropped_keywords.go
- dynamic_slots.go
- eapi_banned_commands.go
- eapi_banned_variables.go
- eapi_deprecated.go
- eapi_empty_groupings.go
- ebuild_header.go
- eclass_deprecated.go
- eclass_inherit.go
- external_code.go
- game_install_locations.go
- glep81_user_group.go
- global_scope.go
- head_tail.go
- homepage_variables.go
- indenting_whitespace.go
- installation_paths.go
- installed_files.go
- invalid_slot.go
- invalid_virtual.go
- iuse_documented.go
- keyword_iuse.go
- keywords_single_line.go
- layout_conf_rules.go
- license.go
- license_sanity.go
- license_variables.go
- meaningful_homepage.go
- missing_description.go
- missing_homepage.go
- missing_keyword.go
- missing_manifest.go
- missing_slot.go
- network_sandbox.go
- orphaned_manifest.go
- pkg_config_direct_call.go
- python_compat.go
- python_single_r1_usedep.go
- redefined_variables.go
- redundant_s.go
- repo_name_missing.go
- respect_variables.go
- restrict_test_rule.go
- sandbox_functions.go
- separate_usr.go
- slot_subslot_dependency.go
- srcuri_homepage.go
- stabilize_new_versions.go
- static_libraries.go
- strict_multilib_layout.go
- subshell_function.go
- tree_layout_files.go
- unstable_only.go
- use_conditional_code.go
- use_controlled_optional_rdepend.go
- use_dependencies.go
- use_expand.go
- use_gui.go
- use_underscores.go
- usr_local.go
- versioned_use.go
- werror_compiler_flag.go
Click to show internal directories.
Click to hide internal directories.