Gitify icon indicating copy to clipboard operation
Gitify copied to clipboard

Add option to provide separate config file [$25]

Open wuuti opened this issue 8 years ago • 6 comments

Summary

Currently the .config-file is always used. It would be great to have an option

 --config <file>

where another config file can be provided.

This is useful e.g. for local dev installations where you have multiple "deployment" tasks in your wrapper scripts.


There is a $25 open bounty on this issue. Add to the bounty at Bountysource.

wuuti avatar Nov 03 '16 14:11 wuuti

What Kind of steps Should I follow up on this request?

ashu-22 avatar Aug 09 '17 12:08 ashu-22

@ashu-22 You mean to claim the bounty? You'll need to create a pull request with the addition that @wuuti described above. Once that gets accepted and merged into the Gitify repository, the bounty is yours :)

Basically, you need to add the ability to run the following commands:

gitify build --config <file>
gitify extract --config <file>

Where <file> is a valid Gitify configuration file, other than the main .gitify.

hugopeek avatar Aug 11 '17 03:08 hugopeek

Has this been resolved yet?

ghost avatar Oct 10 '18 20:10 ghost

I've solved multiple configs by creating a folderstruture like that: modxroot/ -gitify/ --configA/ --configB/

and have a config.core.php within the config - directories with

<?php

include (dirname(dirname(dirname(__FILE__))) . '/' . 'config.core.php' );

running Gitify inside the config - folders

Bruno17 avatar Apr 25 '20 17:04 Bruno17

@Bruno17 Nice and elegant alternative! Works for me :+1:

hugopeek avatar Apr 26 '20 16:04 hugopeek

@Mark-H maybe worth to put it to the docs?

Bruno17 avatar May 09 '20 08:05 Bruno17

So that has been merged #417

wuuti avatar Jul 13 '23 10:07 wuuti