Skip to content

Instantly share code, notes, and snippets.

@rogeruiz
Last active May 20, 2016 16:16
Show Gist options
  • Save rogeruiz/9e4aaff98658fc816d104ba5ab5da33b to your computer and use it in GitHub Desktop.
Save rogeruiz/9e4aaff98658fc816d104ba5ab5da33b to your computer and use it in GitHub Desktop.
18F init git.patch files

18F init generated *.patch files

This gist contains three patch files which can be used to generate commits related to the base documentation files ( README, CONTRIBUTING, LICENSE) which should be included with every 18F project.

For more information on how these files were generated, please take a look at the 18F-cli repository.

Using *.patch files

To use these patch files in a local repository run the following commands.

git apply add-contributing.patch
git apply add-license.patch
git apply add-readme.patch

Once these are applied to your working directory in git, you can edit the files and restage any hunks you'd like to edit.

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..ef2db32
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,28 @@
+## Welcome!
+
+We're so glad you're thinking about contributing to an 18F open source project!
+If you're unsure about anything, just ask -- or submit the issue or pull request
+anyway. The worst that can happen is you'll be politely asked to change
+something. We love all friendly contributions.
+
+We want to ensure a welcoming environment for all of our projects. Our staff
+follow the [18F Code of Conduct][18f-coc] and all contributors should do the same.
+
+We encourage you to read this project's CONTRIBUTING policy (you are here), its
+[LICENSE](LICENSE.md), and its [README](README.md).
+
+If you have any questions or want to read more, check out the [18F Open Source
+Policy GitHub repository]( https://github.com/18f/open-source-policy), or just
+[shoot us an email](mailto:18f@gsa.gov).
+
+## Public domain
+
+This project is in the public domain within the United States, and
+copyright and related rights in the work worldwide are waived through
+the [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/).
+
+All contributions to this project will be released under the CC0
+dedication. By submitting a pull request, you are agreeing to comply
+with this waiver of copyright interest.
+
+[18f-coc]: https://github.com/18F/code-of-conduct/blob/master/code-of-conduct.md "18F Code of Conduct"
diff --git a/LICENSE.md b/LICENSE.md
new file mode 100644
index 0000000..fb5324f
--- /dev/null
+++ b/LICENSE.md
@@ -0,0 +1,32 @@
+As a work of the United States Government, this project is in the
+public domain within the United States.
+
+Additionally, we waive copyright and related rights in the work
+worldwide through the CC0 1.0 Universal public domain dedication.
+
+## CC0 1.0 Universal Summary
+
+This is a human-readable summary of the [Legal Code (read the full
+text)](https://creativecommons.org/publicdomain/zero/1.0/legalcode).
+
+### No Copyright
+
+The person who associated a work with this deed has dedicated the work to
+the public domain by waiving all of his or her rights to the work worldwide
+under copyright law, including all related and neighboring rights, to the
+extent allowed by law.
+
+You can copy, modify, distribute and perform the work, even for commercial
+purposes, all without asking permission.
+
+### Other Information
+
+In no way are the patent or trademark rights of any person affected by CC0,
+nor are the rights that other persons may have in the work or in how the
+work is used, such as publicity or privacy rights.
+
+Unless expressly stated otherwise, the person who associated a work with
+this deed makes no warranties about the work, and disclaims liability for
+all uses of the work, to the fullest extent permitted by applicable law.
+When using or citing the work, you should not imply endorsement by the
+author or the affirmer.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..d5c4f4b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,13 @@
+# Project Name
+
+## Public domain
+
+This project is in the worldwide public domain. As stated in CONTRIBUTING:
+
+> This project is in the public domain within the United States, and copyright
+> and related rights in the work worldwide are waived through the CC0 1.0
+> Universal public domain dedication.
+
+All contributions to this project will be released under the CC0 dedication. By
+submitting a pull request, you are agreeing to comply with this waiver of
+copyright interest.

Welcome!

We're so glad you're thinking about contributing to an 18F open source project! If you're unsure about anything, just ask -- or submit the issue or pull request anyway. The worst that can happen is you'll be politely asked to change something. We love all friendly contributions.

We want to ensure a welcoming environment for all of our projects. Our staff follow the 18F Code of Conduct and all contributors should do the same.

We encourage you to read this project's CONTRIBUTING policy (you are here), its LICENSE, and its README.

If you have any questions or want to read more, check out the 18F Open Source Policy GitHub repository, or just shoot us an email.

Public domain

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

As a work of the United States Government, this project is in the public domain within the United States.

Additionally, we waive copyright and related rights in the work worldwide through the CC0 1.0 Universal public domain dedication.

CC0 1.0 Universal Summary

This is a human-readable summary of the Legal Code (read the full text).

No Copyright

The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law.

You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Other Information

In no way are the patent or trademark rights of any person affected by CC0, nor are the rights that other persons may have in the work or in how the work is used, such as publicity or privacy rights.

Unless expressly stated otherwise, the person who associated a work with this deed makes no warranties about the work, and disclaims liability for all uses of the work, to the fullest extent permitted by applicable law. When using or citing the work, you should not imply endorsement by the author or the affirmer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment