These are chat archives for coala/coala-bears

13th
Apr 2018
Harsh Kumar Bhartiya
@harshhx17
Apr 13 2018 16:02
@jayvdb Relating to the pr coala/coala-bears#2312
I have come to a pretty good flow regarding this issue and all the dependencies are getting installed,
However, the tests are failing
Should I push it so that you and @alphadose can review it
I am not able to understand why the tests are failing
Here is the link to the circle log
and yeah I will put the save-cache portion after the tests afterwards
Dopamine Gamer
@DopamineGamer_twitter
Apr 13 2018 17:55
Does anyone know how to make coala pick all the bears from a directory? --bears * does not seem to work from the command line.
Nityesh Agarwal
@nityeshaga
Apr 13 2018 17:56
Did you try using globs? @DopamineGamer_twitter
Dopamine Gamer
@DopamineGamer_twitter
Apr 13 2018 18:01
@nityeshaga I specified --bear-dirs and --bears relative/path/to/bears/*. Does not work. If I just do --bears * the glob pattern is applied on the cwd. I haven't installed the bears yet.
@nityeshaga If the bears are not installed, should the filenames be provided to coala for --bears instead of the class names?
Nityesh Agarwal
@nityeshaga
Apr 13 2018 18:07
Please wait.. even i'll have to check the documentation/tutorials regarding this :sweat_smile:
Nityesh Agarwal
@nityeshaga
Apr 13 2018 18:14

@nityeshaga I specified --bear-dirs and --bears relative/path/to/bears/*. Does not work. If I just do --bears * the glob pattern is applied on the cwd. I haven't installed the bears yet.

How about --bears **Bear? @DopamineGamer_twitter

Dopamine Gamer
@DopamineGamer_twitter
Apr 13 2018 18:22
@nityeshaga My bear classes do not end with 'Bear'. Random names.
The bear filtering is a bit confusing to me. --bears * seems to work fine if within .coafile.
Nityesh Agarwal
@nityeshaga
Apr 13 2018 18:42

The bear filtering is a bit confusing to me. --bears * seems to work fine if within .coafile.

Hmm that sounds weird :/

Dopamine Gamer
@DopamineGamer_twitter
Apr 13 2018 19:19
If it works for you, then I'm probably doing something wrong. Could you confirm? @nityeshaga
Boxuan Li
@li-boxuan
Apr 13 2018 19:54
If the bears are not installed
Emmmm, why don't you install?
Does anyone know how to make coala pick all the bears from a directory? --bears * does not seem to work from the command line.
Maybe do in an ad-hoc way? --bears $(ls | grep Bear | cut -d '.' -f1)