gitignore file for indexing a running yacs server
proposal of a set of rules for this mecanism
What should be smart is being able to index a running YACS archive without interference with GIT tracking version of the files.
one solution with GIT is to include a .gitignore file at the root of the indexed project, witch include set of rules to disabled tracking on some files and/or directories.
This solution follow the project so you share the rules with co-workers.
Here is a proposal of a rules set, that exclude files specific to the server installation and not related to software version.
examples : exclude parameters , images, files ... and many more things.
this is the whole set :
# Ignore htaccess at root level only
# Ignore parameters
# Ignore images and files sub-folder content
# Temporary folder
# Inbox folder
# Some temporary files from editors
# OS generated files
with thoses rules you should be able to index a archive while running it into XAMPP for examples. Using GIT branching system, you could jump very fast from one version to another, without managing and storing dozens of folders.