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
Create an issue from NBug report #5064
Comments
I don't believe it is sent anywhere.
IIRC there is an issue in our backlog to have bugs auto-submitted to our GH
repo with all relevant info.
…On Tue, Jun 12, 2018, 3:29 PM Drew Noakes ***@***.***> wrote:
When an error occurs, a user sees:
[image: crash screen]
<https://user-images.githubusercontent.com/10179556/36780028-21ff433c-1c72-11e8-81a7-92f7b0c15b14.png>
When they click "Send and Quit" what actually happens?
@RussKie <https://github.com/RussKie> mentioned
<#4542 (comment)>
that a zip file is created. Are these sent anywhere?
Can we perhaps have the error dialog gather all this info into a form that
works well with the GitHub issue tracker? For example, a link to the issue
search, and a way of populating relevant information about the
machine/OS/version/etc that's reliable.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5064>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AEMyXvIVY8uUA1DYG918crlBiTUGYaUYks5t77QmgaJpZM4UkVa_>
.
|
… On Tue, Jun 12, 2018, 3:51 PM Igor Velikorossov ***@***.***> wrote:
I don't believe it is sent anywhere.
IIRC there is an issue in our backlog to have bugs auto-submitted to our
GH repo with all relevant info.
On Tue, Jun 12, 2018, 3:29 PM Drew Noakes ***@***.***>
wrote:
> When an error occurs, a user sees:
>
> [image: crash screen]
> <https://user-images.githubusercontent.com/10179556/36780028-21ff433c-1c72-11e8-81a7-92f7b0c15b14.png>
>
> When they click "Send and Quit" what actually happens?
>
> @RussKie <https://github.com/RussKie> mentioned
> <#4542 (comment)>
> that a zip file is created. Are these sent anywhere?
>
> Can we perhaps have the error dialog gather all this info into a form
> that works well with the GitHub issue tracker? For example, a link to the
> issue search, and a way of populating relevant information about the
> machine/OS/version/etc that's reliable.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#5064>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AEMyXvIVY8uUA1DYG918crlBiTUGYaUYks5t77QmgaJpZM4UkVa_>
> .
>
|
Yesterday I spent some time going through the NBug code and thinking how we can auto submit crash information to github.
Thoughts? |
This is somewhat related to #4800 |
Fallback for those not willing to add an authorisation is to copy all relevant information into the clipboard and ask the user to paste it into the issue tracker at URL: https://github.com/gitextensions/gitextensions/issues/new This still excludes users who do not have a GitHub account, though currently we are not in a good position to interact with such users anyway. |
Until the send capability is not activated, I would suggest to modify the button text to "Save report & Quit"... |
How about we replace NBug with ExceptionReporter.NET? |
I've had a play with ExceptionReporter.NET and whilst it looked promising, it had massive scaling issues which I couldn't be bothered dealing with. I have decided to break the tie with the upstream repo (given the original repo hasn't changed much nor we have contributed anything back for years), and customising our fork for our needs. I have removed the "Send and quit" button and added a "Copy" button that would copy exception details in MD format ready to paste to a GitHub issue. Depending how much time I have, I may look at adding a submission to GitHub functionality to NBug as well (it has few examples for other external systems). Please have a look at gitextensions/NBug#15 |
I'm working on getting an automatic bug reporting to GitHub. It is reasonably straight forward - Imagine we have the UI that has "Send" button: Would you think it is reasonable to ask user to provide an OAuth token when attempting to submit?
Thoughts / opinions? |
If automatic adding, can we somehow distinguish those from manual reports by default? For instance, I expect the filtering to be worse than for manual entered reports |
That's what labels are for.
…On Fri, Apr 5, 2019, 10:42 AM Gerhard Olsson ***@***.***> wrote:
If automatic adding, can we somehow distinguish those from manual reports
by default?
Ideally, a separate Issue tab...
For instance, I expect the filtering to be worse than for manual entered
reports
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5064 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADdhsSDxO0imOfXg65F4yRXnUAq1WW3Fks5vd2DVgaJpZM4UkVa_>
.
|
I don't believe you can have custom tabs. Labels can only be applied automatically by those with write access or manually. |
I'm not sure how it helps, Jay. However reading the docs (thank you for the pointers), it appears we can create an issue using a query parameters. Here's an example (❗️please don't submit the issue):
The total url length is 1,852 char I see the following benefits of this approach:
A possible drawback - a stack trace is too deep, this may result in a very long url and it may result in a partial or no submission at all. Personally I'm willing to take chances, some submissions is better than no submissions at all. Thoughts? |
Our current templates can be set to define bug or feature request label. https://developer.github.com/v3/issues/#create-an-issue we already have their oauth token when they setup github plugin. We could add a step in the settings setup for it. We can use AWS or azure or ... for file uploads and in the issue body link to the uploaded file. The file can be the zip nbug creates |
Yes, we can.
That is a very big assumption. I have never configured or used the plugin, we can't expect our user to use the plugin.
We could. However this requires a significant investment in time, effort and money. |
GitHub allows submitting issues by navigating a dedicated URL supplying issue data via query string parameters. More info: https://help.github.com/en/articles/about-automation-for-issues-and-pull-requests-with-query-parameters Whenever Git Extensions experiences an issue that is handled by NBug, a user is presented with an option to submit an issue to our GitHub repo. By clicking "Send and quit" button the following occurs: * an issue payload is generated, * the payload gets encoded into a url, and * the user is navigated to the generated url in a browser of their choice Relates to gitextensions/gitextensions#5064
GitHub allows submitting issues by navigating a dedicated URL supplying issue data via query string parameters. More info: https://help.github.com/en/articles/about-automation-for-issues-and-pull-requests-with-query-parameters Whenever Git Extensions experiences an issue that is handled by NBug, a user is presented with an option to submit an issue to our GitHub repo. By clicking "Send and quit" button the following occurs: * an issue payload is generated, * the payload gets encoded into a url, and * the user is navigated to the generated url in a browser of their choice Closes gitextensions#5064
GitHub allows submitting issues by navigating a dedicated URL supplying issue data via query string parameters. More info: https://help.github.com/en/articles/about-automation-for-issues-and-pull-requests-with-query-parameters Whenever Git Extensions experiences an issue that is handled by NBug, a user is presented with an option to submit an issue to our GitHub repo. By clicking "Send and quit" button the following occurs: * an issue payload is generated, * the payload gets encoded into a url, and * the user is navigated to the generated url in a browser of their choice Relates to gitextensions/gitextensions#5064
GitHub allows submitting issues by navigating a dedicated URL supplying issue data via query string parameters. More info: https://help.github.com/en/articles/about-automation-for-issues-and-pull-requests-with-query-parameters Whenever Git Extensions experiences an issue that is handled by NBug, a user is presented with an option to submit an issue to our GitHub repo. By clicking "Send and quit" button the following occurs: * an issue payload is generated, * the payload gets encoded into a url, and * the user is navigated to the generated url in a browser of their choice Closes gitextensions#5064
When an error occurs, a user sees:
When they click "Send and Quit" what actually happens?
@RussKie mentioned that a zip file is created. Are these sent anywhere?
Can we perhaps have the error dialog gather all this info into a form that works well with the GitHub issue tracker? For example, a link to the issue search, and a way of populating relevant information about the machine/OS/version/etc that's reliable.
The text was updated successfully, but these errors were encountered: