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

Clarify bug reporting with regards to providing a pdf #5963

Merged

Conversation

CodingFabian
Copy link
Contributor

With respect to many bug reports not providing a PDF, I looked for a possible cause.
What I found is that the actual guidelines for bug reporting are in CONTRIBUTING.md, which is not really linked prominently.
So I decided to put a link to it into the README.md which is rendered by github and clarify the naming of the links.
I remove the style-guide link for brevity, because its only important for contributors which run the contribution workflow, which already talks about linting (and references the style guide)

Most importantly I have added quite a lengthy paragraph about the importance of providing a PDF.

@Snuffleupagus
Copy link
Collaborator

The main issue is probably that people often times don't bother reading CONTRIBUTING.md at all (there's a link to it on the "New Issue" page, so it should be hard to miss).

@@ -2,6 +2,8 @@

The issues are used to track both bugs filed by users and specific work items for developers. Try to file one issue per problem observed. Please specify a valid title (e.g. "Glyph spacing is incorrect" instead of "PDF.js does not work") and provide more details about the issue: link to the PDF, location in the PDF, screenshot, browser version, operating system, PDF.js version and JavaScript console warning/error messages. Issues that do not have enough details provided will be closed as invalid/incomplete.

We understand that many PDFs contain sensitive information, however having a PDF to reproduce and test is essential to resolving the issue and building regression testing. If possible try creating a reduced example exhibiting the problem but not containing sensitive data. Also small PDFs are best suited for our regression testing. If an important issue only shows on sensitive PDFs, contributors might be willing to accept these PDFs via a secure exchange. If a PDF cannot be provided, the issue is most likely to be closed.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Perhaps this entire section could be highlighted, using e.g. italic or bold text, to draw attention to it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

as per your initial argument, I don't think that highlighting makes it any better. it is just the long form of "link to pdf required"

@CodingFabian
Copy link
Contributor Author

You are right, once you clicked "New Issue" you should see that link. I thought that however the general readme should provide a bit more guidance on bug reporting in the first place.

@timvandermeij
Copy link
Contributor

I'm fine with this change. I wouldn't highlight it either. Just adding the paragraph already helps I think and making the issue reporting guidelines available from the README should help too.

@CodingFabian CodingFabian force-pushed the enhance-bug-reporting-guide branch 2 times, most recently from 7c8e0ba to 04586a0 Compare April 25, 2015 12:41
@CodingFabian CodingFabian force-pushed the enhance-bug-reporting-guide branch from 04586a0 to 2175b87 Compare April 25, 2015 12:42
@CodingFabian
Copy link
Contributor Author

I made it a bit clearer that issues with regards to pdf rendering will be closed if a pdf is not provided. i think thats reasonable with the explanation at hand.

timvandermeij added a commit that referenced this pull request Apr 26, 2015
Clarify bug reporting with regards to providing a pdf
@timvandermeij timvandermeij merged commit 2bbe872 into mozilla:master Apr 26, 2015
@timvandermeij
Copy link
Contributor

Looks good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants