From bdc3ea66512689381e34feac180ab6d72f451bdd Mon Sep 17 00:00:00 2001 From: Dave Eddy Date: Fri, 4 Sep 2015 14:12:20 -0400 Subject: [PATCH] mpl and copyright --- bin/triton | 8 +++++++- lib/cli.js | 8 +++++++- lib/cloudapi2.js | 8 +++++++- lib/common.js | 10 ++++++++-- lib/config.js | 11 ++++++++--- lib/distractions.js | 8 +++++++- lib/do_account.js | 8 +++++++- lib/do_badger.js | 8 +++++++- lib/do_cloudapi.js | 8 +++++++- lib/do_completion.js | 8 +++++++- lib/do_create_instance.js | 8 +++++++- lib/do_datacenters.js | 8 +++++++- lib/do_image.js | 8 +++++++- lib/do_images.js | 8 +++++++- lib/do_info.js | 8 +++++++- lib/do_instance.js | 8 +++++++- lib/do_instance_audit.js | 8 +++++++- lib/do_instances.js | 8 +++++++- lib/do_keys.js | 8 +++++++- lib/do_network.js | 8 +++++++- lib/do_networks.js | 8 +++++++- lib/do_package.js | 8 +++++++- lib/do_packages.js | 8 +++++++- lib/do_profile.js | 8 +++++++- lib/do_services.js | 8 +++++++- lib/do_ssh.js | 8 +++++++- lib/do_startstop_instance.js | 8 +++++++- lib/do_wait_instance.js | 8 +++++++- lib/errors.js | 10 ++++++++-- lib/tritonapi.js | 8 +++++++- 30 files changed, 213 insertions(+), 34 deletions(-) diff --git a/bin/triton b/bin/triton index 74b2fe9..2f687d2 100755 --- a/bin/triton +++ b/bin/triton @@ -1,6 +1,12 @@ #!/usr/bin/env node /* - * Copyright (c) 2015 Joyent Inc. All rights reserved. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. */ require('../lib/cli').main(); diff --git a/lib/cli.js b/lib/cli.js index e36262c..618eb95 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -1,5 +1,11 @@ /* - * Copyright (c) 2015 Joyent Inc. All rights reserved. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * The `triton` CLI class. */ diff --git a/lib/cloudapi2.js b/lib/cloudapi2.js index 81da616..c7bbc33 100644 --- a/lib/cloudapi2.js +++ b/lib/cloudapi2.js @@ -1,5 +1,11 @@ /* - * Copyright (c) 2015, Joyent, Inc. All rights reserved. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * Client library for the SmartDataCenter Cloud API (cloudapi). * http://apidocs.joyent.com/cloudapi/ diff --git a/lib/common.js b/lib/common.js index 3da99b3..8732322 100644 --- a/lib/common.js +++ b/lib/common.js @@ -1,5 +1,11 @@ -/** - * Copyright (c) 2015 Joyent Inc. All rights reserved. +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. */ var assert = require('assert-plus'); diff --git a/lib/config.js b/lib/config.js index e76e5e7..b84acf9 100644 --- a/lib/config.js +++ b/lib/config.js @@ -1,6 +1,11 @@ -#!/usr/bin/env node -/** - * Copyright (c) 2015 Joyent Inc. All rights reserved. +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. */ var assert = require('assert-plus'); diff --git a/lib/distractions.js b/lib/distractions.js index 79b557b..768e4bc 100644 --- a/lib/distractions.js +++ b/lib/distractions.js @@ -1,5 +1,11 @@ /* - * Copyright (c) 2015 Joyent Inc. All rights reserved. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * A CLI distraction during a long process (e.g. waiting for * create). diff --git a/lib/do_account.js b/lib/do_account.js index d61146d..402a647 100644 --- a/lib/do_account.js +++ b/lib/do_account.js @@ -1,5 +1,11 @@ /* - * Copyright 2015 Joyent Inc. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton account ...` */ diff --git a/lib/do_badger.js b/lib/do_badger.js index 99e7dec..bdd6577 100644 --- a/lib/do_badger.js +++ b/lib/do_badger.js @@ -1,5 +1,11 @@ /* - * Copyright (c) 2015 Joyent Inc. All rights reserved. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton package ...` */ diff --git a/lib/do_cloudapi.js b/lib/do_cloudapi.js index 341af3d..f0cbcee 100644 --- a/lib/do_cloudapi.js +++ b/lib/do_cloudapi.js @@ -1,5 +1,11 @@ /* - * Copyright 2015 Joyent Inc. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton cloudapi ...` */ diff --git a/lib/do_completion.js b/lib/do_completion.js index c2331d5..71c5275 100644 --- a/lib/do_completion.js +++ b/lib/do_completion.js @@ -1,5 +1,11 @@ /* - * Copyright (c) 2015 Joyent Inc. All rights reserved. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton completion ...` */ diff --git a/lib/do_create_instance.js b/lib/do_create_instance.js index 303cfc6..30dea0f 100644 --- a/lib/do_create_instance.js +++ b/lib/do_create_instance.js @@ -1,5 +1,11 @@ /* - * Copyright (c) 2015 Joyent Inc. All rights reserved. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton create ...` */ diff --git a/lib/do_datacenters.js b/lib/do_datacenters.js index f61d3e5..ff09a5f 100644 --- a/lib/do_datacenters.js +++ b/lib/do_datacenters.js @@ -1,5 +1,11 @@ /* - * Copyright 2015 Joyent Inc. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton datacenters ...` */ diff --git a/lib/do_image.js b/lib/do_image.js index 9282d51..d583b89 100644 --- a/lib/do_image.js +++ b/lib/do_image.js @@ -1,5 +1,11 @@ /* - * Copyright (c) 2015 Joyent Inc. All rights reserved. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton image ...` */ diff --git a/lib/do_images.js b/lib/do_images.js index ddc24e2..5c92151 100644 --- a/lib/do_images.js +++ b/lib/do_images.js @@ -1,5 +1,11 @@ /* - * Copyright (c) 2015 Joyent Inc. All rights reserved. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton images ...` */ diff --git a/lib/do_info.js b/lib/do_info.js index 6728e75..3c88e2b 100644 --- a/lib/do_info.js +++ b/lib/do_info.js @@ -1,5 +1,11 @@ /* - * Copyright 2015 Joyent Inc. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton info ...` */ diff --git a/lib/do_instance.js b/lib/do_instance.js index f75a29a..99ef4f1 100644 --- a/lib/do_instance.js +++ b/lib/do_instance.js @@ -1,5 +1,11 @@ /* - * Copyright 2015 Joyent Inc. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton instance ...` */ diff --git a/lib/do_instance_audit.js b/lib/do_instance_audit.js index 0deaa4d..d6496eb 100644 --- a/lib/do_instance_audit.js +++ b/lib/do_instance_audit.js @@ -1,5 +1,11 @@ /* - * Copyright (c) 2015 Joyent Inc. All rights reserved. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton instance-audit ...` */ diff --git a/lib/do_instances.js b/lib/do_instances.js index 356e395..e337719 100644 --- a/lib/do_instances.js +++ b/lib/do_instances.js @@ -1,5 +1,11 @@ /* - * Copyright 2015 Joyent Inc. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton instances ...` */ diff --git a/lib/do_keys.js b/lib/do_keys.js index 2ffec4a..4fa6210 100644 --- a/lib/do_keys.js +++ b/lib/do_keys.js @@ -1,5 +1,11 @@ /* - * Copyright 2015 Joyent Inc. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton account ...` */ diff --git a/lib/do_network.js b/lib/do_network.js index b2558af..a626ca9 100644 --- a/lib/do_network.js +++ b/lib/do_network.js @@ -1,5 +1,11 @@ /* - * Copyright 2015 Joyent Inc. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton network ...` */ diff --git a/lib/do_networks.js b/lib/do_networks.js index 1015455..9328d3b 100644 --- a/lib/do_networks.js +++ b/lib/do_networks.js @@ -1,5 +1,11 @@ /* - * Copyright 2015 Joyent Inc. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton networks ...` */ diff --git a/lib/do_package.js b/lib/do_package.js index f404b70..a7a40df 100644 --- a/lib/do_package.js +++ b/lib/do_package.js @@ -1,5 +1,11 @@ /* - * Copyright (c) 2015 Joyent Inc. All rights reserved. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton package ...` */ diff --git a/lib/do_packages.js b/lib/do_packages.js index 76eff6d..6a06dbb 100644 --- a/lib/do_packages.js +++ b/lib/do_packages.js @@ -1,5 +1,11 @@ /* - * Copyright 2015 Joyent Inc. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton packages ...` */ diff --git a/lib/do_profile.js b/lib/do_profile.js index 98894ca..03c39b0 100644 --- a/lib/do_profile.js +++ b/lib/do_profile.js @@ -1,5 +1,11 @@ /* - * Copyright (c) 2015 Joyent Inc. All rights reserved. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton profile ...` */ diff --git a/lib/do_services.js b/lib/do_services.js index bfa0344..e1930b5 100644 --- a/lib/do_services.js +++ b/lib/do_services.js @@ -1,5 +1,11 @@ /* - * Copyright 2015 Joyent Inc. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton services ...` */ diff --git a/lib/do_ssh.js b/lib/do_ssh.js index ea9cf86..d8b7b40 100644 --- a/lib/do_ssh.js +++ b/lib/do_ssh.js @@ -1,5 +1,11 @@ /* - * Copyright 2015 Joyent Inc. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton ssh ...` */ diff --git a/lib/do_startstop_instance.js b/lib/do_startstop_instance.js index 9ae64be..8851668 100644 --- a/lib/do_startstop_instance.js +++ b/lib/do_startstop_instance.js @@ -1,5 +1,11 @@ /* - * Copyright 2015 Joyent Inc. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton stop-instance ...` * `triton start-instance ...` diff --git a/lib/do_wait_instance.js b/lib/do_wait_instance.js index b7e529d..4226837 100644 --- a/lib/do_wait_instance.js +++ b/lib/do_wait_instance.js @@ -1,5 +1,11 @@ /* - * Copyright 2015 Joyent Inc. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * `triton wait-instance ...` */ diff --git a/lib/errors.js b/lib/errors.js index 927842d..676b82f 100644 --- a/lib/errors.js +++ b/lib/errors.js @@ -1,5 +1,11 @@ -/** - * Copyright (c) 2014, Joyent, Inc. All rights reserved. +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * Error classes that the joyent CLI may produce. */ diff --git a/lib/tritonapi.js b/lib/tritonapi.js index 10e8cd0..cabe078 100644 --- a/lib/tritonapi.js +++ b/lib/tritonapi.js @@ -1,5 +1,11 @@ /* - * Copyright (c) 2015, Joyent, Inc. All rights reserved. + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + * Copyright 2015 Joyent, Inc. * * Core TritonApi client driver class. */