Skip to content

Commit ad6e6c1

Browse files
Merge pull request #26 from networktocode/gfm-issue-24
Add Apache license consistently across files
2 parents 4bed487 + 748b156 commit ad6e6c1

21 files changed

+274
-24
lines changed

LICENSE

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Copyright 2020 Network to Code <[email protected]>
2+
Network to Code, LLC
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.

dsync/__init__.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
"""
2-
(c) 2020 Network To Code
1+
"""DSync core classes and logic.
2+
3+
Copyright (c) 2020 Network To Code, LLC <[email protected]>
34
45
Licensed under the Apache License, Version 2.0 (the "License");
56
you may not use this file except in compliance with the License.
67
You may obtain a copy of the License at
8+
79
http://www.apache.org/licenses/LICENSE-2.0
10+
811
Unless required by applicable law or agreed to in writing, software
912
distributed under the License is distributed on an "AS IS" BASIS,
1013
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

dsync/diff.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
"""Diff and DiffElement classes for DSync.
22
3-
(c) 2020 Network To Code
3+
Copyright (c) 2020 Network To Code, LLC <[email protected]>
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
77
You may obtain a copy of the License at
8+
89
http://www.apache.org/licenses/LICENSE-2.0
10+
911
Unless required by applicable law or agreed to in writing, software
1012
distributed under the License is distributed on an "AS IS" BASIS,
1113
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

dsync/exceptions.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
"""Exception classes used in DSync."""
1+
"""Exception classes used in DSync.
2+
3+
Copyright (c) 2020 Network To Code, LLC <[email protected]>
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
"""
217

318

419
class ObjectCrudException(Exception):

dsync/logging.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
"""Helpful APIs for setting up DSync logging."""
1+
"""Helpful APIs for setting up DSync logging.
2+
3+
Copyright (c) 2020 Network To Code, LLC <[email protected]>
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
"""
217

318
import logging
419

dsync/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
"""Utility functions for DSync library.
22
3-
(c) 2020 Network To Code
3+
Copyright (c) 2020 Network To Code, LLC <[email protected]>
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
77
You may obtain a copy of the License at
8+
89
http://www.apache.org/licenses/LICENSE-2.0
10+
911
Unless required by applicable law or agreed to in writing, software
1012
distributed under the License is distributed on an "AS IS" BASIS,
1113
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

examples/example1/backend_a.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
"""Example of a DSync adapter implementation."""
1+
"""Example of a DSync adapter implementation.
2+
3+
Copyright (c) 2020 Network To Code, LLC <[email protected]>
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
"""
217

318
# pylint: disable=wrong-import-order
419
from dsync import DSync

examples/example1/backend_b.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
"""Example of a DSync adapter implementation."""
1+
"""Example of a DSync adapter implementation.
2+
3+
Copyright (c) 2020 Network To Code, LLC <[email protected]>
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
"""
217

318
# pylint: disable=wrong-import-order
419
from dsync import DSync

examples/example1/backend_c.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
"""Example of a DSync adapter implementation."""
1+
"""Example of a DSync adapter implementation.
2+
3+
Copyright (c) 2020 Network To Code, LLC <[email protected]>
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
"""
217

318
# pylint: disable=wrong-import-order
419
from dsync import DSync

examples/example1/main.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
"""Main executable for DSync "example1"."""
1+
"""Main executable for DSync "example1".
2+
3+
Copyright (c) 2020 Network To Code, LLC <[email protected]>
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
"""
217
# pylint: disable=wrong-import-order
318

419
import argparse

0 commit comments

Comments
 (0)