anaynayak / buildnotify

A system tray based build status notification app for cctray.xml feeds.
https://anaynayak.github.io/buildnotify/
Other
29 stars 7 forks source link

Custom project names #25

Closed anaynayak closed 7 years ago

anaynayak commented 9 years ago

Originally reported by: Brad Buchanan (Bitbucket: bradley_c_buchanan, GitHub: Unknown)


Some of my cruise control feeds have the same embedded project name (for example, when subscribing to Travis-CI feeds for different branches). If would be really nice if I could override the project names (or maybe add a supplemental label) from within buildnotify so that I could tell them apart in the dropdown menu.


anaynayak commented 8 years ago

Original comment by Anay Nayak (Bitbucket: Anay, GitHub: Anay):


Pushed a change to fix the notifications as well.

anaynayak commented 9 years ago

Original comment by Anay Nayak (Bitbucket: Anay, GitHub: Anay):


Oh ok :)

Sadly the current code isn't that good or would have liked to fix the notifications bit as well.

anaynayak commented 9 years ago

Original comment by Brad Buchanan (Bitbucket: bradley_c_buchanan, GitHub: Unknown):


Wow! Thanks for this. I'll be able to verify this evening. I actually forked the project and threw together a hacky version of this for myself, but I'm thrilled to get an official fix ;) Maybe I'll try extending to the notifications and submitting a pull request.

Thank you!

anaynayak commented 9 years ago

Original comment by Anay Nayak (Bitbucket: Anay, GitHub: Anay):


I've pushed a commit 56282fc which introduces this option. Can you please verify if this works for you ?

Currently it only displays the prefix in the app menu. Notifications are still the way they were before.

anaynayak commented 9 years ago

Original comment by Anay Nayak (Bitbucket: Anay, GitHub: Anay):


Cool. I have limited access to my laptop for the next 6-7 days. Should be able to work on this after that.

anaynayak commented 9 years ago

Original comment by Brad Buchanan (Bitbucket: bradley_c_buchanan, GitHub: Unknown):


Yes, that would be great! Just enough to tell them apart.

anaynayak commented 9 years ago

Original comment by Anay Nayak (Bitbucket: Anay, GitHub: Anay):


Fair point. I'm guessing providing an option to define an optional prefix label with each cc.xml feed would let you achieve the expected behavior ?