This is an automated email from the ASF dual-hosted git repository. xiangfu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
The following commit(s) were added to refs/heads/master by this push: new e09d245 Fixing license checks for website directory (#5203) e09d245 is described below commit e09d24580f4dc9abebe3c702d4aa1f076102e904 Author: Xiang Fu <fx19880...@gmail.com> AuthorDate: Tue Mar 31 21:28:14 2020 -0700 Fixing license checks for website directory (#5203) --- pom.xml | 4 ++++ website/docusaurus.config.js | 18 ++++++++++++++++++ website/scripts/build-site.sh | 2 ++ website/scripts/publish_site.sh | 2 ++ website/src/components/Alert/index.js | 18 ++++++++++++++++++ website/src/components/BlogPostTags/index.js | 18 ++++++++++++++++++ website/src/components/Changelog/index.js | 18 ++++++++++++++++++ website/src/components/CheckboxList/index.js | 18 ++++++++++++++++++ website/src/components/CodeHeader/index.js | 18 ++++++++++++++++++ website/src/components/Field/index.js | 18 ++++++++++++++++++ website/src/components/Fields/index.js | 18 ++++++++++++++++++ website/src/components/Jump/index.js | 18 ++++++++++++++++++ website/src/components/Step/index.js | 18 ++++++++++++++++++ website/src/components/Steps/index.js | 18 ++++++++++++++++++ website/src/exports/animatedGraph.js | 18 ++++++++++++++++++ website/src/exports/cloudify.js | 18 ++++++++++++++++++ website/src/exports/newPost.js | 18 ++++++++++++++++++ website/src/exports/newRelease.js | 18 ++++++++++++++++++ website/src/exports/repoUrl.js | 18 ++++++++++++++++++ website/src/pages/download.css | 18 ++++++++++++++++++ website/src/pages/download.js | 18 ++++++++++++++++++ website/src/pages/index.module.css | 18 ++++++++++++++++++ 22 files changed, 350 insertions(+) diff --git a/pom.xml b/pom.xml index 6ef2868..afbfea2 100644 --- a/pom.xml +++ b/pom.xml @@ -1273,6 +1273,7 @@ <!-- Top level directories --> <exclude>thirdeye/**</exclude> + <exclude>website/**</exclude> <!-- Docker image configs --> <exclude>docker/images/pinot-thirdeye/**</exclude> @@ -1374,6 +1375,9 @@ <!-- Top level --> <exclude>.codecov*</exclude> + <!-- Top level Directory --> + <exclude>website/**</exclude> + <!-- Test Resources --> <exclude>**/test/resources/**</exclude> diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 9e02f26..85d2b45 100755 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -1,3 +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. + */ module.exports = { title: 'Apache Pinotâ„¢ (Incubating)', tagline: 'Realtime distributed OLAP datastore', diff --git a/website/scripts/build-site.sh b/website/scripts/build-site.sh index 705541a..83842d2 100755 --- a/website/scripts/build-site.sh +++ b/website/scripts/build-site.sh @@ -1,4 +1,5 @@ #!/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 @@ -15,6 +16,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +# ROOT_DIR=$(git rev-parse --show-toplevel) diff --git a/website/scripts/publish_site.sh b/website/scripts/publish_site.sh index 6c80335..9b3a87c 100644 --- a/website/scripts/publish_site.sh +++ b/website/scripts/publish_site.sh @@ -1,4 +1,5 @@ #!/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 @@ -15,6 +16,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +# set -e diff --git a/website/src/components/Alert/index.js b/website/src/components/Alert/index.js index 57bbe05..755e01c 100644 --- a/website/src/components/Alert/index.js +++ b/website/src/components/Alert/index.js @@ -1,3 +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. + */ import React from 'react'; import classnames from 'classnames'; diff --git a/website/src/components/BlogPostTags/index.js b/website/src/components/BlogPostTags/index.js index 572e251..e79ce9c 100644 --- a/website/src/components/BlogPostTags/index.js +++ b/website/src/components/BlogPostTags/index.js @@ -1,3 +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. + */ import React from 'react'; import Link from '@docusaurus/Link'; diff --git a/website/src/components/Changelog/index.js b/website/src/components/Changelog/index.js index 2bfa9b7..4f7af47 100644 --- a/website/src/components/Changelog/index.js +++ b/website/src/components/Changelog/index.js @@ -1,3 +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. + */ import React, {useState} from 'react'; import CheckboxList from '@site/src/components/CheckboxList'; diff --git a/website/src/components/CheckboxList/index.js b/website/src/components/CheckboxList/index.js index dba8ac2..b4a9a0a 100644 --- a/website/src/components/CheckboxList/index.js +++ b/website/src/components/CheckboxList/index.js @@ -1,3 +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. + */ import React from 'react'; import humanizeString from 'humanize-string'; diff --git a/website/src/components/CodeHeader/index.js b/website/src/components/CodeHeader/index.js index dcee6cc..ac18cbd 100644 --- a/website/src/components/CodeHeader/index.js +++ b/website/src/components/CodeHeader/index.js @@ -1,3 +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. + */ import React from 'react'; import './styles.css'; diff --git a/website/src/components/Field/index.js b/website/src/components/Field/index.js index 2ea8257..05d1c51 100644 --- a/website/src/components/Field/index.js +++ b/website/src/components/Field/index.js @@ -1,3 +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. + */ import React, {useState} from 'react'; import classnames from 'classnames'; import {MDXProvider} from '@mdx-js/react'; diff --git a/website/src/components/Fields/index.js b/website/src/components/Fields/index.js index e9cfdcb..80b2caa 100644 --- a/website/src/components/Fields/index.js +++ b/website/src/components/Fields/index.js @@ -1,3 +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. + */ import React, {useState} from 'react'; import CheckboxList from '@site/src/components/CheckboxList'; diff --git a/website/src/components/Jump/index.js b/website/src/components/Jump/index.js index 9c2c734..5f9439b 100644 --- a/website/src/components/Jump/index.js +++ b/website/src/components/Jump/index.js @@ -1,3 +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. + */ import React from 'react'; import Link from '@docusaurus/Link'; diff --git a/website/src/components/Step/index.js b/website/src/components/Step/index.js index 7b911fc..dd44220 100644 --- a/website/src/components/Step/index.js +++ b/website/src/components/Step/index.js @@ -1,3 +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. + */ import React from 'react'; import './styles.css'; diff --git a/website/src/components/Steps/index.js b/website/src/components/Steps/index.js index 33eb8fc..a98af8b 100644 --- a/website/src/components/Steps/index.js +++ b/website/src/components/Steps/index.js @@ -1,3 +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. + */ import React from 'react'; import './styles.css'; diff --git a/website/src/exports/animatedGraph.js b/website/src/exports/animatedGraph.js index ccdcde5..7ce31ed 100644 --- a/website/src/exports/animatedGraph.js +++ b/website/src/exports/animatedGraph.js @@ -1,3 +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. + */ import * as d3Timer from 'd3-timer'; const d3 = Object.assign({}, d3Timer); diff --git a/website/src/exports/cloudify.js b/website/src/exports/cloudify.js index b07dcfb..d4d7260 100644 --- a/website/src/exports/cloudify.js +++ b/website/src/exports/cloudify.js @@ -1,3 +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. + */ let $ = null; let SVG = null; diff --git a/website/src/exports/newPost.js b/website/src/exports/newPost.js index 33fad56..cc8f603 100644 --- a/website/src/exports/newPost.js +++ b/website/src/exports/newPost.js @@ -1,3 +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. + */ import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; export function fetchNewPost() { diff --git a/website/src/exports/newRelease.js b/website/src/exports/newRelease.js index 4303aef..48b932f 100644 --- a/website/src/exports/newRelease.js +++ b/website/src/exports/newRelease.js @@ -1,3 +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. + */ import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; export function fetchNewRelease() { diff --git a/website/src/exports/repoUrl.js b/website/src/exports/repoUrl.js index 074c0bd..3ea9f22 100644 --- a/website/src/exports/repoUrl.js +++ b/website/src/exports/repoUrl.js @@ -1,3 +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. + */ import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; export default function repoUrl(url) { diff --git a/website/src/pages/download.css b/website/src/pages/download.css index f2debef..c8a1614 100644 --- a/website/src/pages/download.css +++ b/website/src/pages/download.css @@ -1,3 +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. + */ .componentsHero { padding: 0; margin: 0; diff --git a/website/src/pages/download.js b/website/src/pages/download.js index 3ac6007..28c6386 100644 --- a/website/src/pages/download.js +++ b/website/src/pages/download.js @@ -1,3 +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. + */ import React from 'react'; import Layout from '@theme/Layout'; diff --git a/website/src/pages/index.module.css b/website/src/pages/index.module.css index 2dc4da2..a4fc34e 100644 --- a/website/src/pages/index.module.css +++ b/website/src/pages/index.module.css @@ -1,3 +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. + */ /* * Hero Section */ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org