comeara / pillar

Pillar manages migrations for your Cassandra data stores.
https://github.com/comeara/pillar
MIT License
111 stars 64 forks source link

Migration fails silently when no directory with datastore name is found #42

Closed pltb closed 7 years ago

pltb commented 7 years ago

Pillar seeks for a folder with a datastore name, and if it is not found, it terminates silently. The problem is, when migration scripts are placed in some custom directory and the path of this directory is then passed to the Pillar's cli, migration is not executed and no warning or error message is shown either. This seems to be a counterintuitive and obscure behavior.

Please, change it (make Pillar load files from the root of the folder) or explicitly note this behavior in the README and put some warning message in the Registry class for the case of a nonexistent datastore directory.