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

[enhancement] #62 - Provide link towards created issue #63

Merged
merged 1 commit into from Oct 6, 2016

Conversation

mdeloupy
Copy link
Collaborator

@mdeloupy mdeloupy commented Oct 6, 2016

No description provided.

@mdeloupy mdeloupy added this to the v1.1.1 milestone Oct 6, 2016
@mdeloupy mdeloupy self-assigned this Oct 6, 2016
@coveralls
Copy link

coveralls commented Oct 6, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling a85d166 on enhancement-md-62-provide-issue-link into 7b6388e on master.

@coveralls
Copy link

coveralls commented Oct 6, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling 418a514 on enhancement-md-62-provide-issue-link into 7b6388e on master.

@mdeloupy
Copy link
Collaborator Author

mdeloupy commented Oct 6, 2016

screen shot 2016-10-05 at 10 16 30 pm

@mdeloupy mdeloupy changed the title [WIP] [enhancement] #62 - Provide link towards created issue [enhancement] #62 - Provide link towards created issue Oct 6, 2016
@mdeloupy mdeloupy force-pushed the enhancement-md-62-provide-issue-link branch from 418a514 to 0ce58c3 Compare October 6, 2016 02:23
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 0ce58c3 on enhancement-md-62-provide-issue-link into 7b6388e on master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 0ce58c3 on enhancement-md-62-provide-issue-link into 7b6388e on master.

@mdeloupy mdeloupy assigned benichu and unassigned mdeloupy Oct 6, 2016
@mdeloupy
Copy link
Collaborator Author

mdeloupy commented Oct 6, 2016

@benichu Ready for review

@@ -180,7 +180,8 @@ command :new do |c|
puts " to the project: #{project[:name]}"
parsed_checklist = Checklister::Parser.new(checklist_path, title)
issue = api_client.issue.create(project_id, parsed_checklist.to_params)
puts "* Issue successfully created!"
issue_url = issue.url || issue.web_url
Copy link
Owner

Choose a reason for hiding this comment

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

If url is a property from the github response, can you find out if html_url is available? https://developer.github.com/v3/issues/#response-3
Because it looks like url returns the api.github.com domain (JSON response) instead of just github.com (HTML response)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You're definitely right, I changed it.

@benichu benichu assigned mdeloupy and unassigned benichu Oct 6, 2016
@mdeloupy mdeloupy force-pushed the enhancement-md-62-provide-issue-link branch from 80bcfaa to 5e4c6ad Compare October 6, 2016 13:11
@mdeloupy mdeloupy assigned benichu and unassigned mdeloupy Oct 6, 2016
@coveralls
Copy link

coveralls commented Oct 6, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling 5e4c6ad on enhancement-md-62-provide-issue-link into 7b6388e on master.

@coveralls
Copy link

coveralls commented Oct 6, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling 5e4c6ad on enhancement-md-62-provide-issue-link into 7b6388e on master.

@benichu benichu merged commit f9575b7 into master Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants