Skip to content

Commit

Permalink
remove patents and facebook license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian McKenzie committed Sep 16, 2016
1 parent 06853a7 commit 46e8be5
Show file tree
Hide file tree
Showing 124 changed files with 123 additions and 1,264 deletions.
21 changes: 0 additions & 21 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,27 +34,6 @@ We actively welcome your pull requests.
5. Make sure your code lints.
6. If you haven't already, complete the Contributor License Agreement ("CLA").

## Contributor License Agreement ("CLA")

In order to accept your pull request, we need you to submit a CLA. You only need to do this
once to work on any of Facebook's open source projects.

Complete your CLA here: <https://code.facebook.com/cla>

## Issues

We use GitHub issues to track public bugs. Please ensure your description is clear and has
sufficient instructions to be able to reproduce the issue.

Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe disclosure
of security bugs. In those cases, please go through the process outlined on that page and
do not file a public issue.

## Coding Style

Use the same coding style, spacing and naming scheme as existing code. When in doubt run
`make lint`.

## License

By contributing to fbkpm, you agree that your contributions will be licensed
Expand Down
8 changes: 2 additions & 6 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
BSD License

For kpm software
For Yarn software

Copyright (c) 2016-present, Facebook, Inc. All rights reserved.
Copyright (c) 2016-present, Yarn Contributors. All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Expand All @@ -14,10 +14,6 @@ are permitted provided that the following conditions are met:
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name Facebook nor the names of its contributors may be used to
endorse or promote products derived from this software without specific
prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Expand Down
33 changes: 0 additions & 33 deletions PATENTS

This file was deleted.

11 changes: 1 addition & 10 deletions __tests__/__mocks__/request.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */

import type {ClientRequest} from 'http';
import type {ReadStream} from 'fs';
Expand Down
11 changes: 1 addition & 10 deletions __tests__/_parallel-test.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */

export default function(title: string, fn: () => Promise<any>) {
let promise;
Expand Down
11 changes: 1 addition & 10 deletions __tests__/_temp.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */

let temp = require('temp');

Expand Down
11 changes: 1 addition & 10 deletions __tests__/commands/_install.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */

import Lockfile from '../../src/lockfile/wrapper.js';
import {Reporter} from '../../src/reporters/index.js';
Expand Down
11 changes: 1 addition & 10 deletions __tests__/commands/add.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */

import {getPackageVersion, createLockfile, explodeLockfile, run as buildRun} from './_install.js';
import {Add} from '../../src/cli/commands/add.js';
Expand Down
11 changes: 1 addition & 10 deletions __tests__/commands/install.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */

import {run as uninstall} from '../../src/cli/commands/uninstall.js';
import {run as check} from '../../src/cli/commands/check.js';
Expand Down
11 changes: 1 addition & 10 deletions __tests__/commands/self-update.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */

import BlockingQueue from '../../src/util/blocking-queue.js';
import * as child from '../../src/util/child.js';
Expand Down
11 changes: 1 addition & 10 deletions __tests__/constants.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */

import {getPathKey} from '../src/constants.js';

Expand Down
11 changes: 1 addition & 10 deletions __tests__/fetchers.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */
/* eslint max-len: 0 */

import TarballFetcher from '../src/fetchers/tarball-fetcher.js';
Expand Down
11 changes: 1 addition & 10 deletions __tests__/lockfile.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */
/* eslint quotes: 0 */

import Lockfile from "../src/lockfile/wrapper.js";
Expand Down
11 changes: 1 addition & 10 deletions __tests__/normalise-manifest.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */
/* eslint max-len: 0 */

import normaliseManifest from '../src/util/normalise-manifest/index.js';
Expand Down
11 changes: 1 addition & 10 deletions __tests__/package-resolver.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */
/* eslint max-len: 0 */

import * as reporters from '../src/reporters/index.js';
Expand Down
11 changes: 1 addition & 10 deletions __tests__/reporters/_mock.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */

import type Reporter from '../../src/reporters/base-reporter.js';
let Stdin = require('mock-stdin').stdin.Class;
Expand Down
11 changes: 1 addition & 10 deletions __tests__/reporters/base.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */

import BaseReporter from '../../src/reporters/base-reporter.js';

Expand Down
11 changes: 1 addition & 10 deletions __tests__/reporters/buffer.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */

import BufferReporter from '../../src/reporters/buffer-reporter.js';
import build from './_mock.js';
Expand Down
11 changes: 1 addition & 10 deletions __tests__/reporters/console.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */

import type {MockData} from './_mock.js';
import ProgressBar from '../../src/reporters/console/progress-bar.js';
Expand Down
11 changes: 1 addition & 10 deletions __tests__/reporters/json.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */
/* eslint quotes: 0 */

import type {MockData} from "./_mock.js";
Expand Down
11 changes: 1 addition & 10 deletions __tests__/util/blocking-queue.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */

import BlockingQueue from '../../src/util/blocking-queue.js';

Expand Down
11 changes: 1 addition & 10 deletions __tests__/util/promise.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
/* @flow */

import * as promise from '../../src/util/promise.js';

Expand Down
9 changes: 0 additions & 9 deletions bin/kpm.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
#!/usr/bin/env node

/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

/* eslint-disable no-var */
/* eslint-disable flowtype/require-valid-file-annotation */

Expand Down
9 changes: 0 additions & 9 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
/**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

"use strict";

var plumber = require("gulp-plumber");
Expand Down
Loading

0 comments on commit 46e8be5

Please sign in to comment.