Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 1.37 KB

TODO.org

File metadata and controls

35 lines (30 loc) · 1.37 KB

[1/3] User configuration file

Define configuration file location

Load configuration file

Define configuration options

This will somewhat mirror what we have in Command-line options

[3/5] Interact with database

Define database location

Add file info to database

Remove file from database

Add file to store location and add file info

Figure out why I need to put with-db everywhere

I thought that I could use with-db to wrap entire function bodies, with control-flow and multiple calls to query* in it. The macro probably needs some kind of work done on it to accept bodies correctly.

[0/4] Store files

Define store location

This should probably be done with the configuration file

Index files already in location for validation

Add file to store

Register file with database

[0/2] Command-line options

Look into (guile) getopt-long

Define command line options

Configuration file location

No config file

Start server (for Emacs interaction)

Look at how mu4e does this with the mu server command.

[0/3] Others

Look at (guix colors) for how ANSI color output is defined.

Have query* throw an error if used outside of with-db context

Do PROPER error handling of the SQLite statements!