Hello everybody,
I'm trying to implement a `branch-source` plugin and I have a question about the support of Change Requests (Pull requests in my case) through the SCM API.
And I checked some implementations, particularly GitLab, Github, BitBucket, Gerrit and Gitea. What I can't wrap my head around is the distinction that is made in the attached part of the documentation between implementing `SCMFileSystem.Builder` and implementing `SCMProbe.stat()`. In which case should I choose the `SCMProbe.stat` over the `SCMFileSystem.Builder` ? The documentation seems to imply that the latter is the "default" way of handling things but I'm not sure I get this correctly. Moreover, after checking the BitBucket plugin for instance, it seems easier to deal with the Probe than it is to deal with the File System Builder.
So questions are:
* When should I choose one over the other ?
* What is the impact of using the Probe instead of the FileSystem. Are there issues with one or the other ?
* Am I missing something ?
Thanks in advance,
Martin
--