Skip to content

Contributing to external projects

Asheesh Laroia edited this page May 4, 2016 · 4 revisions

Preface

If you work at Sandstorm, and you want to submit some substantial creative work to another open source project, here's a guide for what to do, and what to keep in mind.

This guide isn't approved by Jade or Kenton yet. We should get their +1 and/or changes. So it's not official yet.

Summary

When contributing code to other people's projects:

  • Use your judgment to make sure it's OK to share this code. It almost definitely is OK, but you should probably pause and think. (Question for Kenton: Is this adequate?)

  • State the fact that the work you're contributing is (C) by Sandstorm.io.

  • State a specific license (e.g. by URL) when contributing it, as close to the place that you're contributing it (usually as a comment on a pull request).

  • Try to use whatever license the project wants. If they don't have one, you can use the Apache License 2.0 by default.

  • Indicate that the project may ask us for other permissions if they want.

  • If the project has a CLA, run it by Kenton or Jade; it's probably fine but you should check.

  • It's A-OK to take personal credit for work so long as you don't take personal copyright credit for a work.

Examples of what to say on pull requests

If the project has no license, and you are contributing things that does not modify their work, merely adds to it:

These images are created by me and the copyright for them is owned by Sandstorm Development Group, Inc. We are A-OK with them being distributed under the Apache License 2.0 http://www.apache.org/licenses/LICENSE-2.0 to permit redistribution & modification, etc. If, down the road, you need any other permissions or licensing from us, we're happy to oblige.

If the project wants you to use the CC by-sa license, and take credit for the work:

These images are created by me and the copyright for them is owned by Sandstorm Development Group, Inc. We are A-OK with this license being used to redistribute & modify the works: https://creativecommons.org/licenses/by-sa/4.0 For the purposes of CC license attribution, people can credit them to the {{projectName}} project. If, down the road, you need any other permissions or licensing from us, we're happy to oblige.

If the project has a license, and it's a reasonable one (MIT/Expat license, Apache 2.0, GPL):

These images are created by me and the copyright for them is owned by Sandstorm Development Group, Inc. We are A-OK with using the same license as described in the COPYING or LICENSE file in this project being used to permit redistribution & modification, etc. If, down the road, you need any other permissions or licensing from us, we're happy to oblige.

Those are some reasonable examples.

Clone this wiki locally