explore if we can use db_set to skip dbconfig questions for diaspora
Created by: Praveen Arimbrathodiyil
@balasankarc it would be nice if we can pre answer the dbconfig questions. We may be able to use db_set for those questions. I'm not sure though as dbconfig-common is used by many packages.
Imported comments:
By Praveen Arimbrathodiyil on 2016-02-13T04:23:36.922Z
Install it and see. dbcinfig will ask its own questions in addition to this, we already know the answers to those.
By Balasankar C on 2016-02-12T15:08:31.781Z
@pravi: These are the questions we are asking. I didn't understand what 'default' values you are referring to
- Host name for this instance of Diaspora
- PostgreSQL application password
- Enable https?
- Backup your database
- Third party services to be enabled:
- Facebook
- Facebook App ID:
- Facebook Secret:
- Twitter
- Twitter Key:
- Twitter Secret:
- Tumblr
- Tumblr Key:
- Tumblr Secret:
- Wordpress
- Wordpress Client ID:
- Wordpress Secret:
By Praveen Arimbrathodiyil on 2016-02-11T14:01:43.479Z
We can avoid asking questions that we already know answers for. For example, gitlab don't have these questions and we still have a fully configured service at the end.
By Balasankar C on 2016-02-11T10:07:58.070Z
I still don't understand the advantage it provides.
By Praveen Arimbrathodiyil on 2016-02-10T11:21:48.174Z
It will ask, do you want to use dbconfig-common? Then whether new host or localhost and password. We know answers to all those questions.
By Balasankar C on 2016-02-10T10:20:52.513Z
@pravi: Example?