Attention List #4
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "(deleted):attention_list"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I am a participant lul
@ -0,0 +58,4 @@
parser = argparse.ArgumentParser(
description='Bootstrap repositories.')
parser.add_argument(
'--gh-orgs',
actually instead of that I was expecting rather going through current metadata analyzing only repositories that we care about (smth like in any other script). Please adapt to to consume metadata and rather take parameters “environment” which is then set in the metadata
we added the option to provide the token as metadata. Do you think the other stuff should also be added there or what did you mean?
Regarding the git sources: We build the script to use it as a general tool. If it should gather the data from metadata, we will do this or try to do this.
@ -0,0 +117,4 @@
while True:
try:
req_url = (url
you can either use existing SDK or at least make a wrapper for requests so that you do not repeat the same exception handling block over and over again (smth like in https://review.opendev.org/c/zuul/zuul/+/850008/10/zuul/driver/gitea/giteaconnection.py#364 or in https://github.com/opentelekomcloud/ansible-collection-gitcontrol/tree/main/plugins/module_utils)
@ -0,0 +157,4 @@
exit()
return pullrequests
def get_failed_gitea_commits(pull, url, gitea_org, repo, headers):
pls decide on function naming convention, get_gitea_failed_commits fits more other functions
done
@ -0,0 +386,4 @@
)
failed_commits.extend(commits)
print(create_json_result(
can you pls add argument to specify whether return yaml or json? human reading json is very bad
We like json more, but yaml option added.
not needed anymore
Pull request closed