ocpilint needs ability to be run on non-project level directories
Existing feature/capability to improve
ocpilint can only be run on project level directory as the path is fed into ocpidev show projects which can't be run in lower levels of the directory tree. However, ocpilint should be able to be run on any single file or whole directories at any level.
Define success
Unless there is a specific reason not to, ocpilint should be able to be run on any directory and any file on the system. Keeping the tool generic will lend itself to scalability later on.
Environment info
- OpenCPI Version used: v2.5.0
- Type of install (Source or RPM): Source
- Environment vars (
env | grep -i ocpi | sort
):
OCPI_CDK_DIR=/home/tperkins/repos/opencpi/cdk
OCPI_PREREQUISITES_DIR=/home/tperkins/repos/opencpi/prerequisites
OCPI_ROOT_DIR=/home/tperkins/repos/opencpi
OCPI_TOOL_ARCH=x86_64
OCPI_TOOL_DIR=ubuntu20_04
OCPI_TOOL_OS=linux
OCPI_TOOL_OS_VERSION=u20_04
OCPI_TOOL_PLATFORM_DIR=/home/tperkins/repos/opencpi/project-registry/ocpi.core/rcc/platforms/ubuntu20_04
OCPI_TOOL_PLATFORM=ubuntu20_04
- Operating System and version (ex. CentOS 7): Ubuntu 20.04
Acceptance criteria
-
ocpilint can be run on any directory -
ocpilint can be run on any file
Edited by Tanner Perkins