Skip to content

Commit

Permalink
Switch to AppsCode Trial license
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Sep 14, 2020
1 parent c287878 commit 14f50b8
Show file tree
Hide file tree
Showing 51 changed files with 553 additions and 117 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.dbg
@@ -1,10 +1,10 @@
# Copyright The Stash Authors.
# Copyright AppsCode Inc. and Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the AppsCode Free Trial License 1.0.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
# https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.in
@@ -1,10 +1,10 @@
# Copyright The Stash Authors.
# Copyright AppsCode Inc. and Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the AppsCode Free Trial License 1.0.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
# https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
5 changes: 5 additions & 0 deletions LICENSE.md
@@ -0,0 +1,5 @@
## License

Source code in this repository, Binaries, Docker images and Charts produced by the build process are licensed under the AppsCode Free Trial License 1.0.0. You may obtain a copy of the License at

- [AppsCode-Trial-1.0.0](https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md)
7 changes: 3 additions & 4 deletions Makefile
@@ -1,11 +1,10 @@
# Copyright 2019 AppsCode Inc.
# Copyright 2016 The Kubernetes Authors.
# Copyright AppsCode Inc. and Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the AppsCode Free Trial License 1.0.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
# https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
6 changes: 3 additions & 3 deletions api/crds/doc.go
@@ -1,11 +1,11 @@
/*
Copyright The Stash Authors.
Copyright AppsCode Inc. and Contributors
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the AppsCode Free Trial License 1.0.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
https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
17 changes: 17 additions & 0 deletions api/crds/doc.go~HEAD
@@ -0,0 +1,17 @@
/*
Copyright The Stash 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://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.
*/

package crds
17 changes: 17 additions & 0 deletions api/crds/doc.go~master
@@ -0,0 +1,17 @@
/*
Copyright AppsCode Inc. and Contributors

Licensed under the AppsCode Free Trial License 1.0.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md

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.
*/

package crds
6 changes: 3 additions & 3 deletions api/crds/lib.go
@@ -1,11 +1,11 @@
/*
Copyright The Stash Authors.
Copyright AppsCode Inc. and Contributors
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the AppsCode Free Trial License 1.0.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
https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
46 changes: 46 additions & 0 deletions api/crds/lib.go~HEAD
@@ -0,0 +1,46 @@
/*
Copyright The Stash 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://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.
*/

package crds

import (
"fmt"

apiextensions "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
"k8s.io/apimachinery/pkg/runtime/schema"
"sigs.k8s.io/yaml"
)

func CustomResourceDefinition(gvr schema.GroupVersionResource) (*apiextensions.CustomResourceDefinition, error) {
data, err := Asset(fmt.Sprintf("%s_%s.yaml", gvr.Group, gvr.Resource))
if err != nil {
return nil, err
}
var out apiextensions.CustomResourceDefinition
err = yaml.Unmarshal(data, &out)
if err != nil {
return nil, err
}
return &out, nil
}

func MustCustomResourceDefinition(gvr schema.GroupVersionResource) *apiextensions.CustomResourceDefinition {
out, err := CustomResourceDefinition(gvr)
if err != nil {
panic(err)
}
return out
}
46 changes: 46 additions & 0 deletions api/crds/lib.go~master
@@ -0,0 +1,46 @@
/*
Copyright AppsCode Inc. and Contributors

Licensed under the AppsCode Free Trial License 1.0.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md

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.
*/

package crds

import (
"fmt"

apiextensions "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
"k8s.io/apimachinery/pkg/runtime/schema"
"sigs.k8s.io/yaml"
)

func CustomResourceDefinition(gvr schema.GroupVersionResource) (*apiextensions.CustomResourceDefinition, error) {
data, err := Asset(fmt.Sprintf("%s_%s.yaml", gvr.Group, gvr.Resource))
if err != nil {
return nil, err
}
var out apiextensions.CustomResourceDefinition
err = yaml.Unmarshal(data, &out)
if err != nil {
return nil, err
}
return &out, nil
}

func MustCustomResourceDefinition(gvr schema.GroupVersionResource) *apiextensions.CustomResourceDefinition {
out, err := CustomResourceDefinition(gvr)
if err != nil {
panic(err)
}
return out
}
6 changes: 3 additions & 3 deletions apis/installer/fuzzer/fuzzer.go
@@ -1,11 +1,11 @@
/*
Copyright The Stash Authors.
Copyright AppsCode Inc. and Contributors
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the AppsCode Free Trial License 1.0.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
https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
6 changes: 3 additions & 3 deletions apis/installer/install/install.go
@@ -1,11 +1,11 @@
/*
Copyright The Stash Authors.
Copyright AppsCode Inc. and Contributors
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the AppsCode Free Trial License 1.0.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
https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
6 changes: 3 additions & 3 deletions apis/installer/install/pruning_test.go
@@ -1,11 +1,11 @@
/*
Copyright The Stash Authors.
Copyright AppsCode Inc. and Contributors
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the AppsCode Free Trial License 1.0.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
https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
6 changes: 3 additions & 3 deletions apis/installer/install/roundtrip_test.go
@@ -1,11 +1,11 @@
/*
Copyright The Stash Authors.
Copyright AppsCode Inc. and Contributors
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the AppsCode Free Trial License 1.0.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
https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
6 changes: 3 additions & 3 deletions apis/installer/register.go
@@ -1,11 +1,11 @@
/*
Copyright The Stash Authors.
Copyright AppsCode Inc. and Contributors
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the AppsCode Free Trial License 1.0.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
https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
7 changes: 4 additions & 3 deletions apis/installer/v1alpha1/doc.go
@@ -1,18 +1,19 @@
/*
Copyright The Stash Authors.
Copyright AppsCode Inc. and Contributors
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the AppsCode Free Trial License 1.0.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
https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md
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.
*/

// Package v1alpha1 is the v1alpha1 version of the API.

// +k8s:deepcopy-gen=package,register
Expand Down
6 changes: 3 additions & 3 deletions apis/installer/v1alpha1/generated.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apis/installer/v1alpha1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apis/installer/v1alpha1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions apis/installer/v1alpha1/register.go
@@ -1,11 +1,11 @@
/*
Copyright The Stash Authors.
Copyright AppsCode Inc. and Contributors
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the AppsCode Free Trial License 1.0.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
https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
6 changes: 3 additions & 3 deletions apis/installer/v1alpha1/stash_perconaxtradb_helpers.go
@@ -1,11 +1,11 @@
/*
Copyright The Stash Authors.
Copyright AppsCode Inc. and Contributors
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the AppsCode Free Trial License 1.0.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
https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Free-Trial-1.0.0.md
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down

0 comments on commit 14f50b8

Please sign in to comment.