MaintainingSVN Ignores
There are typically two maintenance cases. You want to:
- set some (default) svn:ignore on a new directory
- change the svn:ignore on a directory from the default/existing to
Both will be described below.
Two notes before you begin:
Make sure the variable GIELLA_TEMPLATES is set in your .profile file. If not, add
Your langs/Makefile may be outdated. If in doubt, update it.
./autogen.sh && ./configure
Then you should be ready to begin.
Set svn:ignore
The following two commands update the svn:ignore property for all dirs in all
cd langs/ make svnignores
How it works
The make target loops over all languages defined in the make variable
After you have run the above commands, all dirs will have updated svn:ignore
Default ignore pattern
The following snippet shows the default ignore pattern for the langs type of
mkfiles="Makefile Makefile.in" # [...] fstfiles="*fst *.hfstol *.foma *.bin *.bcg3"
Issues
There are some dirs that have manually set svn:ignore properties. At the
Please review the changes before committing them!
Change svn:ignore
To change the actual ignore patterns, you must change the shell scripts that set
-
$GTCORE/scripts/set-svn-ignores-langs.sh
- $GTCORE/scripts/set-svn-ignores-prooftesting.sh
They are applied to the template type as indicated by the last part of their
Open the desired file, edit it following the code structure that is there, and
NB! Remember to commit the changes to these scripts after you have edited