Open timholy opened 8 years ago
@timholy Thanks for reporting, let me check.
@timholy I've checked the database and the packages have not been imported. The issue being that:
Pkg.add(...)
or Pkg.clone(...)
. Your packages READMEs don't include either. Do you have any ideas on how to extend the search to differentiate packages from plain scripts? I'd be happy to extend the search to include it.
Another naive way of performing the search, but possibly better, would be to search for all Julia repos but only keep the ones ending in ".jl"?
I like the idea of keeping the ".jl" ones. (Speaking of which, this repo should be renamed PkgSearch.jl
.)
You could also check for repos that have a test
folder?
The test we use on Travis for language: julia
is if the repo has a file at src/PkgName.jl
, where PkgName
is the repo name, minus the trailing .jl
if present. Not sure if github search is capable of expressing this easily.
I've updated the GitHub search to look for Julia repos named with ".jl" - this seems to be a convention that's applied consistently. Yes, good point, I've renamed my packages as well 👍
So it definitely indexed a lot more this time, some problems still present, I'll keep digging.
ArrayIteration.jl
is missing from lookup("iteration")
or lookup("sparse")
a. julia> PkgSearch.lookup("iteration")
(5th result, 1st page)
b. a search by "sparse" also finds it but there are so many packages. If you filter more, by
julia> PkgSearch.lookup("sparse array")
it's the 2ndlookup("kernel")
or lookup("halide")
a. for lookup("kernel")
shows up on page 5 now
b. lookup("halide")
shows up, there's just one resultlookup("zmq")
- still missing, must check. lookup("hemireal")
- still nothing, will keep digging. @tkelman Good one thanks, I'll give it a try to see if it works.
First, thanks very much for this package!
I was just kicking the tires on its "discovery" capabilities for unregistered packages, and noticed the following apparent misses among my own packages (which are obviously natural candidates for me to try):
lookup("iteration")
orlookup("sparse")
lookup("kernel")
orlookup("halide")
lookup("zmq")
lookup("hemireal")