You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by fr...@apache.org on 2017/05/23 02:04:18 UTC
[1/2] incubator-trafficcontrol git commit: license fixes to be
backported to 2.0.x
Repository: incubator-trafficcontrol
Updated Branches:
refs/heads/2.0.x 3dc54551f -> 05664d615
license fixes to be backported to 2.0.x
(cherry picked from commit 1ddcd73418bf17450a194cd767370c09763ed1fa)
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/f2f68ba7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/f2f68ba7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/f2f68ba7
Branch: refs/heads/2.0.x
Commit: f2f68ba7ffcae34b5e31b800aa53c8be44334317
Parents: 3dc5455
Author: Dan Kirkwood <da...@gmail.com>
Authored: Fri May 19 16:54:39 2017 -0600
Committer: Eric Friedrich <fr...@apache.org>
Committed: Mon May 22 22:03:46 2017 -0400
----------------------------------------------------------------------
.rat-excludes | 1 +
traffic_monitor_golang/common/util/num.go | 19 +++++++++++++++++++
.../traffic_monitor/crconfig/data.go | 19 +++++++++++++++++++
traffic_ops/app/db/pg-migration/runwaiter.sh | 16 ++++++++++++++++
4 files changed, 55 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/f2f68ba7/.rat-excludes
----------------------------------------------------------------------
diff --git a/.rat-excludes b/.rat-excludes
index 116bf91..630c216 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -5,6 +5,7 @@ VERSION(?: This very short file doesn't support commen
.*\.css\.map(?: debug files for minified css. License borne by source. ){0}
\..*(?: hidden files ought not to be code. These are generally things like projects, ignore files and such. ){0}
LICEN[SC]E.*(?: Licenses do not usually require meta-licenses. ){0}
+^licenses/*(?: Licenses do not usually require meta-licenses. ){0}
.*\.conf(?:ig)?(?:\.?.*)?(?: Config files aren't code and don't typically require licenses. ){0}
.*\.cfg(?: config file ){0}
.*\.logrotate(?: config file ){0}
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/f2f68ba7/traffic_monitor_golang/common/util/num.go
----------------------------------------------------------------------
diff --git a/traffic_monitor_golang/common/util/num.go b/traffic_monitor_golang/common/util/num.go
index 4db2cf9..f87531f 100644
--- a/traffic_monitor_golang/common/util/num.go
+++ b/traffic_monitor_golang/common/util/num.go
@@ -1,5 +1,24 @@
package util
+/*
+ * 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.
+ */
+
// ToNumeric returns a float for any numeric type, and false if the interface does not hold a numeric type.
// This allows converting unknown numeric types (for example, from JSON) in a single line
// TODO try to parse string stats as numbers?
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/f2f68ba7/traffic_monitor_golang/traffic_monitor/crconfig/data.go
----------------------------------------------------------------------
diff --git a/traffic_monitor_golang/traffic_monitor/crconfig/data.go b/traffic_monitor_golang/traffic_monitor/crconfig/data.go
index ff60155..8069146 100644
--- a/traffic_monitor_golang/traffic_monitor/crconfig/data.go
+++ b/traffic_monitor_golang/traffic_monitor/crconfig/data.go
@@ -1,5 +1,24 @@
package crconfig
+/*
+ * 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.
+ */
+
import (
"time"
)
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/f2f68ba7/traffic_ops/app/db/pg-migration/runwaiter.sh
----------------------------------------------------------------------
diff --git a/traffic_ops/app/db/pg-migration/runwaiter.sh b/traffic_ops/app/db/pg-migration/runwaiter.sh
old mode 100755
new mode 100644
index 7cf2222..f5609c9
--- a/traffic_ops/app/db/pg-migration/runwaiter.sh
+++ b/traffic_ops/app/db/pg-migration/runwaiter.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+# 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.
echo "WAITER_HOST: $WAITER_HOST"
[2/2] incubator-trafficcontrol git commit: This closes #599
Posted by fr...@apache.org.
This closes #599
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/05664d61
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/05664d61
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/05664d61
Branch: refs/heads/2.0.x
Commit: 05664d615b5d05a40182897005b0ddf8ffa8446d
Parents: f2f68ba
Author: Eric Friedrich <fr...@apache.org>
Authored: Mon May 22 22:03:52 2017 -0400
Committer: Eric Friedrich <fr...@apache.org>
Committed: Mon May 22 22:03:52 2017 -0400
----------------------------------------------------------------------
----------------------------------------------------------------------