diff --git a/TODO b/TODO deleted file mode 100644 index a3d181b..0000000 --- a/TODO +++ /dev/null @@ -1,70 +0,0 @@ - -General -======= - -- Have 'moo' output supported database types - -- Use a CPP define to conditionally export code that needs to be - tested, but isn't part of the public API, and set this define in the - Cabal configuration for the 'test' executable - -- Pull out high-level code from Moo into Database.Schema.Migrations to - improve the high-level library API, and make Moo a (relatively) thin - wrapper around that API - -- Write convenience functions to access information in StoreData so 1) - the code is cleaner and 2) we don't have to export field accessors - for StoreData - -- Moo "new" confirmation: display deps in columns, sorted - alphabetically, so we don't have to invoke a pager - -- Moo "new" confirmation: display deps in columns, sorted - alphabetically, so we don't feel the need to invoke a pager - -- Moo "new" command deps selection: allow j/k navigation a la darcs - -Bugs -==== - -- Invalid migration files silently ignored - -Testing -======= - -- Generally improve test coverage - -- Write tests for mapping validation logic in Store - -- Make tests display warning if they can't run the postgres tests due - to tools not being present (createdb, dropdb) -- check that those - exist in advance. Also gracefully do not run the pgsql tests if the - test database cannot be created for some other reason (permissions). - -StoreManager -============ - -Use cases: - - - Different layouts: - - - View all migrations in a flat list structure, sortable by - creation timestamp or name - - - View all migrations in a tree structure indicating dependencies - - - Something like F1 and F2 to change viewing modes, each with their - own event loops and interfaces - - - Create a new migration - - - Add a dependency to a migration - - - don't ask about dependencies that would result in a dependency - cycle - - - Remove a dependency from a migration - - - Delete a migration (questionable whether this should be automated) - - - View the apply and revert instructions of a migration diff --git a/admin/runtests b/admin/runtests deleted file mode 100755 index bb0d312..0000000 --- a/admin/runtests +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash -set -e -HERE=$(dirname $0) -ROOT=$HERE/.. - -EXE=dbmigrations-tests -TEST=$HERE/../test -BUILDDIR=$TEST/dist -cabal configure -f testing --builddir=$BUILDDIR -cabal build --builddir=$BUILDDIR --ghc-options="-Wall -Werror" - -cd test - -./dist/build/$EXE/$EXE diff --git a/prj/config b/prj/config deleted file mode 100644 index fd25d2f..0000000 --- a/prj/config +++ /dev/null @@ -1 +0,0 @@ -add_PATH $PROJECT_ROOT/admin \ No newline at end of file diff --git a/prj/hosts/brick b/prj/hosts/brick deleted file mode 100644 index e69de29..0000000