check_repo¶
Repository checks
These checks verify consistency with the repository (blacklisting, other channels, existing versions).
Classes
|
The recipe build number should be incremented |
|
The recipe build number should be reset to 0 |
|
A package of the same name already exists in another channel |
|
The recipe is currently blacklisted and will not be built. |
Documentation
- class bioconda_utils.lint.check_repo.in_other_channels(_linter)[source]¶
A package of the same name already exists in another channel
Bioconda and Conda-Forge occupy the same name space and have agreed not to add packages if a package of the same name is already present in the respective other channel.
If this is a new package, pease choose a different name (e.g. append
-bio
).If you are updating a package, please continue in the package’s new home at conda-forge.
- check_recipe(recipe)[source]¶
Execute check on recipe
Override this method in subclasses, using
self.message()
to issueLintMessage
as failures are encountered.- Parameters:
recipe – The recipe under test.
- messages: List[LintMessage]¶
Messages collected running tests
- recipe: _recipe.Recipe¶
Recipe currently being checked
- class bioconda_utils.lint.check_repo.build_number_needs_bump(_linter)[source]¶
The recipe build number should be incremented
A package with the same name and version and a build number at least as high as specified in the recipe already exists in the channel. Please increase the build number.
- check_recipe(recipe)[source]¶
Execute check on recipe
Override this method in subclasses, using
self.message()
to issueLintMessage
as failures are encountered.- Parameters:
recipe – The recipe under test.
- messages: List[LintMessage]¶
Messages collected running tests
- recipe: _recipe.Recipe¶
Recipe currently being checked
- class bioconda_utils.lint.check_repo.build_number_needs_reset(_linter)[source]¶
The recipe build number should be reset to 0
No previous build of a package of this name and this version exists, the build number should therefore be 0.
- requires: List[LintCheck] = ['missing_build_number']¶
Checks that must have passed for this check to be executed.
- check_recipe(recipe)[source]¶
Execute check on recipe
Override this method in subclasses, using
self.message()
to issueLintMessage
as failures are encountered.- Parameters:
recipe – The recipe under test.
- messages: List[LintMessage]¶
Messages collected running tests
- recipe: _recipe.Recipe¶
Recipe currently being checked
- class bioconda_utils.lint.check_repo.recipe_is_blacklisted(linter)[source]¶
The recipe is currently blacklisted and will not be built.
If you are intending to repair this recipe, remove it from the build fail blacklist.
- check_recipe(recipe)[source]¶
Execute check on recipe
Override this method in subclasses, using
self.message()
to issueLintMessage
as failures are encountered.- Parameters:
recipe – The recipe under test.
- messages: List[LintMessage]¶
Messages collected running tests
- recipe: _recipe.Recipe¶
Recipe currently being checked