You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Tim Van Steenburgh <va...@users.sf.net> on 2014/01/02 15:36:26 UTC

[allura:tickets] #6848 Coalesce scripts/migrations/*trove*.py into command/create_trove_categories.py

- **QA**: Tim Van Steenburgh
- **Milestone**: forge-backlog --> forge-jan-10



---

** [tickets:#6848] Coalesce scripts/migrations/*trove*.py into command/create_trove_categories.py**

**Status:** code-review
**Labels:** 42cc 
**Created:** Tue Nov 05, 2013 06:26 PM UTC by Dave Brondsema
**Last Updated:** Fri Dec 27, 2013 02:26 PM UTC
**Owner:** nobody

command/create_trove_categories.py sets up the initial trove categories.  Over time we've created several migrations to update the trove categories, but few (if any) of those changes are in the command/create_trove_categories.py  So when you start a new instance of Allura, you don't have the latest (unless you run all the migrations).

So we should take all the changes specified in these files, and update command/create_trove_categories.py to set them all up properly there.  Be very careful! :)

scripts/migrations/014-add-trove-category-agpl.py
scripts/migrations/016-add-trove-category-lppl.py
scripts/migrations/017-sync-trove-categories.py
scripts/migrations/019-set-parent-only-troves.py
scripts/migrations/021-add-new-trove-license-categories.py
scripts/migrations/023-add-new-trove-license-category.py
scripts/migrations/030-set-trove-show_as_skill.py

The end result should be that the `trove_category` collection is the same after running NEW command/create_trove_categories.py, compared to OLD command/create_trove_categories.py PLUS all migrations.


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.