geodesicsolutions-community / geocore-community

GeoCore Community, open source classifieds and auctions software
MIT License
9 stars 6 forks source link

Create missing folder src/addons/exporter/exports/ #142

Closed vicos59 closed 2 years ago

vicos59 commented 2 years ago

I think maybe I created the folder when I was testing and didn't think much about it so I forgot...

Do you want me to do this and issue a PR? I verified that the folder is indeed missing from the main repo.

Yeah, if you do a pr you'll also need to add the empty file to .gitignore with a ! in front. So in .gitignore find this line:

src/addons/exporter/exports/

That tells it to ignore files in that folder. To make it not ignore the .empty, add this on the next line:

!src/addons/exporter/exports/.empty

In the .gitignore you'll see it does similar things for the other folders that get stuff added by the software but we don't want to commit it. Like the templates_c folder.

Originally posted by @jonyo in https://github.com/geodesicsolutions-community/geocore-community/discussions/95#discussioncomment-2304311

vicos59 commented 2 years ago

@jonyo I'm sorry to say that I think I am going to have to pass this one back to you.

I updated .gitignore and it refuses to pick up exports/ or the .empty file. So me figures that git needs to reload the .gitignore.

https://stackoverflow.com/questions/38450276/force-git-to-update-gitignore

...which is clearing the cache like we did earlier. To make a long story short, despite all my attempts, the last one resulted in 2000+ files being marked as changed because of CRLF-->LF conversions and it never did pick up the stuff I wanted it to.