ebuild

package
v0.0.99 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2026 License: GPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

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 (*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 (*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 (*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

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 (*GentooCopyrightHeaderLintRule) Metadata added in v0.0.98

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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL