Use config file and/or command line parameters #1

Open
opened 2021-03-11 14:43:11 +11:00 by mike · 2 comments
Owner

Currently the database connection credentials need to be edited into the script itself. This is fine for now but it's obviously not ideal for long term use that includes script updates.

At the minimum, command line parameters could be used but a config file (just a simple .ini) would be best. Both should be supported ideally.

Currently the database connection credentials need to be edited into the script itself. This is fine for now but it's obviously not ideal for long term use that includes script updates. At the minimum, command line parameters could be used but a config file (just a simple .ini) would be best. Both should be supported ideally.
mike added the
enhancement
label 2021-03-11 14:44:38 +11:00
Member

At the minimum, command line parameters could be used

As a step toward this, I intend to convert the module to an installable program. That is, instead of pointing directly to the Python module, there'd be a build and install system, to put in place an executable 'auth-mastodon' program.

Does that sound right?

> At the minimum, command line parameters could be used As a step toward this, I intend to convert the module to an installable program. That is, instead of pointing directly to the Python module, there'd be a build and install system, to put in place an executable 'auth-mastodon' program. Does that sound right?
Author
Owner

I have no strong opinions on this, whatever get us there is fine by me!

I have no strong opinions on this, whatever get us there is fine by me!
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: chinwag/ejabberd-auth-mastodon#1
No description provided.