add flavours to title#305
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## title-metadata #305 +/- ##
===============================================
Coverage 82.24% 82.24%
===============================================
Files 58 58
Lines 2721 2738 +17
Branches 277 280 +3
===============================================
+ Hits 2238 2252 +14
- Misses 410 412 +2
- Partials 73 74 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
benoit74
left a comment
There was a problem hiding this comment.
Few minor changes + we need a maintenance script to populate title flavours from existing book flavours.
Will the title flavours be made of the set of all flavours it's book has? On local, I notice there are flavours like |
|
Added a maint-script that doesn't just set the title flavours from the set of it's book's flavours. It also fixes those books too whose flavours start with |
Rationale
This PR adds
flavourscolumn to titles. When notifications are being processed and the new book's flavour is not in the list of title flavours, the book is moved to staging irrespective of the title's maturity. Consequently, books with flavour mismatch cannot be manually moved from staging to prodThis closes #294