You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking over a number of the issues that have been reported in the last several months, one of the things that would help the issues get resolved faster is if there was more information that could be used to rule out certain problems, issues, pre-conditions, etc.
The ideal bug report for jscodeshift, IMHO, contains
A list of the relevant specs of the project/dev environment setup (we could automate getting all this info to make it not a PITA)
Platform, os version
node.js version
npm.js
jscodeshift version
The command line command that is used to run the transform (if not done programmatically)
The complete content that is attempted to be transformed
The transform code
The expected result
The actual transformed content (or the error messages if the transformation wasn't successful)
If the bug relates to something involving transformations for a specific framework (I'm looking at you, mui, ;) ) there is a link to the person's project that uses the framework with all the relevant transforms already set up so a jscodeshift maintain can simply clone their repo and run the script
A link to a temporarily-created git repo that reproduces the issue using the smallest amount of code possible.
A link to an ast-explorer instance that sets up the transform (if relevant)
I thought there was already some documentation in the README.md. CONTRIBUTING.md, etc that went over all of this, but I'm not finding it (maybe I just haven't had enough caffeine this morning and it's already there).
This info should be added to the docs if it's not already there. Also, I think some sort of github template for reporting issues would help gather more information that could be used to resolve jscodeshift issues faster.
The more info we maintainers have, the less time we have to spend reproducing the bugs, the faster we can fix issues.
The text was updated successfully, but these errors were encountered:
Also, I think some sort of github template for reporting issues would help gather more information that could be used to resolve jscodeshift issues faster.
+1
A link to an ast-explorer instance that sets up the transform (if relevant)
For issues that can be reproduced in ASTExplorer, it's one of the most useful things to have. Being able to click a link and see a bug, reproduced live, is so helpful for debugging.
Looking over a number of the issues that have been reported in the last several months, one of the things that would help the issues get resolved faster is if there was more information that could be used to rule out certain problems, issues, pre-conditions, etc.
The ideal bug report for jscodeshift, IMHO, contains
I thought there was already some documentation in the README.md. CONTRIBUTING.md, etc that went over all of this, but I'm not finding it (maybe I just haven't had enough caffeine this morning and it's already there).
This info should be added to the docs if it's not already there. Also, I think some sort of github template for reporting issues would help gather more information that could be used to resolve jscodeshift issues faster.
The more info we maintainers have, the less time we have to spend reproducing the bugs, the faster we can fix issues.
The text was updated successfully, but these errors were encountered: