Skip to content
Permalink
Browse files

fix(assets): enforce correct line-endings

Most files in a Unity project are able to use any line endings, but
there are quite a few strict rules that need to be followed for
Unity projects to work across contributions from users on any
operating system. This fix adds a `.gitattributes` file to configure
those rules. The `.gitignore` file has been updated to ignore
auto-generated files and folders typically found in Unity projects.
  • Loading branch information...
bddckr committed Feb 13, 2019
1 parent 991b681 commit 15442d7a32c709aed0f32a3ae7b8ff060e7545e4
Showing with 487 additions and 420 deletions.
  1. +39 −0 .gitattributes
  2. +55 −55 .github/CODE_OF_CONDUCT.md
  3. +330 −330 .github/CONTRIBUTING.md
  4. +29 −29 .github/ISSUE_TEMPLATE.md
  5. +3 −3 .github/SUPPORT.md
  6. +31 −3 .gitignore
@@ -0,0 +1,39 @@
* text=auto

# Unity
*.cs diff=csharp text
*.cginc text
*.shader text

# Unity YAML
*.meta eol=lf merge=unityyamlmerge diff
*.unity eol=lf merge=unityyamlmerge diff
*.asset eol=lf merge=unityyamlmerge diff
## Terrains are saved as binary
*[Tt]errain*.asset -text merge=unityyamlmerge
*.prefab eol=lf merge=unityyamlmerge diff
*.mat eol=lf merge=unityyamlmerge diff
*.anim eol=lf merge=unityyamlmerge diff
*.controller eol=lf merge=unityyamlmerge diff
*.overrideController eol=lf merge=unityyamlmerge diff
*.physicMaterial eol=lf merge=unityyamlmerge diff
*.physicsMaterial2D eol=lf merge=unityyamlmerge diff
*.playable eol=lf merge=unityyamlmerge diff
*.mask eol=lf merge=unityyamlmerge diff
*.brush eol=lf merge=unityyamlmerge diff
*.flare eol=lf merge=unityyamlmerge diff
*.fontsettings eol=lf merge=unityyamlmerge diff
*.guiskin eol=lf merge=unityyamlmerge diff
*.giparams eol=lf merge=unityyamlmerge diff
*.renderTexture eol=lf merge=unityyamlmerge diff
*.spriteatlas eol=lf merge=unityyamlmerge diff
*.terrainlayer eol=lf merge=unityyamlmerge diff
*.mixer eol=lf merge=unityyamlmerge diff
*.shadervariants eol=lf merge=unityyamlmerge diff

# Collapse Unity-generated files on GitHub
*.asset linguist-generated
*.mat linguist-generated
*.meta linguist-generated
*.prefab linguist-generated
*.unity linguist-generated
@@ -1,56 +1,56 @@
# Code of Conduct

Contact: hello@extendreality.io

## Why have a Code of Conduct?

As contributors and maintainers of this project, we are committed to providing a friendly, safe and welcoming environment for all, regardless of age, disability, gender, nationality, race, religion, sexuality, or similar personal characteristic.

The goal of the Code of Conduct is to specify a baseline standard of behavior so that people with different social values and communication styles can talk about Extend Reality Ltd products and repositories effectively, productively, and respectfully, even in face of disagreements. The Code of Conduct also provides a mechanism for resolving conflicts in the community when they arise.

## Our Values

These are the values Extend Reality Ltd developers and repository contributors should aspire to:

* Be friendly and welcoming
* Be patient
* Remember that people have varying communication styles and that not everyone is using their native language. (Meaning and tone can be lost in translation.)
* Be thoughtful
* Productive communication requires effort. Think about how your words will be interpreted.
* Remember that sometimes it is best to refrain entirely from commenting.
* Be respectful
* In particular, respect differences of opinion. It is important that we resolve disagreements and differing views constructively.
* Avoid destructive behavior
* Derailing: stay on topic; if you want to talk about something else, start a new conversation.
* Unconstructive criticism: don't merely decry the current state of affairs; offer (or at least solicit) suggestions as to how things may be improved.
* Snarking (pithy, unproductive, sniping comments).

The following actions are explicitly forbidden:

* Insulting, demeaning, hateful, or threatening remarks.
* Discrimination based on age, disability, gender, nationality, race, religion, sexuality, or similar personal characteristic.
* Bullying or systematic harassment.
* Unwelcome sexual advances.
* Incitement to any of these.

## Where does the Code of Conduct apply?

If you participate in or contribute to the Extend Reality Ltd ecosystem in any way, you are encouraged to follow the Code of Conduct while doing so.

Explicit enforcement of the Code of Conduct applies to the official mediums operated by the Extend Reality Ltd project:

* The official GitHub projects and code reviews.
* The official slack channels.
* The official forums.

Other Extend Reality Ltd product and company activities (such as conferences, meetups, and other unofficial forums) are encouraged to adopt this Code of Conduct. Such groups must provide their own contact information.

Project maintainers may remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct.

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by emailing: hello@extendreality.io. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. **All reports will be kept confidential**.

**The goal of the Code of Conduct is to resolve conflicts in the most harmonious way possible**. We hope that in most cases issues may be resolved through polite discussion and mutual agreement. Bannings and other forceful measures are to be employed only as a last resort. **Do not** post about the issue publicly or try to rally sentiment against a particular individual or group.

## Acknowledgements

# Code of Conduct

Contact: hello@extendreality.io

## Why have a Code of Conduct?

As contributors and maintainers of this project, we are committed to providing a friendly, safe and welcoming environment for all, regardless of age, disability, gender, nationality, race, religion, sexuality, or similar personal characteristic.

The goal of the Code of Conduct is to specify a baseline standard of behavior so that people with different social values and communication styles can talk about Extend Reality Ltd products and repositories effectively, productively, and respectfully, even in face of disagreements. The Code of Conduct also provides a mechanism for resolving conflicts in the community when they arise.

## Our Values

These are the values Extend Reality Ltd developers and repository contributors should aspire to:

* Be friendly and welcoming
* Be patient
* Remember that people have varying communication styles and that not everyone is using their native language. (Meaning and tone can be lost in translation.)
* Be thoughtful
* Productive communication requires effort. Think about how your words will be interpreted.
* Remember that sometimes it is best to refrain entirely from commenting.
* Be respectful
* In particular, respect differences of opinion. It is important that we resolve disagreements and differing views constructively.
* Avoid destructive behavior
* Derailing: stay on topic; if you want to talk about something else, start a new conversation.
* Unconstructive criticism: don't merely decry the current state of affairs; offer (or at least solicit) suggestions as to how things may be improved.
* Snarking (pithy, unproductive, sniping comments).

The following actions are explicitly forbidden:

* Insulting, demeaning, hateful, or threatening remarks.
* Discrimination based on age, disability, gender, nationality, race, religion, sexuality, or similar personal characteristic.
* Bullying or systematic harassment.
* Unwelcome sexual advances.
* Incitement to any of these.

## Where does the Code of Conduct apply?

If you participate in or contribute to the Extend Reality Ltd ecosystem in any way, you are encouraged to follow the Code of Conduct while doing so.

Explicit enforcement of the Code of Conduct applies to the official mediums operated by the Extend Reality Ltd project:

* The official GitHub projects and code reviews.
* The official slack channels.
* The official forums.

Other Extend Reality Ltd product and company activities (such as conferences, meetups, and other unofficial forums) are encouraged to adopt this Code of Conduct. Such groups must provide their own contact information.

Project maintainers may remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct.

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by emailing: hello@extendreality.io. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. **All reports will be kept confidential**.

**The goal of the Code of Conduct is to resolve conflicts in the most harmonious way possible**. We hope that in most cases issues may be resolved through polite discussion and mutual agreement. Bannings and other forceful measures are to be employed only as a last resort. **Do not** post about the issue publicly or try to rally sentiment against a particular individual or group.

## Acknowledgements

This document was based on the Code of Conduct from the Elixir project.
Oops, something went wrong.

0 comments on commit 15442d7

Please sign in to comment.
You can’t perform that action at this time.