-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude certain files from upload #18
Comments
I suggest naming it .gitftpignore or .ftpignore (any preferences?). It would be nice if it followed the same syntax as .gitignore but reimplementing that parser might be nontrivial. |
i like .gitftpignore imho. |
or call it from ftpdata: Gives you the power to set different files for different branches or FTP servers. |
I agree with Janghou, simple yet powerful solution And .gitftpignore can be default file if gitftpignore can not be found in |
Is there any progress on this issue since last year? Due to .gitignore's manpage it uses only few simple rules and |
Nope, no one has been working on it. |
How would we handle submodules? One .gitftpignore in the root repo (my +1 here), or one per module? Would we upload .gitftpignore files to the server? If no: Because of that special name, or because of the name set in ftpdata? If yes: Ok, users can still add .gitftpignore to .gitftpignore. |
I think the question should be one .gitftpignore in the root (+1 here as well) or in any directory – much like .gitignore. Also I don't see any reason to upload .gitftpignore files. Why would anyone need them there? Or you want them there so you can control what is uploaded? Eg. different .ftpignore in staging and production server. |
Oh ... I didn't realize you could have multiple And ok, we should not upload the ignore files to the FTP server. We can have the same feature with @Janghou's suggestion. I think I'll play with this a little. |
What about to use .gitftpignore in root, unless other file in ftpdata is specified? I am actually almost done with the implementation but I haven't tested submodules yet. |
Oh ... that looks quite good. Made a few comments, also. Submodules use |
We could either allow to have Also if we allow more than one |
Mhh ... I'd vote for a single ignore file in the root of the main repository. Only problem: Submodules need to know the path relative to the root. That would we one more parameter to |
Add an option to exclude certain files from the upload, perhaps in the form of a git-ftp specific
.gitignore
file.The text was updated successfully, but these errors were encountered: