Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add copyright header to all files #1

Open
3 tasks
lthibault opened this issue Aug 7, 2020 · 3 comments
Open
3 tasks

Add copyright header to all files #1

lthibault opened this issue Aug 7, 2020 · 3 comments
Assignees
Labels
good first issue Good for newcomers Paperwork Administrative, legal, operational and other non-technical documentation
Milestone

Comments

@lthibault
Copy link
Collaborator

  • Determine what language should be included
  • Determine strategy for efficiently inserting into existing code-base
  • Git pre-commit hook to ensure all files have notice
@lthibault lthibault self-assigned this Aug 7, 2020
@lthibault lthibault added the good first issue Good for newcomers label Aug 7, 2020
@lthibault lthibault added this to the 0.1.0 Public Beta Release milestone Aug 7, 2020
@lthibault lthibault added the Paperwork Administrative, legal, operational and other non-technical documentation label Aug 7, 2020
@lthibault
Copy link
Collaborator Author

Circuit uses the following header:

// Copyright 2013 The Go Circuit Project
// Use of this source code is governed by the license for
// The Go Circuit Project, found in the LICENSE file.
//
// Authors:
//   2013 Petar Maymounkov <[email protected]>

@lthibault
Copy link
Collaborator Author

Docs for writing new pre-commit hooks.

This should be trivially-doable with a recursive grep that uses a regex to test for the header, and pattern-matches against the list of contributors.

@lthibault
Copy link
Collaborator Author

Clojure uses the following header:

/**
 *   Copyright (c) Rich Hickey. All rights reserved.
 *   The use and distribution terms for this software are covered by the
 *   Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
 *   which can be found in the file epl-v10.html at the root of this distribution.
 *   By using this software in any fashion, you are agreeing to be bound by
 * 	 the terms of this license.
 *   You must not remove this notice, or any other, from this software.
 **/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Paperwork Administrative, legal, operational and other non-technical documentation
Projects
None yet
Development

No branches or pull requests

1 participant