Skip to content

Commit 9704384

Browse files
jakebolewskitkelman
authored andcommitted
point users to PkgDev for relocated functions
closes #13697
1 parent 1039a4e commit 9704384

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

base/pkg.jl

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,4 +370,26 @@ test(pkgs::AbstractString...; coverage::Bool=false) = cd(Entry.test,AbstractStri
370370

371371
dependents(packagename::AbstractString) = Reqs.dependents(packagename)
372372

373+
374+
# point users to PkgDev
375+
register(args...) =
376+
error("Pkg.register(pkg,[url]) has been moved to the package PkgDev.jl.\n",
377+
"Run Pkg.add(\"PkgDev\") to install PkgDev on Julia v0.5-")
378+
379+
tag(pkg, ver=nothing, commit=nothing) =
380+
error("Pkg.tag(pkg, [ver, [commit]]) has been moved to the package PkgDev.jl.\n",
381+
"Run Pkg.add(\"PkgDev\") to install PkgDev on Julia v0.5-")
382+
383+
publish() =
384+
error("Pkg.publish() has been moved to the package PkgDev.jl.\n",
385+
"Run Pkg.add(\"PkgDev\") to install PkgDev on Julia v0.5-")
386+
387+
generate(pkg, license) =
388+
error("Pkg.generate(pkg, license) has been moved to the package PkgDev.jl.\n",
389+
"Run Pkg.add(\"PkgDev\") to install PkgDev on Julia v0.5-")
390+
391+
license(lic=nothing) =
392+
error("Pkg.license([lic]) has been moved to the package PkgDev.jl.\n",
393+
"Run Pkg.add(\"PkgDev\") to install PkgDev on Julia v0.5-")
394+
373395
end # module

0 commit comments

Comments
 (0)