githubwatcher icon indicating copy to clipboard operation
githubwatcher copied to clipboard

Better pattern matching of user and repository name?

Open Crystalh opened this issue 14 years ago • 3 comments

Hello, this is a super useful tool so firstly thanks for creating it!

After configuring the repos.yaml file I am however having issues.

In ~/.githubwatcher/repos.yaml:

`---

  • caolan/nodeunit
  • joyent/node`

However, I am getting notifications from caolan/node fork even though I am not actively watching it (on Github nor in the yaml configuration).

This also seems to cause an unresolved conflict between the joyent/node master and caolan/node fork. I am getting repeat Growl notifications about every 5 seconds. I've tried removing both repos from my yaml configuration, restarting the githubwatcher daemon, and eventually killing the githubwatcher daemon. Nothing seems to have stopped the repetitive notifications from these two repos. I've had to stop Growl in the interim until I can work out how to resolve this.

For example:

caolan/node Has new -1058 forks

caolan/node Was updated!

caolan/node Has new -377 open issues

caolan/node Has new -9142 watchers

joyent/node Has new 1058 forks

joyent/node Was updated!

joyent/node Has new 377 open issues

joyent/node Has new 9142 watchers

Perhaps the two repos are being compared given that caolan's fork of the joyent/node master gives the same values except they are negative for watchers, forks and open issues.

Any ideas? And for the repeat notifications after removal from the .yaml file, is this just a matter of kickstarting a process in order for githubwatcher to notice the configuration changes?

Crystalh avatar Sep 04 '11 15:09 Crystalh

Hi!

thanks for reporting this, I will try to figure how to resolve this problem.

DAddYE avatar Sep 05 '11 09:09 DAddYE

@crystalh can you try to:

$ githubwatcher stop
$ rm -rf ~/.githubwatcher/db.yaml
$ githubwatcher start

DAddYE avatar Sep 05 '11 12:09 DAddYE

@DAddYE Thanks for the quick reply. I rebooted my Mac over the weekend, restarted Growl and I'm not getting the incessant notifications. I've removed db.yaml as in your above steps anyway. I hadn't realised that repos.yaml conf gets stored in db.yaml

Wrt having similar named repos, any ideas how I can list both of the above in repos.yaml and not have them conflict?

Crystalh avatar Sep 06 '11 09:09 Crystalh