-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support for SubmitCGAP in cgap-portal (C4-302) #192
Conversation
Updating branch from master
Code broken down into smaller functions Functions not all finished currently Significant refactoring
Updating branch from master
Updating branch from master
…ias instead of atid
Updating branch from master
Updating branch from master
…some documentation to that script.
…me other logic related to errors in s3.
…ng semantic problems, mostly syntactic.
@@ -374,15 +527,18 @@ def delete_messages(self, messages): | |||
""" | |||
failed = self.queue_manager.delete_messages(messages) | |||
while True: | |||
debuglog("Trying to delete messages") |
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.
Very minor point - I don't love this because we already have @debug_log decorator for routes
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.
This is for local debugging. It only happens under make deploy.
Largely these can go away for production use once the tool is stable, without affecting anything.
This one can probably go away anyway.
debuglog itself is I think available from dcicutils.py so it should go away and just be imported.
I'll make a pass through to clean those things up separately.
OK, some of @sbreiff's work will follow in another PR after this. There was a last-minute permissions error discovered (see C4-311) that will be followed up under separate cover along with others in the SubmitCGAP (C4-190) epic. |
I'm putting this up as a draft PR for "early" review. It will still need more changes.
(There is corresponding support in SubmitCGAP repo on the kmp_file_uploads branch.)
Notes:
metadata-bundles-<s3_bucket_env>
. Is it worth my renaming the buckets to contain the nameelasticbeanstalk-
like the other bucket envs do? I'm thinking probably yes, but if you don't think it's important I might leave it. Anyway, at this point it does get configured in the.ini
files like we had talked about.