incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <brond...@users.sf.net>
Subject [allura:tickets] Re: #6848 Coalesce scripts/migrations/*trove*.py into command/create_trove_categories.py
Date Fri, 08 Nov 2013 15:52:05 GMT
Yes, definitely.


---

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

**Status:** in-progress
**Labels:** 42cc 
**Created:** Tue Nov 05, 2013 06:26 PM UTC by Dave Brondsema
**Last Updated:** Fri Nov 08, 2013 08:01 AM 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.
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message