Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Latest commit

 

History

History
91 lines (55 loc) · 3.59 KB

CONTRIBUTING.md

File metadata and controls

91 lines (55 loc) · 3.59 KB

Contributing to motion-controller-emulator

Contributions to this project are encouraged! All you need is a Github account to contribute.

Please ask questions by opening an issue.

Quickstart

To get started, as always: open an issue.

Make your code changes, and submit a pull request. Add tests and update documentation when appropriate. Fill out the pull request template entirely on GitHub.

All submissions must pass unit tests.

Admins will respond quickly, and may request changes, on the pull request.

What Can I Do?

Here are some ideas:

Add a gcode command - The list of supported commands can be found in lib/commands. Although originally designed for basic functionality, support of additional GCode commands is welcomed.

Contribute unit tests - test that motion-controller-emulator functions work correctly in a variety of situations, and that they report errors when appropriate

Bug fixes: Found a typo in the code? Found that a function fails under certain conditions? Know how to fix it? Great! Go for it. Please open an issue so that we know you're working on it, and submit a pull request when you're ready.

Whatever: There's ALWAYS something to do.

Pull requests are always welcome

All PRs should be documented as GitHub issues, ideally BEFORE you start working on them.

Submission Guidelines

Project Roles

Matt Hova - Product Owner

Timing

We will attempt to address all issues and pull requests within one week. It may a bit longer before pull requests are actually merged, as they must be inspected and tested.

Issues

If your issue appears to be a bug, and hasn't been reported, open a new issue. Help us to maximize the effort we can spend fixing issues and adding new features, by not reporting duplicate issues. A template is provided when submitting an issue, and providing the following information will increase the chances of your issue being dealt with quickly:

  • Overview of the Issue - if an error is being thrown a non-minified stack trace helps
  • Motivation for or Use Case - explain why this is a bug for you
  • Browsers and Operating System - is this a problem with all browsers or only IE8?
  • Reproduce the Error - provide a live example (using [Plunker][plunker] or [JSFiddle][jsfiddle]) or an unambiguous set of steps.
  • Related Issues - has a similar issue been reported before?
  • Suggest a Fix - if you can't fix the bug yourself, perhaps you can point to what might be causing the problem (line of code or commit)

Pull Requests

Before you submit your pull request consider the following guidelines:

  • Search GitHub for an open or closed Pull Request that relates to your submission. You don't want to duplicate effort.

  • Make your changes in a new git branch:

    git checkout -b my-fix-branch master
  • Create your patch.

  • Commit your changes using a descriptive commit message.

    git commit -a

    Note: the optional commit -a command line option will automatically "add" and "rm" edited files.

  • Push your branch to GitHub:

    git push origin my-fix-branch
  • In GitHub, send a pull request to motion-controller-emulator:master.

Coding Rules

  • Please maintain a code style similar to that of the rest of the project, adhering the the styleguide (.eslintrc)
  • Please document all public methods using JSDoc format comments.

Becoming a contributor

Frequent contributors can email the maintainers at motion-controller-emulator.maintainers@autodesk.com to become a project administrator, at the approval of existing project admins.