Re: [pgadmin-hackers][patch] Move to Alembic migration system

Поиск
Список
Период
Сортировка
От Joao Pedro De Almeida Pereira
Тема Re: [pgadmin-hackers][patch] Move to Alembic migration system
Дата
Msg-id CAE+jjam19Xr=ZrVy3sWR1Z5CDEbRUDOFjRR8HjOpeN7Ku_OhrA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [pgadmin-hackers][patch] Move to Alembic migration system  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
Ответы Re: [pgadmin-hackers][patch] Move to Alembic migration system
Список pgadmin-hackers
Hello Hackers,

We review the patch, just noticed a spelling issue so we regenerated the patch.

Thanks
Joao & Oliver

On Fri, Apr 21, 2017 at 1:21 AM, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
Hi Joao & Oliver,

On Fri, Apr 21, 2017 at 3:39 AM, Joao Pedro De Almeida Pereira <jdealmeidapereira@pivotal.io> wrote:
Hello Hackers,

@Ashesh thanks for the feedback

Here is the reviewed patch with the suggestions of Ashesh.

Disclaimer: We added a new patch file with the changes 
 
I have made some more changes to the patch.
- 'with app.app_context(..)' statement was not required in the 'web/pgadmin/__init__.py' as we're already doing that in the do_upgrade function.
- We also need to create other directories (i.e. sessions, storage, directory containing the log-file) during the setup/running the application (if not exists).
- Added proper check in the pgAdmin4.wsgi file (if configuration file exists, or not)

Please review it.

-- Thanks, Ashesh


Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Akshay Joshi
Дата:
Сообщение: [pgadmin-hackers] [pgAdmin4][Patch]: RM #2214 PostgreSQL 10.0 compatibility
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: [pgadmin-hackers] Some questions about configuration and thepgadmin4-v1-web package