Skip to content
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

allow approval notes to be set by developers via the addon submission api #19579

Merged
merged 2 commits into from
Aug 19, 2022

Conversation

eviljeff
Copy link
Member

@eviljeff eviljeff requested review from a team, bobsilverberg and diox and removed request for a team and bobsilverberg August 18, 2022 10:44
approval_notes = models.TextField(
db_column='approvalnotes', default='', null=True, blank=True
)
approval_notes = models.TextField(db_column='approvalnotes', default='', blank=True)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only problem here is this change would mean any versions created during the push window would fail (as they'd still be created with approval_notes=null). If we think that's a big enough problem we could delay the migration - the change in from_upload should be enough to fix new versions.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to err of the side of caution here - we don't know what might happen that could delay the deploy part of the push. So let's be conservative and do that migration later.

approval_notes = models.TextField(
db_column='approvalnotes', default='', null=True, blank=True
)
approval_notes = models.TextField(db_column='approvalnotes', default='', blank=True)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to err of the side of caution here - we don't know what might happen that could delay the deploy part of the push. So let's be conservative and do that migration later.

@eviljeff eviljeff requested a review from diox August 18, 2022 16:06
@eviljeff eviljeff merged commit 1d71d12 into mozilla:master Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow reviewer notes upload in new submissions API
2 participants