You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2014/09/12 12:29:30 UTC

[16/28] git commit: [#7527] add apache license header to new .js files

[#7527] add apache license header to new .js files


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/e7900491
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/e7900491
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/e7900491

Branch: refs/heads/je/42cc_4905
Commit: e7900491e99c55446d1572310602167567567e86
Parents: ab1957f
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Fri Aug 29 14:23:54 2014 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Fri Aug 29 14:23:54 2014 +0000

----------------------------------------------------------------------
 ...email-address-_id-to-email--after-upgrade.js | 21 +++++++++++++++++++-
 ...mail-address-_id-to-email--before-upgrade.js | 19 ++++++++++++++++++
 .../030-email-address-_id-to-email--cleanup.js  | 19 ++++++++++++++++++
 3 files changed, 58 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/e7900491/scripts/migrations/030-email-address-_id-to-email--after-upgrade.js
----------------------------------------------------------------------
diff --git a/scripts/migrations/030-email-address-_id-to-email--after-upgrade.js b/scripts/migrations/030-email-address-_id-to-email--after-upgrade.js
index 7e47a82..8fa07f1 100644
--- a/scripts/migrations/030-email-address-_id-to-email--after-upgrade.js
+++ b/scripts/migrations/030-email-address-_id-to-email--after-upgrade.js
@@ -1,2 +1,21 @@
+/*
+       Licensed to the Apache Software Foundation (ASF) under one
+       or more contributor license agreements.  See the NOTICE file
+       distributed with this work for additional information
+       regarding copyright ownership.  The ASF licenses this file
+       to you under the Apache License, Version 2.0 (the
+       "License"); you may not use this file except in compliance
+       with the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+       Unless required by applicable law or agreed to in writing,
+       software distributed under the License is distributed on an
+       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+       KIND, either express or implied.  See the License for the
+       specific language governing permissions and limitations
+       under the License.
+*/
+
 db.email_address.renameCollection("email_address_old", {dropTarget: true});
-db.email_address_new.renameCollection("email_address", {dropTarget: true});
\ No newline at end of file
+db.email_address_new.renameCollection("email_address", {dropTarget: true});

http://git-wip-us.apache.org/repos/asf/allura/blob/e7900491/scripts/migrations/030-email-address-_id-to-email--before-upgrade.js
----------------------------------------------------------------------
diff --git a/scripts/migrations/030-email-address-_id-to-email--before-upgrade.js b/scripts/migrations/030-email-address-_id-to-email--before-upgrade.js
index 3cc2618..08457ca 100644
--- a/scripts/migrations/030-email-address-_id-to-email--before-upgrade.js
+++ b/scripts/migrations/030-email-address-_id-to-email--before-upgrade.js
@@ -1,3 +1,22 @@
+/*
+       Licensed to the Apache Software Foundation (ASF) under one
+       or more contributor license agreements.  See the NOTICE file
+       distributed with this work for additional information
+       regarding copyright ownership.  The ASF licenses this file
+       to you under the Apache License, Version 2.0 (the
+       "License"); you may not use this file except in compliance
+       with the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+       Unless required by applicable law or agreed to in writing,
+       software distributed under the License is distributed on an
+       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+       KIND, either express or implied.  See the License for the
+       specific language governing permissions and limitations
+       under the License.
+*/
+
 db.email_address.find().snapshot().forEach(function (e) {
     e.email = e._id;
     e._id = new ObjectId();

http://git-wip-us.apache.org/repos/asf/allura/blob/e7900491/scripts/migrations/030-email-address-_id-to-email--cleanup.js
----------------------------------------------------------------------
diff --git a/scripts/migrations/030-email-address-_id-to-email--cleanup.js b/scripts/migrations/030-email-address-_id-to-email--cleanup.js
index 34cf7a0..5ec6b1a 100644
--- a/scripts/migrations/030-email-address-_id-to-email--cleanup.js
+++ b/scripts/migrations/030-email-address-_id-to-email--cleanup.js
@@ -1,3 +1,22 @@
+/*
+       Licensed to the Apache Software Foundation (ASF) under one
+       or more contributor license agreements.  See the NOTICE file
+       distributed with this work for additional information
+       regarding copyright ownership.  The ASF licenses this file
+       to you under the Apache License, Version 2.0 (the
+       "License"); you may not use this file except in compliance
+       with the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+       Unless required by applicable law or agreed to in writing,
+       software distributed under the License is distributed on an
+       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+       KIND, either express or implied.  See the License for the
+       specific language governing permissions and limitations
+       under the License.
+*/
+
 db.email_address_old.find({'migrated': {'$ne': true}}).snapshot().forEach(function (e) {
     e.email = e._id;
     e._id = new ObjectId();