Comments (11)
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.
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.
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.
No, thats great thanks!
from github.jl.
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.
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.
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.
Yeah, I'm guessing thats it
from github.jl.
I think I've fixed this on master - let me know if you run into any more trouble
from github.jl.
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.
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)
- Missing SSH url and clone url for repositories. HOT 1
- Include events end-point
- collaborators raises ERROR: map is not defined on dictionaries HOT 1
- TagBot trigger issue HOT 14
- "Must have admin rights" to delete a repo for which I have admin rights HOT 3
- can i call my github julia package in R/Python via restapi? HOT 2
- Add support for releases and uploading files to releases HOT 2
- `GitHub.contributors` gives 404 but REST API works fine HOT 2
- regex error in handle_comment HOT 9
- Tag Release HOT 2
- FR: Built-in function to iterate paginated results
- Add repository topic functions
- Catch-all `run` definition causes stack overflows
- Add organization invite functionality HOT 1
- Auth issues when using GitHub.jl with GitHub actions
- Remove handle_comment collaborator check
- Feature request: add tree field to Commit
- Error type HOT 1
- Make new release HOT 1
- RefreshAuth type
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github.jl.