@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
at upstream/main 162 lines 6.3 kB view raw
1@title Contributing Bug Reports 2@group detail 3 4Describes how to file an effective Phorge bug report. 5 6 7Overview 8======== 9 10This article describes how to file an effective Phorge bug report. 11 12The most important things to do are: 13 14 - check the list of common fixes below; 15 - make sure Phorge is up to date; 16 - make sure we support your setup; 17 - gather debugging information; and 18 - explain how to reproduce the issue. 19 20The rest of this article walks through these points in detail. 21 22For general information on contributing to Phorge, see 23@{article:Contributor Introduction}. 24 25 26Common Fixes 27============ 28 29Before you file a report, here are some common solutions to problems: 30 31 - **Update Phorge**: We receive a lot of bug reports about issues we have 32 already fixed in HEAD. Updating often resolves issues. It is common for 33 issues to be fixed in less than 24 hours, so even if you've updated recently 34 you should update again. If you aren't sure how to update, see the next 35 section. 36 - **Update Libraries**: Make sure `arcanist/` and `phorge/` are all up 37 to date. Users often update `phorge/` but forget to update `arcanist/`. 38 When you update, make sure you update both libraries. 39 - **Restart Apache or PHP-FPM**: Phorge uses caches which don't get 40 reset until you restart Apache or PHP-FPM. After updating, make sure you 41 restart. 42 43 44Update Phorge 45============= 46 47Before filing a bug, make sure you are up to date. We receive many bug reports 48for issues we have already fixed, and even if we haven't fixed an issue we'll 49be able to resolve it more easily if you file a report based on HEAD. (For 50example, an old stack trace may not have the right line numbers, which will 51make it more difficult for us to figure out what's going wrong.) 52 53To update Phorge, use a script like the one described in 54@{article:Upgrading Phorge}. 55 56**If you can not update** for some reason, please include the version of 57Phorge and Arcanist you are running when you file a report. 58 59For help, see @{article:Providing Version Information}. 60 61 62Supported Issues 63================ 64 65Before filing a bug, make sure you're filing an issue against something we 66support. 67 68**We can NOT help you with issues we can not reproduce.** It is critical that 69you explain how to reproduce the issue when filing a report. 70 71For help, see @{article:Providing Reproduction Steps}. 72 73**We do NOT support prototype applications.** If you're running into an issue 74with a prototype application, you're on your own. For more information about 75prototype applications, see @{article:User Guide: Prototype Applications}. 76 77**We do NOT support third-party packages or instructions.** If you installed 78Phorge (or configured some aspect of it) using a third-party package or by 79following a third-party guide (like a blog post), we can not help you. 80Phorge changes quickly and third-party information is unreliable and often 81falls out of date. Contact the maintainer of the package or guide you used, 82or reinstall following the upstream instructions. 83 84**We do NOT support custom code development or third-party libraries.** If 85you're writing an extension, you're on your own. We provide some documentation, 86but can not help you with extension or library development. If you downloaded a 87library from somewhere, contact the library maintainer. 88 89**We do NOT support bizarre environments.** If your issue is specific to an 90unusual installation environment, we generally will not help you find a 91workaround. Install Phorge in a normal environment instead. Examples of 92unusual environments are shared hosts, nontraditional hosts (gaming consoles, 93storage appliances), and hosts with unusually tight resource constraints. The 94vast majority of users run Phorge in normal environments (modern computers 95with root access) and these are the only environments we support. 96 97Otherwise, if you're having an issue with a supported first-party application 98and followed the upstream install instructions on a normal computer, we're happy 99to try to help. 100 101 102Getting More Information 103======================== 104 105For some issues, there are places you can check for more information. This may 106help you resolve the issue yourself. Even if it doesn't, this information can 107help us figure out and resolve an issue. 108 109 - For issues with `arc` or any other command-line script, you can get more 110 details about what the script is doing by adding the `--trace` flag. 111 - For issues with Phorge, check your webserver error logs. 112 - For Apache, this is often `/var/log/httpd/error.log`, or 113 `/var/log/apache2/error.log` or similar. 114 - For nginx, check both the nginx and php-fpm logs. 115 - For issues with the UI, check the Javascript error console in your web 116 browser. 117 - Some other things, like daemons, have their own debug flags or 118 troubleshooting steps. Check the documentation for information on 119 troubleshooting. Adjusting settings or enabling debugging modes may give 120 you more information about the issue. 121 122 123Reproducibility 124=============== 125 126The most important part of your report content is instructions on how to 127reproduce the issue. What did you do? If you do it again, does it still break? 128Does it depend on a specific browser? Can you reproduce the issue on 129a fresh, unmodified Phorge instance? 130 131It is nearly impossible for us to resolve many issues if we can not reproduce 132them. We will not accept reports which do not contain the information required 133to reproduce problems. 134 135For help, see @{article:Providing Reproduction Steps}. 136 137 138File a Bug Report 139================= 140 141If you're up to date, have collected information about the problem, and have 142the best reproduction instructions you can come up with, you're ready 143to file a report. 144 145It is **particularly critical** that you include reproduction steps. 146 147Community Members - that is, members of #community - can 148[[ https://we.phorge.it/maniphest/task/edit/form/2/ | file a report directly 149on this instance]]. 150 151Potential members - i.e., everyone else - please use Ponder to 152[[ https://we.phorge.it/ponder/question/create/ | Ask for support ]] from the 153Community Members. 154 155 156Next Steps 157========== 158 159Continue by: 160 161 - reading general support information in @{article:Support Resources}; or 162 - returning to the @{article:Contributor Introduction}.