Giter Club home page Giter Club logo

onlinepackage.jl's Introduction

OnlinePackage

Latest CodeCov

Puts your package up on github and adds ssh keys

onlinepackage.jl's People

Contributors

bramtayl avatar

Stargazers

Páll Haraldsson avatar Anshul Singhvi avatar John Lapeyre avatar Diego Javier Zea avatar

Watchers

James Cloos avatar  avatar  avatar

onlinepackage.jl's Issues

Deprecate

After some struggle trying to get this incorporated into PkgTemplates, github actions came along and sorted out all the mess for me. So I think its time to deprecate this package. @StefanKarpinski I promised I wouldn't delete a repo again; what would be the steps to deprecate it?

Walkthrough

As I understand it, you create a User instance somehow, and then call OnlinePackage.put_online?

set_up failure

I got tokens from the appropriate places.
Then I ran set_up and here is my result (error). This is on Julia v0.6.2 and v0.0.1 of the package and Windows 7.

julia> set_up("tbeason","9860xxx43563xxx","sdfsdnxxxxxhdt3io43") #fake tokens
INFO: Getting travis token
ERROR: HTTP.ExceptionRequest.StatusError(422, HTTP.Messages.Response:
"""
HTTP/1.1 422 Unprocessable Entity
Connection: keep-alive
Server: nginx
Date: Mon, 19 Feb 2018 20:23:33 GMT
Content-Type: application/json
Content-Length: 46
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: Content-Type, Cache-Control, Expires, Etag, Last-Modified, X-Request-ID
Strict-Transport-Security: max-age=31536000
X-Endpoint: Travis::Api::App::Endpoint::Authorization
X-Pattern: /github
X-Oauth-Scopes: public
X-Accepted-Oauth-Scopes: public
Vary: Accept,Accept-Encoding
X-Rack-Cache: invalidate, pass
X-Request-Id: 759b9b2f-c313-4b4a-9fe9-a829952dbf7e
Via: 1.1 vegur

{"error":"Must pass 'github_token' parameter"}""")
Stacktrace:
 [1] #request#1(::Array{Any,1}, ::Function, ::Type{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}, ::HTTP.URIs.URI, ::Vararg{Any,N} where N) at C:\Users\tbeason\.julia\v0.6\HTTP\src\ExceptionRequest.jl:24
 [2] (::HTTP.#kw##request)(::Array{Any,1}, ::HTTP.#request, ::Type{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}, ::HTTP.URIs.URI, ::HTTP.Messages.Request, ::String) at .\<missing>:0
 [3] (::Base.###49#50#52{ExponentialBackOff,HTTP.RetryRequest.##2#3{Bool,HTTP.Messages.Request},HTTP.#request})(::Array{Any,1}, ::Function, ::Type{T} where T, ::Vararg{Any,N} where N) at .\error.jl:139
 [4] (::Base.#kw###49#51)(::Array{Any,1}, ::Base.##49#51, ::Type{T} where T, ::Vararg{Any,N} where N) at .\<missing>:0
 [5] #request#1(::Int64, ::Bool, ::Array{Any,1}, ::Function, ::Type{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}, ::HTTP.URIs.URI, ::HTTP.Messages.Request, ::String) at C:\Users\tbeason\.julia\v0.6\HTTP\src\RetryRequest.jl:45
 [6] (::HTTP.#kw##request)(::Array{Any,1}, ::HTTP.#request, ::Type{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}, ::HTTP.URIs.URI, ::HTTP.Messages.Request, ::String) at .\<missing>:0
 [7] #request#1(::VersionNumber, ::String, ::Void, ::Void, ::Array{Any,1}, ::Function, ::Type{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::String) at C:\Users\tbeason\.julia\v0.6\HTTP\src\MessageRequest.jl:46
 [8] (::HTTP.#kw##request)(::Array{Any,1}, ::HTTP.#request, ::Type{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::String) at .\<missing>:0
 [9] #request#1(::Int64, ::Bool, ::Array{Any,1}, ::Function, ::Type{HTTP.RedirectRequest.RedirectLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::String) at C:\Users\tbeason\.julia\v0.6\HTTP\src\RedirectRequest.jl:26
 [10] (::HTTP.#kw##request)(::Array{Any,1}, ::HTTP.#request, ::Type{HTTP.RedirectRequest.RedirectLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::String) at .\<missing>:0
 [11] #request#8(::Array{Any,1}, ::Function, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::String) at C:\Users\tbeason\.julia\v0.6\HTTP\src\HTTP.jl:291
 [12] (::HTTP.#kw##request)(::Array{Any,1}, ::HTTP.#request, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::String) at .\<missing>:0
 [13] #request#18(::Dict{String,String}, ::String, ::Bool, ::Bool, ::Bool, ::Array{Any,1}, ::Function, ::HTTP.Client, ::String, ::HTTP.URIs.URI) at C:\Users\tbeason\.julia\v0.6\HTTP\src\client.jl:134
 [14] (::HTTP.#kw##request)(::Array{Any,1}, ::HTTP.#request, ::HTTP.Client, ::String, ::HTTP.URIs.URI) at .\<missing>:0
 [15] #post#26(::Array{Any,1}, ::Function, ::String) at C:\Users\tbeason\.julia\v0.6\HTTP\src\client.jl:144
 [16] (::HTTP.#kw##post)(::Array{Any,1}, ::HTTP.#post, ::String) at .\<missing>:0
 [17] talk_to(::Function, ::OnlinePackage.TravisToken, ::String, ::Dict{String,String}) at C:\Users\tbeason\.julia\v0.6\OnlinePackage\src\talk_to.jl:18
 [18] get_travis_token(::String) at C:\Users\tbeason\.julia\v0.6\OnlinePackage\src\travis_token.jl:10
 [19] set_up(::String, ::String, ::String) at C:\Users\tbeason\.julia\v0.6\OnlinePackage\src\configure.jl:22

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.