triage.md
1.73 KB
This is an article about how to help with LibSass issues. Issue triage is a fancy word for explaining how we deal with incoming issues and make sure that the right problems get worked on. The lifecycle of an issue goes like this:
- Issue is reported by a user.
- If the issue seems like a bug, then the "bug" tag is added.
- If the reporting user didn't also create a spec test over at sass/sass-spec, the "needs test" tag is added.
- Verify that Ruby Sass does not have the same bug. LibSass strives to be an exact replica of how Ruby Sass works. If it's an issue that neither project has solved, please close the ticket with the "not in sass" label.
- The smallest possible breaking test is created in sass-spec. Cut away any extra information or non-breaking code until the core issue is made clear.
- Again, verify that the expected output matches the latest Ruby Sass release. Do this by using your own tool OR by running ./sass-spec.rb in the spec folder and making sure that your test passes!
- Create the test cases in sass-spec with the name spec/LibSass-todo-issues/issue_XXX/input.scss and expected_output.css where the XXX is the issue number here.
- Commit that test to sass-spec, making sure to reference the issue in the comment message like "Test to demonstrate sass/LibSass#XXX".
- Once the spec test exists, remove the "needs test" tag and replace it with "test written".
- A C++ developer will then work on the issue and issue a pull request to fix the issue.
- A core member verifies that the fix does actually fix the spec tests.
- The fix is merged into the project.
- The spec is moved from the LibSass-todo-issues folder into LibSass-closed-issues
- The issue is closed
- Have a soda pop or enjoyable beverage of your choice