Skip to content

Commit

Permalink
Import common files into this repo. (istio#14473)
Browse files Browse the repository at this point in the history
* Import common files into this repo.

- Delete some unused cruft.

- Add missing copyright notices detected by fixed license checking linter.

* Add categories for feature requests too.

These categories will be used to automatically apply area labels to
incoming issues.
  • Loading branch information
geeknoid authored and istio-testing committed Jun 1, 2019
1 parent 99d1b08 commit b760e61
Show file tree
Hide file tree
Showing 69 changed files with 528 additions and 505 deletions.
1 change: 1 addition & 0 deletions .commonfiles.sha
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
03b97588cc7fa13738170f4988330493587d5c46
20 changes: 10 additions & 10 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ about: Report a bug to help us improve Istio

**Bug description**

**Expected behavior**

**Steps to reproduce the bug**

**Version (include the output of `istioctl version --remote` and `kubectl version`)**

**How was Istio installed?**

**Environment where bug was observed (cloud vendor, OS, etc)**

**Affected product area (please put an X in all that apply)**

[ ] Configuration Infrastructure
Expand All @@ -28,6 +18,16 @@ about: Report a bug to help us improve Istio
[ ] Test and Release
[ ] User Experience

**Expected behavior**

**Steps to reproduce the bug**

**Version (include the output of `istioctl version --remote` and `kubectl version`)**

**How was Istio installed?**

**Environment where bug was observed (cloud vendor, OS, etc)**

Additionally, please consider attaching a [cluster state archive](http:https://istio.io/help/bugs/#generating-a-cluster-state-archive) by attaching
the dump file to this issue.

12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,16 @@ about: Suggest an idea to improve Istio

**Describe alternatives you've considered**

**Affected product area (please put an X in all that apply)**

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience

**Additional context**
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# The original version of this file is located in the https://github.com/istio/common-files repo.
# If you're looking at this file in a different repo and want to make a change, please go to the
# common-files repo, make the change there and check it in. Then come back to this repo and run the
# scripts/updatecommonfiles.sh script.

service:
# When updating this, also update bin/linters.sh accordingly
golangci-lint-version: 1.16.x # use the fixed version to not introduce new linters unexpectedly
Expand Down
7 changes: 7 additions & 0 deletions BUGS-AND-FEATURE-REQUESTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Bugs and Feature Requests

You can report bugs and feature requests to the Istio team in one of three places:

- [Product Bugs and Feature Requests](https://github.com/istio/istio/issues)
- [Documentation Bugs and Feature Requests](https://github.com/istio/istio.io/issues)
- [Community and Governance Issues](https://github.com/istio/community/issues)
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2016 Istio Authors
Copyright 2016-2019 Istio Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,10 @@ ${GEN_CERT}:
precommit: format lint

format:
bin/fmt.sh
scripts/run_gofmt.sh

fmt:
scripts/run_gofmt.sh

# Build with -i to store the build caches into $GOPATH/pkg
buildcache:
Expand Down Expand Up @@ -770,3 +773,5 @@ include tests/integration/tests.mk
.PHONY: benchcheck
benchcheck:
bin/perfcheck.sh

include Makefile.common.mk
27 changes: 27 additions & 0 deletions Makefile.common.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY
#
# The original version of this file is located in the https://github.com/istio/common-files repo.
# If you're looking at this file in a different repo and want to make a change, please go to the
# common-files repo, make the change there and check it in. Then come back to this repo and run the
# scripts/updatecommonfiles.sh script.

# Copyright 2018 Istio Authors
#
# Licensed 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:https://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.

updatecommon:
@git clone https://github.com/istio/common-files
@cd common-files
@git rev-parse HEAD >.commonfiles.sha
@cp -r common-files/files/* common-files/files/.[^.]* .
@rm -fr common-files
7 changes: 7 additions & 0 deletions SUPPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Support

Here are some resources to help you understand and use Istio:

- For in-depth information about how to use Istio, visit [istio.io](https://istio.io)
- To ask questions and get assistance from our community, visit [discuss.istio.io](https://discuss.istio.io)
- To learn how to participate in our overall community, visit [our community page](https://istio.io/about/community)
13 changes: 0 additions & 13 deletions bin/boilerplate/boilerplate.Dockerfile.txt

This file was deleted.

13 changes: 0 additions & 13 deletions bin/boilerplate/boilerplate.Makefile.txt

This file was deleted.

13 changes: 0 additions & 13 deletions bin/boilerplate/boilerplate.go.txt

This file was deleted.

219 changes: 0 additions & 219 deletions bin/boilerplate/boilerplate.py

This file was deleted.

Loading

0 comments on commit b760e61

Please sign in to comment.