Giter Club home page Giter Club logo

metadatatools.jl's People

Contributors

ararslan avatar iainnz avatar jiahao avatar timholy avatar tkelman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

metadatatools.jl's Issues

Info about upcoming removal of packages in the General registry

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.

Compatibility Julia0.4; test/runtests.jl fails

Hi,

I am trying to use MetadataTools under Julia 0.4.

  1. found an issue with Tuple syntax, corrected it, see git diff below
  2. now getting the following error running 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

Commit access / move repo?

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.