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

Поиск
Список
Период
Сортировка
От Ashesh Vashi
Тема Re: [pgadmin-hackers][patch] Move to Alembic migration system
Дата
Msg-id CAG7mmoxQ8+9Q0SS+YoNmRcdmnuqCCSB+eZ42sCPk7eVsqwHUPg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [pgadmin-hackers][patch] Move to Alembic migration system  (Joao Pedro De Almeida Pereira <jdealmeidapereira@pivotal.io>)
Ответы Re: [pgadmin-hackers][patch] Move to Alembic migration system
Список pgadmin-hackers
On Fri, Apr 21, 2017 at 7:59 PM, Joao Pedro De Almeida Pereira <jdealmeidapereira@pivotal.io> wrote:
Hello Hackers,

We review the patch, just noticed a spelling issue so we regenerated the patch.
Thanks.
Your patch was missing README changes. :-)

Committed after adding the necessary changes.

-- Thanks,
Ashesh Vashi
 

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 по дате отправления:

Предыдущее
От: Ashesh Vashi
Дата:
Сообщение: [pgadmin-hackers] pgAdmin 4 commit: [Configuration][Migration] Use 'alembic' formigratio
Следующее
От: Murtuza Zabuawala
Дата:
Сообщение: [pgadmin-hackers] [pgAdmin4][PATCH] To fix the issue with Node rename