what-digital / divio

A project for tracking divio.com deployment issues
0 stars 0 forks source link

divio bot deletes .divio/config.json #38

Open viktor-yunenko opened 3 years ago

viktor-yunenko commented 3 years ago

Solutions

Original report

Here's the type of the project that I created

image

viktor-yunenko commented 3 years ago

Hi @evildmp, hi @GaretJax, could you help here perhaps? We heard that it could be disabled by using the empty template, but that doesn't seem to be the case?

cc @macolo

macolo commented 3 years ago

Divio Support feedback: .divio/config.json can contain user-specific data, that's why divio platform cannot allow the config.json in the git repository.

Workaround:

macolo commented 3 years ago

@victor-yunenko do these work arounds work for you or do you have additional use cases?

GaretJax commented 3 years ago

@macolo elaborate a bit on the reasons, the .divio/config.json file can also contain project-specific data, and as it is possible to reuse the same source for multiple projects (e.g. forks pointing to the same external repo, separate FE/BE projects with the same codebase, etc), making it impractical to commit it to the repository.

kinkerl commented 2 years ago

we removed the logic around removing these files in the 2022-04-07 release. should be ok now.