gitcode-collaboratorgithub-codereviews

Code Collaborator file subscription for whole git repo


I'm trying to figure out what the right file pattern is to subscribe to any Code Collaborator reviews on a specific git repository.

So let's say I'm using the following git repo:

ssh://username@host:port/path/to/repo/example.git

What is the file pattern I have to add to my Code Collaborator preferences?

I want to subscribe any code review within the repo submitted by any other user. I've tried all kinds of patterns, but nothing seems to be working for me.

More on file patterns can be found in the Code Collaborator manual here (there frankly isn't much information there, but that's all I really found).


Solution

  • Unfortunately, there's not currently a way to subscribe to code reviews for a particular Git repository.

    While Code Collaborator does store information about the repository that changes have been uploaded from, that information is separate from the file path, so a file pattern won't be able to match on that information.

    I've added a feature request for that in our user feedback forum here: http://feedback.codecollab.com/forums/4652-code-collaborator-features/suggestions/3138057-support-subscribing-to-reviews-from-particular-scm

    In the meantime, if you're only working with a single git repository, then you can subscribe to all files with a pattern of "**" (without the quotes), which will give equivalent behavior.

    Or, if you're working with different projects in different repositories, you could try to search for file paths unique to the project hosted in your Git repository. For example:

    src/java/main/com/example/yourproject/**