trivago / chapi

chronos & marathon console client - Manage your jobs like a git repository
MIT License
14 stars 10 forks source link

Only scan JSON files #87

Closed SHyx0rmZ closed 7 years ago

msiebeneicher commented 7 years ago

I'm not sure if that will fit for every setup. A .json file extension is not mandatory for job files.

SHyx0rmZ commented 7 years ago

That's true. As this arose when we made a backup copy of an existing job, do we maybe, upon detection of a duplicate job, want to display a message prompting the user to move any backup copies out of the job repository, if having a backup copy was what they were trying to do?

msiebeneicher commented 7 years ago

We can think about it to ignore common backup file extensions like .bak

andygrunwald commented 7 years ago

Isn't this already possibly by the .chapiconfig+ ignore section with a *.bak?

msiebeneicher commented 7 years ago

uh - right - that should work