Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate the default database #55

Closed
oniony opened this issue Nov 9, 2015 · 0 comments
Closed

Deprecate the default database #55

oniony opened this issue Nov 9, 2015 · 0 comments
Milestone

Comments

@oniony
Copy link
Owner

oniony commented Nov 9, 2015

On startup, TMSU will create a default database at the default database location ($HOME/.tmsu/default.db) if one does not already exist. The rationale for this was to make it easier for new users to get started by not putting any barriers in their way. However, with the introduction of local databases (created with the init command), the presence of the default database confuses the situation:

  • New users may not realise it's even possible to create local databases but instead junk everything into one large database
  • The use of relative and absolute paths becomes confusing as the path type is decided by the relationship between the database root path and the path being tagged.

The following changes are proposed:

  1. TMSU will no longer create a default database on start-up if one does not exist.
  2. If TMSU cannot find a database a message will be printed instructing the user to use the init command.

See issue #49 for backstory.

@oniony oniony added this to the 0.6.0 milestone Nov 9, 2015
oniony referenced this issue Nov 21, 2015
Default database no longer created (but will still be used if found).
Added instruction to 'init' database if one cannot be found.
@oniony oniony closed this as completed Nov 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant