[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [distro-tracker] 01/01: Add the LXDE listserver mailing list archive URLs



Hi Paul,

On Tue, 16 Dec 2014, Paul Wise wrote:
>     Add the LXDE listserver mailing list archive URLs
> 
> diff --git a/distro_tracker/core/migrations/0002_initial_data.py b/distro_tracker/core/migrations/0002_initial_data.py
> index b3a0d78..70f448b 100644
> --- a/distro_tracker/core/migrations/0002_initial_data.py
> +++ b/distro_tracker/core/migrations/0002_initial_data.py
> @@ -57,6 +57,8 @@ def forwards_func(apps, schema_editor):
>                      archive_url_template='https://lists.launchpad.net/{user}/'),
>          MailingList(name='freedesktop', domain='lists.freedesktop.org',
>                      archive_url_template='https://lists.freedesktop.org/archives/{user}/'),
> +        MailingList(name='lxde', domain='lists.lxde.org',
> +                    archive_url_template='http://lists.lxde.org/pipermail/{user}/'),
>      ])

You should not edit an existing migration file, instead you must add a
new migration file. Otherwise the new entry will never be created on
servers where the 0002_initial_data.py migration has already been applied.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/


Reply to: