agallou / mageia-app-db

GNU Affero General Public License v3.0
6 stars 3 forks source link

Create a meta "latest stable" distrelease #204

Closed agallou closed 10 years ago

agallou commented 10 years ago

Author Name: Samuel Verschelde (@stormi) Original Redmine Issue: 210, http://mageia-app-db.tuxette.fr/issues/210 Original Date: 2011/12/12 Original Assignee: Samuel Verschelde


(To be used for subscriptions, selected in distrelease filter)

Drawback: distros can't name their distreleases "latest" or "previous". Hopefully this will never occur, and if it occurs then we'll take care of it.

agallou commented 10 years ago

Original Redmine Comment Author Name: Samuel Verschelde (@stormi) Original Date: 2012/01/20 23:25:43 +0100


and also "previous stable"

agallou commented 10 years ago

Original Redmine Comment Author Name: Samuel Verschelde (@stormi) Original Date: 2012/05/07 15:57:40 +0200


looks like I can't force the value for the ID in the fixtures because symfony doesn't want to do that for autoincrement fields (although it's valid in SQL), so let's do without. The name + is_meta field will be sufficient.

agallou commented 10 years ago

Original Redmine Comment Author Name: Samuel Verschelde (@stormi) Original Date: 2012/05/07 21:42:28 +0200


Done and http://dev.madb.org and http://dev2.madb.org have been updated with it.

Now we can use those meta-releases as filters, and also as subscription criteria, such as in "notify me for every update of firefox in the latest stable release of the distribution"

For those having local madb instances, you need to:

agallou commented 10 years ago

Original Redmine Comment Author Name: Samuel Verschelde (@stormi) Original Date: 2012/05/07 22:33:15 +0200


before ./madb init --insert-test-data, do rm tmp/data.zip to force download of the new mageia test data. For other distributions, patience, test data will be updated eventually.