but what if the file not contain any extention? or if a different file is need (like a .svg or a .sh or a .webm? We will ended adding all the posibilities for images? or there will be an alternat8but is need to installive if a user need update a package with anything that is not in the whitelist withut ended renaming it at makepkg time. Maybe if a user need add a exeption they can contact the mailist for ask about an exception to they blacklist in they git-sub-tree-whatever. 2014-12-29 22:14 GMT-03:00 SpinFlo <sl1pkn07@gmail.com>:
2014-12-30 0:57 GMT+01:00 SpinFlo <sl1pkn07@gmail.com>:
2014-12-30 0:52 GMT+01:00 SpinFlo <sl1pkn07@gmail.com>:
or exist a method to use white list (only files/directory allowed) instead of blacklist (list of exclude dirs/files)
greetings
oh, i fount it:
http://stackoverflow.com/questions/15288712/gitignore-whitelist-on-directory...
greetings
ok i tried test with a .gitignore (do'h, 'git add *' don't work again. but use 'git add .gitignore' works :/) with this content:
* !.gitignore !.SRCINFO !PKGBUILD !somefile.desktop !somefile.patch !someimage.png !sometextfile.ext
then added the package sources and dozens of files. 'git add *' says that files are ignored, included the src/pkg dirs(and contents)
i'm sure this is a best chice to avoid the duplicate local repos (one to work, and other to clean push)
greetings
-- *Pablo Lezaeta*