Bryan Turner

Results 40 comments of Bryan Turner

> This means that createProcessA will return "successful launch!" only to have the process fail some tens or hundreds of milliseconds later due to a DLL failure. And there is...

> So, you would have to poll "GetExitCodeProcess" in start(), for some arbitrary amount of time. So, how long do you wait? 100ms? Initialization could still fail after that. One...

Adding a `default` method on the interface would require making a binary-incompatible change to raise the minimum JDK version for NuProcess from 7 to 8. I don't personally have any...

I'm not sure that I agree that a binary that _exists_ but is corrupted in a way that prevents it from starting (e.g. missing some dynamic libraries) is semantically the...

@avrecko, Thanks for the idea, but I'd prefer to keep it where the process manages `onStart`. The approach I'm leaning toward splits the existing `IEventProcessor.registerProcess(T)` method to extract a new...

@seletskiy, Sure, it's possible. I think you're looking for [`GitRepositoryHookTrigger.REBASE`](https://docs.atlassian.com/bitbucket-server/javadoc/6.8.1/git-api/com/atlassian/bitbucket/scm/git/hook/GitRepositoryHookTrigger.html). The link is to the 6.8.1 Javadocs, but the enum and the `REBASE` constant have existed since Bitbucket Server 5.5.0,...

@kovetskiy, Triggering the hook in `canRebase` is intentional, to allow hook implementors to block rebasing _before we try to perform it_. When possible, it's much better if hooks can reject...

@ddecul, I'm one of the Bitbucket Server developers. I'm curious what your use case is for using the project name. The project's _key_ is available, and is generally the more...

Is there a stack trace available for this error?

That's very strange, because the relevant Bitbucket Server 5.11 code for this is: ```java } catch (Exception e) { log.warn("[{}] Error calling {}.preUpdate ({})", request.getRepository(), hook.getClass().getName(), hookName, e); return hookFailed(hookName,...