pydoit / doit

CLI task management & automation tool
http://pydoit.org
MIT License
1.87k stars 175 forks source link

Merge all `.doit.xxx` files in a single `.doit/` folder #317

Closed smarie closed 5 years ago

smarie commented 5 years ago

I noticed that doit creates several files located at the project root.

The usual practice for projects doing this (e.g. pytest, pycharm, I think tox too, etc.) is to store their files in a dedicated folder.

Could we consider creating a .doit folder and putting all doit-created files in it ?

Upvote & Fund

Fund with Polar

schettino72 commented 5 years ago

This depends on dbm module being used. For me (on linux) only one file is created. There is already #223 that mention some naming problems.

I agree that putting all files in a folder (only for DBM backends that create more then one file).

I am closing this and adding a note on #223

smarie commented 5 years ago

Great!

vipranarayan14 commented 2 years ago

In Linux, I was able to achieve this by creating a folder named '.doit' inside the project root folder and configuring the dep_file path as:

# dodo.py
DOIT_CONFIG = {
    "dep_file": ".doit/.doit.db",
}