juliapackaging / metadatatools.jl Goto Github PK
View Code? Open in Web Editor NEWFunctionality to analyze the structure of Julia's METADATA repository
License: MIT License
Functionality to analyze the structure of Julia's METADATA repository
License: MIT License
Hi,
I am trying to use MetadataTools under Julia 0.4.
runtests.jl
: (please note that I have Gadfly installed, so the issue is not related to the choice of test example in insn sg = get_pkg_dep_graph(pkgs["Gadfly"], g)
)Julia4 runtests.jl
WARNING: deprecated syntax "{}" at /home/alain/.julia/v0.4/MetadataTools/src/MetadataTools.jl:248.
Use "[]" instead.
Warning: could not import Base.put into Requests
WARNING: This version of the GnuTLS library (3.2.11) is deprecated
and contains known security vulnerabilities. Please upgrade to a
more recent version.
ERROR: LoadError: BoundsError: attempt to access 628-element Array{Int64,1}:
0
0
....
0
at index [0]
in traverse_graph at /home/alain/.julia/v0.4/Graphs/src/breadth_first_visit.jl:55
in get_pkg_dep_graph at /home/alain/.julia/v0.4/MetadataTools/src/MetadataTools.jl:341
in include at ./boot.jl:252
in include_from_node1 at loading.jl:134
in process_options at ./client.jl:310
in _start at ./client.jl:409
while loading /home/alain/src/Julia/MetadataTools.jl/test/runtests.jl, in expression starting on line 6
Please advise.
Git diff for correcting Tuple syntax issue:
+++ b/src/MetadataTools.jl
@@ -8,6 +8,7 @@
module MetadataTools
import Requests, JSON, Graphs
+using Compat
export get_pkg, get_all_pkg, get_upper_limit, get_pkg_info
export get_pkgs_dep_graph, get_pkg_dep_graph
@@ -62,7 +63,7 @@ immutable PkgInfo
homepage::String
stars::Int
watchers::Int
- contributors::Vector{(Int,Contributor)} # (commit_count,Contrib.)
- contributors::Vector{@compat Tuple{Int,Contributor}} # (commit_count,Contrib.)
end
######
@@ -341,4 +342,4 @@ function get_pkg_dep_graph(pkg::PkgMeta, dep_graph::PkgGraph)
return v.sub_graph
end
-end # module
\ No newline at end of file
+end # module
I don't need to do anything here right this instant, but since PackageEvaluator depends on this to generate its plots the site data, I might at some point. Probably better if multiple people have commit access, or have this in an org, just in case?
As described in https://discourse.julialang.org/t/ann-plans-for-removing-packages-that-do-not-yet-support-1-0-from-the-general-registry/ we are planning on removing packages that do not support 1.0 from the General registry. This package has been detected to not support 1.0 and is thus slated to be removed. The removal of packages from the registry will happen approximately a month after this issue is open.
To transition to the new Pkg system using Project.toml
, see https://github.com/JuliaRegistries/Registrator.jl#transitioning-from-require-to-projecttoml.
To then tag a new version of the package, see https://github.com/JuliaRegistries/Registrator.jl#via-the-github-app.
If you believe this package has erroneously been detected as not supporting 1.0 or have any other questions, don't hesitate to discuss it here or in the thread linked at the top of this post.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.