Git Product home page Git Product logo

retrocap.jl's People

Contributors

bcbi-bot avatar dilumaluthge avatar juliatagbot avatar timholy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kristofferc

retrocap.jl's Issues

Idea: option to cap the latest version of each package

Currently:

  • The latest version of each package is never capped.

My idea:

  • There is an option to cap the latest version of each package.
  • There is an option to exclude (i.e. not cap) the latest version of each package.

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Make `AlwaysAssertionError` messages better

julia> add_caps(UpperBound(), CapLatestVersion(), pwd())
ERROR: RetroCap.AlwaysAssertionError("")
Stacktrace:
 [1] always_assert at /Users/travigd/.julia/packages/RetroCap/MNg7V/src/assert.jl:4 [inlined]
 [2] add_caps! at /Users/travigd/.julia/packages/RetroCap/MNg7V/src/add_caps.jl:108 [inlined]
 [3] add_caps at /Users/travigd/.julia/packages/RetroCap/MNg7V/src/add_caps.jl:82 [inlined]
 [4] add_caps at /Users/travigd/.julia/packages/RetroCap/MNg7V/src/add_caps.jl:53 [inlined]
 [5] add_caps at /Users/travigd/.julia/packages/RetroCap/MNg7V/src/add_caps.jl:30 [inlined]
 [6] add_caps at /Users/travigd/.julia/packages/RetroCap/MNg7V/src/add_caps.jl:19 [inlined]
 [7] add_caps(::UpperBound, ::CapLatestVersion, ::String) at /Users/travigd/.julia/packages/RetroCap/MNg7V/src/add_caps.jl:8
 [8] top-level scope at REPL[6]:1

Fails on master due to changes in Pkg internals

Cloning into 'General'...
Monotonic: Error During Test at /home/pkgeval/.julia/packages/RetroCap/iaP6D/test/runtests.jl:64
  Got exception outside of a @test
  UndefVarError: stdlib not defined
  Stacktrace:
   [1] getproperty at ./Base.jl:26 [inlined]
   [2] is_stdlib(::String) at /home/pkgeval/.julia/packages/RetroCap/iaP6D/src/utils.jl:21
   [3] add_caps! at /home/pkgeval/.julia/packages/RetroCap/iaP6D/src/add_caps.jl:161 [inlined]
   [4] add_caps at /home/pkgeval/.julia/packages/RetroCap/iaP6D/src/add_caps.jl:116 [inlined]
   [5] add_caps at /home/pkgeval/.julia/packages/RetroCap/iaP6D/src/add_caps.jl:53 [inlined]
   [6] add_caps at /home/pkgeval/.julia/packages/RetroCap/iaP6D/src/add_caps.jl:30 [inlined]
   [7] add_caps at /home/pkgeval/.julia/packages/RetroCap/iaP6D/src/add_caps.jl:19 [inlined]
   [8] add_caps at /home/pkgeval/.julia/packages/RetroCap/iaP6D/src/add_caps.jl:8 [inlined]
   [9] (::var"#10#25")() at /home/pkgeval/.julia/packages/RetroCap/iaP6D/test/runtests.jl:143
   [10] cd(::var"#10#25", ::String) at ./file.jl:104
   [11] #9 at /home/pkgeval/.julia/packages/RetroCap/iaP6D/test/runtests.jl:66 [inlined]
   [12] with_temp_dir(::var"#9#24") at /home/pkgeval/.julia/packages/RetroCap/iaP6D/src/utils.jl:34
   [13] top-level scope at /home/pkgeval/.julia/packages/RetroCap/iaP6D/test/runtests.jl:65
   [14] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Test/src/Test.jl:1116
   [15] top-level scope at /home/pkgeval/.julia/packages/RetroCap/iaP6D/test/runtests.jl:65
   [16] top-level scope at /workspace/srcdir/usr/share/julia/stdlib/v1.4/Test/src/Test.jl:1116
   [17] top-level scope at /home/pkgeval/.julia/packages/RetroCap/iaP6D/test/runtests.jl:7
   [18] include(::String) at ./client.jl:439
   [19] top-level scope at none:6
   [20] eval(::Module, ::Any) at ./boot.jl:331
   [21] exec_options(::Base.JLOptions) at ./client.jl:264
   [22] _start() at ./client.jl:484

KeyError: key v"0.1.1" not found

I am trying to run this on Invenia's internal registry,
and I am getting an error:

julia> add_caps(MonotonicUpperBound(), CapLatestVersion(), ["General", "Invenia"])

ERROR: KeyError: key v"0.1.1" not found
Stacktrace:
 [1] getindex
   @ ./dict.jl:482 [inlined]
 [2] add_caps
   @ ~/.julia/packages/RetroCap/PhnbK/src/add_caps.jl:128 [inlined]
 [3] add_caps
   @ ~/.julia/packages/RetroCap/PhnbK/src/add_caps.jl:54 [inlined]
 [4] add_caps(strategy::MonotonicUpperBound, option::CapLatestVersion, registry_paths::Vector{String})
   @ RetroCap ~/.julia/packages/RetroCap/PhnbK/src/add_caps.jl:31
 [5] top-level scope
   @ REPL[14]:1

It is unclear what it is about, or how to fix it.
I suspect something at some point has been done to Invenia's registry that puts it in some kind of inconsistent state.

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.