Code Monkey home page Code Monkey logo

Comments (11)

WestleyArgentum avatar WestleyArgentum commented on August 20, 2024

Ah, I've looked at the api but not written anything. I could give it a shot tonight, or you're more than welcome to mess with it if it's blocking you

from github.jl.

WestleyArgentum avatar WestleyArgentum commented on August 20, 2024

Ok, still a little ways to go, but I got in issue(user, repo, issue_num) and create_issue(user, repo, title; body, assignee, milestone, labels)

Hope that helps! I'll keep chipping away at things, and pull requests are more than welcome

from github.jl.

WestleyArgentum avatar WestleyArgentum commented on August 20, 2024

Ok, you should now be able to create issues, get them individually or by repo, and edit / close them. I don't have docs yet, but you should be able to see http://developer.github.com/v3/issues/ for parameter values (and feel free to just ask).

I'm going to leave this open until commenting, docs, etc are done, but is there anything else issue-related that you need soon?

from github.jl.

IainNZ avatar IainNZ commented on August 20, 2024

No, thats great thanks!

from github.jl.

IainNZ avatar IainNZ commented on August 20, 2024

I'm about to start using this to auto-file issues from PackageEvaluator stuff, so that should really give it a could test out.

from github.jl.

IainNZ avatar IainNZ commented on August 20, 2024
create_issue("JuliaOpt", "JuMP.jl", "Test Issue",
    auth=my_auth,
    body="This issue was generated using GitHub.jl")

causes

WARNING: convert{T}(p::Type{Ptr{T}},a::Array) is deprecated, use convert(p,pointer(a)) instead.
 in Parser at /home/idunning/.julia/v0.3/HttpParser/src/HttpParser.jl:48
 in ResponseParser at /home/idunning/.julia/v0.3/Requests/src/Requests.jl:66
 in process_response at /home/idunning/.julia/v0.3/Requests/src/Requests.jl:225
 in do_request at /home/idunning/.julia/v0.3/Requests/src/Requests.jl:562
 in get at /home/idunning/.julia/v0.3/Requests/src/Requests.jl:576
 in authenticate at /home/idunning/.julia/v0.3/GitHub/src/auth.jl:41
 in include at boot.jl:244
 in include_from_node1 at loading.jl:128
ERROR: no method convert(Type{String}, Dict{Any,Any})
 in default_request at /home/idunning/.julia/v0.3/Requests/src/Requests.jl:39
 in default_request at /home/idunning/.julia/v0.3/Requests/src/Requests.jl:50
 in open_stream at /home/idunning/.julia/v0.3/Requests/src/Requests.jl:202
 in do_request at /home/idunning/.julia/v0.3/Requests/src/Requests.jl:562
 in post at /home/idunning/.julia/v0.3/Requests/src/Requests.jl:576
 in create_issue at /home/idunning/.julia/v0.3/GitHub/src/issues.jl:138
 in create_issue at /home/idunning/.julia/v0.3/GitHub/src/issues.jl:116
 in include at boot.jl:244
 in include_from_node1 at loading.jl:128

from github.jl.

WestleyArgentum avatar WestleyArgentum commented on August 20, 2024

Ah - I think I can fix those pretty easily. Shooting from the hip here, but I remember that Requests.jl changed recently, I might need to update.

from github.jl.

IainNZ avatar IainNZ commented on August 20, 2024

Yeah, I'm guessing thats it

from github.jl.

WestleyArgentum avatar WestleyArgentum commented on August 20, 2024

I think I've fixed this on master - let me know if you run into any more trouble

from github.jl.

WestleyArgentum avatar WestleyArgentum commented on August 20, 2024

I think this was resolved? Did you end up using this in PackageEvaluator to file issues?

This could be better documented still, but I'm closing in favor of #28

from github.jl.

IainNZ avatar IainNZ commented on August 20, 2024

I ended up doing it manually
https://github.com/IainNZ/packages.julialang.org/blob/395ff8db8bf3b2fdab411db23f76bb42d3e43dd3/script/file_issues.jl#L93-L101
but if/when I refactor, I'll shift over.

from github.jl.

Related Issues (20)

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.