Any contributions you're willing to make are super appreciated. That includes a wide variety of things – not just code!
Since this project is still maturing, many of its initial contributions will take the form of new features or bug fixes. Even if you're not familiar with TypeScript, you can still help make brs
a more accurate interpreter for the BrightScript language. You can:
- Improve documentation for BrightScript's quirks (even minor typoe fixes are helpful!)
- File issues demonstrating where this implementation diverges from the reference one (i.e. on a Roku device)
- Add end-to-end tests in BrightScript to help exercise find bugs
- Use
brs
and tell your friends about it
If you find something wrong with brs
, or something doesn't seem right, feel free to open a new issue. Please try to avoid "how do I X in BrightScript" questions however — those are best suited for StackOverflow or similar Q&A sites.
When opening a bug report, please include the following:
- A description of the bug
- A BrightScript file that reproduces the issue
- What you expected to happen
- What actually happened
- How consistently you saw the behavior (10%? 90%? Every time?)
- The versions of
brs
andnode
you found the bug in - Your operating system and version
Have you found something that this project is missing? That's great! We'd love to hear about it. Please provide the following:
- A description of the new or missing feature
- A sample BrightScript file that uses the feature
- How you expect the feature to behave, or a link to the BrightScript documentation describing its behavior
Regardless of whether you're fixing bugs or implementing new features, there's a few things you'll want to do make theprocess as easy as possible:
- Comment on the issue and tell us that you're intereseted in working on it. This should lower the (admittedly rare) chances of someone stealing your that bug/feature from you 😄.
- Create a fork of this repo if you haven't already
- Send us a pull request!
For guidelines on adding a component to brs
, see this doc.
There aren't to many mandatory things for pull requests, besides what you'd expect from any open-source project (e.g. "don't delete all the code", "don't delete a user's home directory at runtime"). The most important project-specific "must-haves" that we'll look for that are:
- Pull requests should be based on a pretty recent version of the
master
branch, to minimize merge conflicts. - All tests should pass (Travis CI will let us know if any fail).
- End to end tests written in BrightScript should be present to exercise the bug or new feature. These don't need to be exhaustive — just enough to ensure that the major use-cases are covered. More in-depth testing can happen via unit test.