Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 2.94 KB

CONTRIBUTING.md

File metadata and controls

38 lines (26 loc) · 2.94 KB

The Azure IoT SDKs team wants to hear from you!

Ask a question

Our team monitors Stack Overflow, especially the azure-iot-hub tag. It really is the best place to ask.

We monitor the Github issues section specifically for bugs found with our SDK, however we will reply to questions asked using Github issues too.

File a bug (code or documentation)

That is definitely something we want to hear about. Please open an issue on github, we'll address it as fast as possible. Typically here's the information we're going to ask for to get started:

  • What version of the SDK are you using?
  • Do you have a snippet of code that would help us reproduce the bug?
  • Do you have logs showing what's happening?

Our SDK is entirely open-source and we do accept pull-requests if you feel like taking a stab at fixing the bug and maybe adding your name to our commit history :) Please mention any relevant issue number in the pull request description.

Contribute code and/or documentation

We look at all pull requests submitted against the master branch carefully. We also actively use the Wiki for longer-form documents. The wiki can be cloned and used as a regular Git repository so feel free to contribute there too!

As far as code is concerned the code associated with the PR will be pulled and run through the gated build before it makes it to the master branch. As much as possible, we insist on having tests associated with the code, and if necessary, additions/modifications to the requirement documents. As a matter of fact, the build will fail if code coverage goes down.

Also, have you signed the Contribution License Agreement (CLA)? A friendly bot will remind you about it when you submit your pull-request.

If you feel like your contribution is going to be a major effort, you should probably give us a heads-up. We have a lot of items captured in our backlog and we release every two weeks, so before you spend the time, just check with us to make sure your plans and ours are in sync :) Just open an issue on github and tag it "enhancement" or "feature request"

Editing module requirements

We use requirement documents to describe the expected behavior for each code modules. It works as a basis to understand what tests need to be written.

When contributing to markdown requirement docs (located in the devdoc folder alongside the code, you should use 99 for a developer id, and just increment the last number of the requirement to be unique.

Adding new files

If your contribution is not part of an already existed code, you must create a new requirement file and a new set of unit tests project in the appropriate devdoc and test directories.