Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JULIA_PKG_SERVER to Environment Variables in docs #39603

Merged
merged 2 commits into from
Feb 11, 2021

Conversation

NHDaly
Copy link
Member

@NHDaly NHDaly commented Feb 10, 2021

I'm not really sure what to write in here. I'm not super familiar with this ENV variable, nor do I know how best to explain it.

I'd love some help with this!! Please feel free to edit this PR directly!!

I am opening this because we recently needed to disable the package server (we were having consistency issues, where the registry wasn't updating), and we couldn't find documented anywhere what the Environment Variable is to do that. We eventually found it in the julia slack. I'd like to add it here so others can find it. :) thanks!

I'm not really sure what to write in here. I'm not super familiar with this ENV variable, nor do I know how best to explain it.

I'd love some help with this!! Please feel free to edit this PR directly!!

I am opening this because we recently needed to disable the package server (we were having consistency issues, where the registry wasn't updating), and we couldn't find documented anywhere what the Environment Variable is to do that. We eventually found it in the julia slack. I'd like to add it here so others can find it. :) thanks!
@NHDaly NHDaly added docs This change adds or pertains to documentation help wanted Indicates that a maintainer wants help on an issue or pull request packages Package management and loading labels Feb 10, 2021
Copy link
Member

@Sacha0 Sacha0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Superficially LGTM, but I know nothing about this, so requesting review from an authority :).

@Sacha0 Sacha0 requested a review from KristofferC February 10, 2021 22:51
@fredrikekre fredrikekre removed the help wanted Indicates that a maintainer wants help on an issue or pull request label Feb 11, 2021
@fredrikekre
Copy link
Member

package_win32:

ERROR: LoadError: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:Zlib, error inflating zlib stream)
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.7\Pkg\src\Types.jl:68
  [2] clone(io::IOContext{Base.PipeEndpoint}, url::String, source_path::String; header::String, credentials::Nothing, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.GitTools C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.7\Pkg\src\GitTools.jl:119
  [3] (::Pkg.Registry.var"#28#29"{IOContext{Base.PipeEndpoint}, String, Pkg.Registry.RegistrySpec})(tmp::String)
    @ Pkg.Registry C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.7\Pkg\src\Registry\Registry.jl:164
  [4] mktempdir(fn::Pkg.Registry.var"#28#29"{IOContext{Base.PipeEndpoint}, String, Pkg.Registry.RegistrySpec}, parent::String; prefix::String)
    @ Base.Filesystem .\file.jl:734
  [5] mktempdir

and

caused by: GitError(Code:ERROR, Class:Zlib, error inflating zlib stream)
Stacktrace:
[1] macro expansion
  @ C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.7\LibGit2\src\error.jl:110 [inlined]
[2] clone(repo_url::SubString{String}, repo_path::String, clone_opts::LibGit2.CloneOptions)
  @ LibGit2 C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.7\LibGit2\src\repository.jl:459
[3] clone(repo_url::SubString{String}, repo_path::String; branch::String, isbare::Bool, remote_cb::Ptr{Nothing}, credentials::LibGit2.CachedCredentials, callbacks::Dict{Symbol, Tuple{Ptr{Nothing}, Any}})
  @ LibGit2 C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.7\LibGit2\src\LibGit2.jl:583
[4] clone(io::IOContext{Base.PipeEndpoint}, url::String, source_path::String; header::String, credentials::Nothing, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
  @ Pkg.GitTools C:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.7\Pkg\src\GitTools.jl:109

Could have been caused by bad network connection? restarting..

@fredrikekre fredrikekre merged commit 4f854b4 into JuliaLang:master Feb 11, 2021
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation packages Package management and loading
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants