-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add channel
field to version
and set it on version submission
#3478
Comments
what would the third channel be? And is there a requirement to use (those exact) numeric values to represent the channels? |
If we decided to support beta versions as one of the channels, then that would be the third one. From discussions we had last week, it looks like won't. There's no requirement to use those exact numbers. I suggested them because they would match the current value of |
I'm looking into using
|
I'd like the channel to be handled at the version level, not the file level. Having to drill down to the file to figure anything out about the version status makes things unnecessarily complex, I think. Eventually I'd like to move the status up to the version so files become less important, but that will happen later. |
Well... all queries already have to operate at the file level because that's where the status is to determine if the file is approved, etc. (the only 'status'-like thing at the version level is What's the use-case for storing the property on the version? (other than making your weekly sql queries easier 😛 ) |
I don't want us to overload status flags like we did with add-on and files, where for example |
Regardless of whether channel is a version property or defined elsewhere What status would a File on an Unlisted version have? |
Unlisted files are either public, which really just means signed, or disabled by an admin. It's not quite a review status, but it's still independent from a version being listed or unlisted. |
Yes, so an admin action to change a listed version to an unlisted version would necessitate the status on the files being changed to |
I can't imagine a case where we want admins changing a version or file from listed to unlisted, or viceversa. It can lead to problems with reviewing, signing, visibility, etc. Being able to only change the review status without accidentally changing the channel is a benefit IMO. |
I don't think we gain much by re-using
Like with the addition of the If we didn't add new statuses and made both unlisted and beta versions a channel through an additional field, |
Part of #3477
This is only adding the
channel
column to theversion
entity and setting it with the same value asis_listed
fromaddon
when a new version is uploaded. So, Unlisted would be 0 and Listed would be 1. Note that we might need a third channel in the future, so the column should be numerical.The text was updated successfully, but these errors were encountered: