Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Our company has a private GitHub repository for the project I'm working on. After a full summer of work, it looks like we'll be launching this week (wheee!). However, I want to include a "submit a bug" link in the program that leads to a form somewhere where the user can fill out a form that becomes an issue for us on GitHub. Googling around hasn't found any solution (or someone who has the same problem).

Is this possible (through some API, perhaps?) or will I have to manually enter the bugs my users report?

share|improve this question
    
Not an answer as it is just links, but the Github API is what you are looking for. Specifically Creating Issues. If you do do this, it would be nice if you came back and added an example with code on how to use it. –  jschoen Aug 1 '12 at 17:53
1  
Also not an answer: Consider simpler form (lower barrier for the user) that just sends you an email. As you're just launching, any user who takes the time to file a bug report is probably somebody you want to engage with personally, anyway. Dumping them off to Github is actually a waste of an opportunity. –  grossvogel Aug 1 '12 at 18:11

2 Answers 2

up vote 3 down vote accepted

I don't think the API is going to help you in this case. Because the project is private no one that is not logged in AND has access to the project will be able to do anything with the project, including creating tickets.

If you use the Github API you'll have to include the username and password to an account that is a collaborator on the project. Probably not a great idea.

Your next option would be to create a public project with a similar name, but without the code. Then you can use that project to track the external customer bugs.

share|improve this answer
    
Good advice, thanks! –  SomeKittens Aug 21 '12 at 13:08

The Redmine turnkey linux appliance is available free for your own hosting or through the Amazon cloud (just pay and turn it on). Redmine allows for ticket submission through email, so you're users could have your users send in the tickets that way. Redmine also allows for anonymous users to add tickets, if you set up the permissions that way.

Since the appliance is a complete linux box, you can have a cron job or push notification that runs a script and adds the new ticket to the private github repo. The github API also allows for getting issues, so you could have the script keep the redmine box up to date too.

Personally, I'd just use the Redmine appliance by itself and have it monitoring the remote github repo.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.