Skip to content

Commit

Permalink
Bump Pkg version to be Artifact-aware (#32918)
Browse files Browse the repository at this point in the history
* Bump `Pkg` version to be `Artifact`-aware

This introduces the new `Pkg.Artifacts` subsystem into the standard
library.

* Fix `Pkg` doctests
  • Loading branch information
staticfloat committed Aug 17, 2019
1 parent b5f4e87 commit cd6f059
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Expand Up @@ -46,6 +46,8 @@ New library functions
Standard library changes
------------------------

* `Pkg` can now download and install binary artifacts through the `Pkg.Artifacts`
submodule and supporting functions. ([#32918])
* When `wait` (or `@sync`, or `fetch`) is called on a failing `Task`, the exception is propagated as a
`TaskFailedException` wrapping the task.
This makes it possible to see the location of the original failure inside the task (as well as the
Expand Down

This file was deleted.

This file was deleted.

@@ -0,0 +1 @@
bf5e987e729571593aeb0c58a92ff15f
@@ -0,0 +1 @@
560fa71df653fe384d4249b0ef91bd1b98f7795cc25fda2d2be131aba496a95e8d3849760bd84ca25bb9832acaee54e803de23e49ede39a938b7024fb49eed7b
2 changes: 2 additions & 0 deletions doc/make.jl
Expand Up @@ -154,6 +154,8 @@ end
# This overwrites the existing ones from above though, hence the warn=false.
DocMeta.setdocmeta!(SparseArrays, :DocTestSetup, :(using SparseArrays, LinearAlgebra), recursive=true, warn=false)
DocMeta.setdocmeta!(UUIDs, :DocTestSetup, :(using UUIDs, Random), recursive=true, warn=false)
DocMeta.setdocmeta!(Pkg, :DocTestSetup, :(using Pkg, Pkg.Artifacts), recursive=true, warn=false)
DocMeta.setdocmeta!(Pkg.BinaryPlatforms, :DocTestSetup, :(using Pkg, Pkg.BinaryPlatforms), recursive=true, warn=false)

const render_pdf = "pdf" in ARGS
let r = r"buildroot=(.+)", i = findfirst(x -> occursin(r, x), ARGS)
Expand Down
2 changes: 1 addition & 1 deletion stdlib/Pkg.version
@@ -1,2 +1,2 @@
PKG_BRANCH = master
PKG_SHA1 = 394e7c5d55d3722f5b2ab660ca0a694ea0041974
PKG_SHA1 = 917d38ee25ddbcf71fede867f22846574ef29485

0 comments on commit cd6f059

Please sign in to comment.