Closed Sebastien-Hanicotte closed 11 years ago
I'm planning to use a file .twgit user will have to put a the root directory of its project.
This .twgit will be a copy of the conf/twgit.sh with the header #!/bin/bash and all the config environment params he wants to alter
Example of .twgit file :
#!/bin/bash
##
# twgit secondary config file
#
TWGIT_FEATURE_SUBJECT_CONNECTOR='redmine' # in {'', 'github', 'redmine'}
TWGIT_FEATURE_SUBJECT_CONNECTOR_PATH="$TWGIT_INC_DIR/connectors/feature_subject_%s.sh" # où %s est un $TWGIT_FEATURE_SUBJECT_CONNECTOR
I work in the same context, so Good news !!!
I actually work with 2 differents repository :
For the first one, we use Redmine as a Subject Connector and for the other I need to be using GITHUB in order to comment the [INIT] commit of all the features started with the correct Subject automaticaly.
It would be interesting to be able to overload all or part of the default config file depending the project you're working on.