Browse Source

mpl and copyright

pull/12/head
Dave Eddy 3 years ago
parent
commit
bdc3ea6651

+ 7
- 1
bin/triton View File

@@ -1,6 +1,12 @@
1 1
 #!/usr/bin/env node
2 2
 /*
3
- * Copyright (c) 2015 Joyent Inc. All rights reserved.
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+
8
+/*
9
+ * Copyright 2015 Joyent, Inc.
4 10
  */
5 11
 
6 12
 require('../lib/cli').main();

+ 7
- 1
lib/cli.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright (c) 2015 Joyent Inc. All rights reserved.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * The `triton` CLI class.
5 11
  */

+ 7
- 1
lib/cloudapi2.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright (c) 2015, Joyent, Inc. All rights reserved.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * Client library for the SmartDataCenter Cloud API (cloudapi).
5 11
  * http://apidocs.joyent.com/cloudapi/

+ 8
- 2
lib/common.js View File

@@ -1,5 +1,11 @@
1
-/**
2
- * Copyright (c) 2015 Joyent Inc. All rights reserved.
1
+/*
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  */
4 10
 
5 11
 var assert = require('assert-plus');

+ 8
- 3
lib/config.js View File

@@ -1,6 +1,11 @@
1
-#!/usr/bin/env node
2
-/**
3
- * Copyright (c) 2015 Joyent Inc. All rights reserved.
1
+/*
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
4 9
  */
5 10
 
6 11
 var assert = require('assert-plus');

+ 7
- 1
lib/distractions.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright (c) 2015 Joyent Inc. All rights reserved.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * A CLI distraction during a long process (e.g. waiting for
5 11
  * create).

+ 7
- 1
lib/do_account.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright 2015 Joyent Inc.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton account ...`
5 11
  */

+ 7
- 1
lib/do_badger.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright (c) 2015 Joyent Inc. All rights reserved.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton package ...`
5 11
  */

+ 7
- 1
lib/do_cloudapi.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright 2015 Joyent Inc.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton cloudapi ...`
5 11
  */

+ 7
- 1
lib/do_completion.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright (c) 2015 Joyent Inc. All rights reserved.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton completion ...`
5 11
  */

+ 7
- 1
lib/do_create_instance.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright (c) 2015 Joyent Inc. All rights reserved.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton create ...`
5 11
  */

+ 7
- 1
lib/do_datacenters.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright 2015 Joyent Inc.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton datacenters ...`
5 11
  */

+ 7
- 1
lib/do_image.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright (c) 2015 Joyent Inc. All rights reserved.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton image ...`
5 11
  */

+ 7
- 1
lib/do_images.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright (c) 2015 Joyent Inc. All rights reserved.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton images ...`
5 11
  */

+ 7
- 1
lib/do_info.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright 2015 Joyent Inc.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton info ...`
5 11
  */

+ 7
- 1
lib/do_instance.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright 2015 Joyent Inc.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton instance ...`
5 11
  */

+ 7
- 1
lib/do_instance_audit.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright (c) 2015 Joyent Inc. All rights reserved.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton instance-audit ...`
5 11
  */

+ 7
- 1
lib/do_instances.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright 2015 Joyent Inc.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton instances ...`
5 11
  */

+ 7
- 1
lib/do_keys.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright 2015 Joyent Inc.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton account ...`
5 11
  */

+ 7
- 1
lib/do_network.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright 2015 Joyent Inc.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton network ...`
5 11
  */

+ 7
- 1
lib/do_networks.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright 2015 Joyent Inc.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton networks ...`
5 11
  */

+ 7
- 1
lib/do_package.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright (c) 2015 Joyent Inc. All rights reserved.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton package ...`
5 11
  */

+ 7
- 1
lib/do_packages.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright 2015 Joyent Inc.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton packages ...`
5 11
  */

+ 7
- 1
lib/do_profile.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright (c) 2015 Joyent Inc. All rights reserved.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton profile ...`
5 11
  */

+ 7
- 1
lib/do_services.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright 2015 Joyent Inc.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton services ...`
5 11
  */

+ 7
- 1
lib/do_ssh.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright 2015 Joyent Inc.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton ssh ...`
5 11
  */

+ 7
- 1
lib/do_startstop_instance.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright 2015 Joyent Inc.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton stop-instance ...`
5 11
  * `triton start-instance ...`

+ 7
- 1
lib/do_wait_instance.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright 2015 Joyent Inc.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * `triton wait-instance ...`
5 11
  */

+ 8
- 2
lib/errors.js View File

@@ -1,5 +1,11 @@
1
-/**
2
- * Copyright (c) 2014, Joyent, Inc. All rights reserved.
1
+/*
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * Error classes that the joyent CLI may produce.
5 11
  */

+ 7
- 1
lib/tritonapi.js View File

@@ -1,5 +1,11 @@
1 1
 /*
2
- * Copyright (c) 2015, Joyent, Inc. All rights reserved.
2
+ * This Source Code Form is subject to the terms of the Mozilla Public
3
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
4
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
+ */
6
+
7
+/*
8
+ * Copyright 2015 Joyent, Inc.
3 9
  *
4 10
  * Core TritonApi client driver class.
5 11
  */

Loading…
Cancel
Save