LsstswRepos¶
-
class
lsst.verify.metadata.lsstsw.LsstswRepos(dirname)[source]¶ Bases:
objectlsstsw package version information based on repos.yaml and checked out Git repositories.
Parameters: dirname :
strPath of an
lsstswdirectory.Attributes Summary
manifest_pathPath of the manifest.txt file. Methods Summary
get_package_branch(package_name)Get the name of the checked-out branch of an EUPS package cloned in lsstsw/build. get_package_commit_sha(package_name)Get the hex SHA of the checked-out commit of an EUPS package cloned to lsstsw/build. get_package_repo_path(package_name)Path to a EUPS package repository in lsstsw/build. get_package_repo_url(package_name)URL of the package’s Git repository. Attributes Documentation
-
manifest_path¶ Path of the manifest.txt file.
Methods Documentation
-
get_package_branch(package_name)[source]¶ Get the name of the checked-out branch of an EUPS package cloned in lsstsw/build.
Parameters: package_name :
strName of the EUPS package.
Returns: branch :
strName of the checked-out Git branch. If GitPython is not installed,
Noneis always returned instead.
-
get_package_commit_sha(package_name)[source]¶ Get the hex SHA of the checked-out commit of an EUPS package cloned to lsstsw/build.
Parameters: package_name :
strName of the EUPS package.
Returns: commit :
strHex SHA of the checkout-out Git commit. If GitPython is not installed,
Noneis always returned instead.
-