Skip to content

Commit

Permalink
chore: add copyleft to all files
Browse files Browse the repository at this point in the history
  • Loading branch information
philipdelorenzo committed Oct 24, 2024
1 parent 0b4b041 commit e237bc8
Show file tree
Hide file tree
Showing 11 changed files with 57 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/replace-tag.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# Copyright (c) 2024, Philip De Lorenzo
# All rights reserved.

# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

# We want to make some change to the code, but keep the same tag for the version
RELEASE_TAG="v0.1.0"
Expand Down
6 changes: 6 additions & 0 deletions src/checks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Author: Philip De lorenzo <philip.delorenzo@gmail.com>
# Copyright (c) 2024, Philip De Lorenzo
# All rights reserved.

# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

import argparse

import requests
Expand Down
5 changes: 5 additions & 0 deletions src/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Author: Philip De lorenzo <philip.delorenzo@gmail.com>
# Copyright (c) 2024, Philip De Lorenzo
# All rights reserved.

# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
class GHTokenError(Exception):
def __init__(self, message, errors={}):
# Call the base class constructor with the parameters it needs
Expand Down
5 changes: 5 additions & 0 deletions src/gh.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2024, Philip De Lorenzo
# All rights reserved.

# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
import argparse
import json
import os
Expand Down
5 changes: 5 additions & 0 deletions src/gh_api.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2024, Philip De Lorenzo
# All rights reserved.

# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
import json
import os
import subprocess # We will use subprocess to run the gh command to get the deployment pipelines
Expand Down
5 changes: 5 additions & 0 deletions src/helpers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2024, Philip De Lorenzo
# All rights reserved.

# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
class Args:
def __init__(self):
self.current_repo = "philipdelorenzo/sync-action-status"
Expand Down
6 changes: 6 additions & 0 deletions src/shared.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (c) 2024, Philip De Lorenzo
# All rights reserved.

# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

"""This python script will return the deployment pipelines, and ids for the SRE Deployments Repo -- @manscaped-dev/manscaped-sre-deployments
# Author: @philipdelorenzo-manscaped<phil.delorenzo@manscaped.com>
Expand Down
5 changes: 5 additions & 0 deletions src/test_checks.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2024, Philip De Lorenzo
# All rights reserved.

# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
import unittest

from checks import check_gh_token, is_org, prerequisites, repo_owner_verification
Expand Down
5 changes: 5 additions & 0 deletions src/test_gh.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2024, Philip De Lorenzo
# All rights reserved.

# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
import unittest

import requests
Expand Down
5 changes: 5 additions & 0 deletions src/test_gh_api.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2024, Philip De Lorenzo
# All rights reserved.

# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
import unittest

import requests
Expand Down
5 changes: 5 additions & 0 deletions sync-action-status.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2024, Philip De Lorenzo
# All rights reserved.

# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
import argparse
import os
import sys
Expand Down

0 comments on commit e237bc8

Please sign in to comment.