Do not upload self
pocketarc opened this issue · 3 comments
git-deploy is uploading its own file, which rather sucks. Should also not upload the .ini with FTP configurations, this is a security issue (hadn't thought about that! :O)
Then there is a problem - with multiple .ini files, it's impossible to figure out which .ini files to upload (belonging to the project) and which .ini files to ignore. So, how about the .ini files get renamed to .gitd.ini, or simply .gitd? That'd make it better.
this could be solve with an "ignore" table - but the simplest solution would be to ignore just the ./deploy.ini file (hardcoded)
This issue is sorted, with the current .ini file in the ignore table, as well as .gitignore and git-deploy. Ability to add more files to ignore exists in the code, but not in the command line yet, will sort that out in a bit.