-
Notifications
You must be signed in to change notification settings - Fork 13
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
Scripts of registering discovered locations, create and delete servic… #4
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
for value in response["values"]: | ||
if "path" in value: | ||
path = value["path"] | ||
match = re.search(r"mock_rserver_root/configs/services/(.*?-service)", path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use the catalog_path
declared above instead of hardcoding the regex here
print(f"Failed to fetch the latest commit. Status code: {response.status_code}") | ||
exit() | ||
|
||
def extract_directories(response): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move this method to the top (after the variable declarations) OR to the bottom?
Right now it's kind of in between the code flow which affects readability
…es for bitbucket monorepo usecase
…es for bitbucket monorepo usecase