Hi all,
I’m getting the following error when trying to use Pkg to test a package:
(v1.1) pkg> test SomePackage
ERROR: The following package names could not be resolved:
* SomePackage (not found in project or manifest)
Please specify by known `name=uuid`.
In order to get to this point, here is what I did:
- Forked SomePackage on github
- Cloned SomePackage to my local machine using
git clone url/to/SomePackage. I did this into a local directory on my machine/home/colin/GithubClones - Added
/home/colin/GithubClonestoLOAD_PATHin mystartup.jlfile - Successfully performed
using SomePackageand then ran some functions from it - In package environment I tried
test packageand got the error message above.
So my conclusion (which may be wrong) is that adding /home/colin/GithubClones to LOAD_PATH is sufficient if I just want to use the package, but not sufficient if I want to use Pkg to do things like test the package, or use resolve to fix up any changes in Project.toml and Manifest.toml files.
Any idea what I’m doing wrong here, or what I need to be doing?
BTW, the reason I forked and cloned the package instead of using dev SomePackage is because I’m not a registered committer on the package, and so I figured it would be better to follow the Github fork-and-branch approach to submitting a PR, and I wasn’t quite sure how to do this while simultaneously using dev.
Cheers and thanks,
Colin