juliaregistries / retrocap.jl Goto Github PK
View Code? Open in Web Editor NEWRetroactively add "caps" (upper-bounded compat entries) to all packages in one or more registries
License: MIT License
Retroactively add "caps" (upper-bounded compat entries) to all packages in one or more registries
License: MIT License
Currently:
My idea:
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!
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
Is there a reason for this requirement?
It seems like it would still be useful to be monotonic except for the latest version.
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
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.
Currently, we vendor our own copy of Compress
.
We should add a dependency on RegistryTools.jl
, and then just use the Compress
functionality inside RegistryTools.jl
.
Version 2.1 is out but not showing up on the releases page.
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.