PreviousNextIndex

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
/.htaccess

# Ignore parameters
parameters/
!
parameters/index.php

# Ignore images and files sub-folder content
images/*/
files/*/

# Temporary folder
temporary/
!
temporary/index.php

# Inbox folder
/inbox

# Scripts
scripts/run_once/
scripts/staging/

#bak files
*.bak

# Some temporary files from editors
*~
*.
swp
*.svn
# OS generated files
.DS_Store?
ehthumbs
.dbIcon?
Thumbs.db

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.

PreviousNextIndex


Alexis Raimbault
on June 23 2010 at 01:53 pm GMT
[file=1255]


Alexis Raimbault webmaster free-lance
Alexis Raimbault
on June 23 2010 at 01:49 pm GMT
Page has been created