JuliaPackaging / BinaryProvider.jl

A reliable binary provider for Julia
Other
43 stars 47 forks source link

Error deploying repo to github #141

Closed eschnett closed 5 years ago

eschnett commented 5 years ago

BinaryBuilder v0.1.2 aborted with an error after creating the local git repo, but before uploading it to Github. This was the last output:

May I help you with the deployment of these scripts?                           
 > Let's create a GitHub repository
   Just get me a local git repository
   No, thanks

Let's deploy a builder repository to GitHub. This repository will be set up    
to use Travis CI to build binaries and then upload them to GitHub releases.    

Enter the desired name for the new repository: QDBuilder.jl                    

Creating a github access token.
We will use this token to create to repository, and then pass it to travis     
for future uploads of binary artifacts.
You will be prompted for your GitHub credentials.                              

Please enter the github.com password for eschnett:                             
Enter your desired license [MIT]:
UndefVarError: UserPasswordCredentials not defined                             
Stacktrace:
 [1] getproperty at ./sysimg.jl:13 [inlined]                                   
 [2] push_repo(::GitHub.GitHubWebAPI, ::LibGit2.GitRepo, ::GitHub.Repo, ::String, ::String, ::Array{String,1}) at /home/eschnetter/.julia/packages/BinaryBuilder/p7mmD/src/wizard/deploy.jl:431
 [3] (::getfield(BinaryBuilder, Symbol("##320#324")){LibGit2.GitConfig,BinaryBuilder.WizardState,String,String,String,String,GitHub.OAuth2})(::LibGit2.GitRepo)
at /home/eschnetter/.julia/packages/BinaryBuilder/p7mmD/src/wizard/deploy.jl:475
 [4] with(::getfield(BinaryBuilder, Symbol("##320#324")){LibGit2.GitConfig,BinaryBuilder.WizardState,String,String,String,String,GitHub.OAuth2}, ::LibGit2.GitRepo) at /nfs/galaxy/unixhome/eschnetter/src/julia/usr/share/julia/stdlib/v1.0/LibGit2/src/types.jl:1125
 [5] #github_deploy#319(::LibGit2.GitConfig, ::Function, ::BinaryBuilder.WizardState) at /home/eschnetter/.julia/packages/BinaryBuilder/p7mmD/src/wizard/deploy.jl:455
 [6] github_deploy at /home/eschnetter/.julia/packages/BinaryBuilder/p7mmD/src/wizard/deploy.jl:437 [inlined]
 [7] step7(::BinaryBuilder.WizardState) at /home/eschnetter/.julia/packages/BinaryBuilder/p7mmD/src/wizard/deploy.jl:559                                       
 [8] run_wizard(::Nothing) at /home/eschnetter/.julia/packages/BinaryBuilder/p7mmD/src/Wizard.jl:101
 [9] run_wizard() at /home/eschnetter/.julia/packages/BinaryBuilder/p7mmD/src/Wizard.jl:63
 [10] top-level scope at none:0
 [11] eval(::Module, ::Any) at ./boot.jl:319                                   
 [12] eval_user_input(::Any, ::REPL.REPLBackend) at /nfs/galaxy/unixhome/eschnetter/src/julia/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:85                  
 [13] macro expansion at /nfs/galaxy/unixhome/eschnetter/src/julia/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:117 [inlined]                                  
 [14] (::getfield(REPL, Symbol("##28#29")){REPL.REPLBackend})() at ./task.jl:259

WizardState [step7]

I believe I entered my Github password correctly.

eschnett commented 5 years ago

Wrong project.