Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ASL license header on the source file #709

Closed
WillemJiang opened this issue May 30, 2019 · 1 comment
Closed

Add the ASL license header on the source file #709

WillemJiang opened this issue May 30, 2019 · 1 comment
Milestone

Comments

@WillemJiang
Copy link
Member

WillemJiang commented May 30, 2019

We need to add the License header on the script files, examples and some go files. and we could use Apache Rat to check the License information when doing the release.

I just ran a quick check with apache rat.

java -jar ~/bin/apache-rat-0.12/apache-rat-0.12.jar -a -d ./

I think we could skip the json files and *.adoc file as we cannot add the license header there.

Files with unapproved licenses:

  ./.dockerignore
  ./.gitignore
  ./.gitmodules
  ./.golangci.yml
  ./.pre-commit-config.yaml
  ./Gopkg.lock
  ./Gopkg.toml
  ./README.adoc
  ./contributing.adoc
  ./go.mod
  ./go.sum
  ./assets/json-schema/CamelCatalog.json
  ./assets/json-schema/Integration.json
  ./assets/json-schema/IntegrationContext.json
  ./assets/json-schema/IntegrationPlatform.json
  ./build/Dockerfile
  ./deploy/camel-catalog-2.23.0.yaml
  ./deploy/camel-catalog-2.23.1.yaml
  ./deploy/camel-catalog-2.23.2.yaml
  ./deploy/camel-catalog-2.24.0.yaml
  ./deploy/camel-catalog-3.0.0-M2.yaml
  ./deploy/cr-example.yaml
  ./deploy/crd-build.yaml
  ./deploy/crd-camel-catalog.yaml
  ./deploy/crd-integration-context.yaml
  ./deploy/crd-integration-platform.yaml
  ./deploy/crd-integration.yaml
  ./deploy/operator-deployment.yaml
  ./deploy/operator-role-binding-knative.yaml
  ./deploy/operator-role-binding.yaml
  ./deploy/operator-role-knative.yaml
  ./deploy/operator-role-kubernetes.yaml
  ./deploy/operator-role-openshift.yaml
  ./deploy/operator-service-account.yaml
  ./deploy/platform-cr.yaml
  ./deploy/platform-integration-context-groovy.yaml
  ./deploy/platform-integration-context-jvm.yaml
  ./deploy/platform-integration-context-knative.yaml
  ./deploy/platform-integration-context-kotlin.yaml
  ./deploy/user-cluster-role.yaml
  ./deploy/olm-catalog/camel-k.package.yaml
  ./deploy/olm-catalog/camel-k.v0.3.3.clusterserviceversion.yaml
  ./deploy/olm-catalog/csv-config.yaml
  ./docs/cluster-setup.adoc
  ./docs/gke-setup.adoc
  ./docs/languages.adoc
  ./docs/traits.adoc
  ./examples/CaffeineCacheSample.java
  ./examples/RestWithRestlet.java
  ./examples/Sample.java
  ./examples/camel-caffeine.groovy
  ./examples/dns.js
  ./examples/greetings-api.json
  ./examples/greetings.groovy
  ./examples/kotlin-routes.kts
  ./examples/props.js
  ./examples/resources-data.txt
  ./examples/resources-route.groovy
  ./examples/routes-rest.js
  ./examples/routes.flow
  ./examples/routes.groovy
  ./examples/routes.js
  ./examples/simple.groovy
  ./examples/simple.js
  ./examples/kafka/README.adoc
  ./examples/kafka/SampleKafkaConsumer.java
  ./examples/kafka/application.properties
  ./examples/knative/README.adoc
  ./examples/knative/feed.groovy
  ./examples/knative/messages-channel.yaml
  ./examples/knative/printer.groovy
  ./examples/knative/reader.groovy
  ./examples/knative/splitter.groovy
  ./examples/knative/words-channel.yaml
  ./examples/knative/writer.groovy
  ./pkg/apis/addtoscheme_camel_v1alpha1.go
  ./pkg/apis/addtoscheme_knative_eventing_v1alpha1.go
  ./pkg/apis/addtoscheme_knative_serving_v1alpha1.go
  ./pkg/apis/addtoscheme_monitoring.go
  ./pkg/apis/addtoscheme_openshift.go
  ./pkg/apis/apis.go
  ./pkg/apis/camel/v1alpha1/build_types.go
  ./pkg/apis/camel/v1alpha1/camelcatalog_types.go
  ./pkg/apis/camel/v1alpha1/doc.go
  ./pkg/apis/camel/v1alpha1/integration_types.go
  ./pkg/apis/camel/v1alpha1/integrationcontext_types.go
  ./pkg/apis/camel/v1alpha1/integrationplatform_types.go
  ./pkg/apis/camel/v1alpha1/register.go
  ./pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go
  ./pkg/apis/camel/v1alpha1/zz_generated.defaults.go
  ./pkg/controller/add_build.go
  ./pkg/controller/add_integration.go
  ./pkg/controller/add_integrationcontext.go
  ./pkg/controller/add_integrationplatform.go
  ./pkg/controller/controller.go
  ./pkg/controller/build/build_controller.go
  ./pkg/controller/integration/integration_controller.go
  ./pkg/controller/integrationcontext/integrationcontext_controller.go
  ./pkg/controller/integrationplatform/integrationplatform_controller.go
  ./pkg/platform/operator.go
  ./pkg/util/defaults/defaults.go
@WillemJiang WillemJiang changed the title Add the ASL license header on the script files Add the ASL license header on the source file May 30, 2019
@WillemJiang
Copy link
Member Author

The PR #712 was merged into master branch.

@WillemJiang WillemJiang modified the milestones: 0.3.4, 1.0.0 Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant