Skip to content

migrate addons using prefined icons to custom icons - #16285

Merged
eviljeff merged 1 commit into
masterfrom
16114-migrate-predefined-icons-to-custom
Jan 11, 2021
Merged

eviljeff merged 1 commit into
masterfrom
16114-migrate-predefined-icons-to-custom

Conversation

@eviljeff

@eviljeff eviljeff commented Jan 8, 2021

Copy link
Copy Markdown
Member

@eviljeff
eviljeff requested review from a team and bobsilverberg and removed request for a team January 8, 2021 20:42

@bobsilverberg bobsilverberg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, thanks @eviljeff. I have a couple of questions:

  1. After this has done, can/should we delete the files for the pre-defined icons?
  2. When does the process_addons command run? It seems like we're adding this to a command that will be run more than once in the future, but isn't this something that only ever needs to be run once? If so, would a data migration make more sense?

r+wc

@eviljeff

Copy link
Copy Markdown
Member Author
1. After this has done, can/should we delete the files for the pre-defined icons?

yep! And the supporting code in django. And eventually the JS in devhub that handles the icon selection.

2. When does the `process_addons` command run? It seems like we're adding this to a command that will be run more than once in the future, but isn't this something that only ever needs to be run once? If so, would a data migration make more sense?

It's a one off command but we don't know how long it'll take, and as it's not blocking a DB migration, it's easier to have it as a command we can have ops run after the push at our leisure.

@eviljeff
eviljeff merged commit 5335586 into master Jan 11, 2021
@eviljeff
eviljeff deleted the 16114-migrate-predefined-icons-to-custom branch January 11, 2021 17:23
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.

migrate the addons that use icons from the preselected list

2 participants