Distributed, offline, code review tool
Distributed, offline, code review tool
Author
Discussion

768

Original Poster:

20,961 posts

128 months

Friday 17th November 2017
quotequote all
I'm looking for a tool which would allow me to document (shell, java, javascript) code reviews. One off reviews of a snapshot of a moderately large project rather than piecemeal reviews of commits.

Also needs to:
  • Work offline
  • Allow annotating the code separately from the source
  • Work on multiple files within a project directory
  • Not require a license
  • Allow me to share the output with others, ideally without requiring them to need to install software
  • Look vaguely modern
Something like this would be sufficient if it coped with a tree of files and the comments were pulled from somewhere other than inline comments.

Any recommendations?

4x4Tyke

6,506 posts

164 months

Friday 17th November 2017
quotequote all
It depends on what you mean by offline and it really needs to be reconsidered. The following represents good practice.

Distributed really means an online code repository. Github/Gitlab/BitBucket will give you source code management, merge tracking with code reviews on every feature branch or a blob. A modern CI build pipeline such as Jenkins, with unit tests and static code analysis can then support code reviews on a whole code base.

768

Original Poster:

20,961 posts

128 months

Friday 17th November 2017
quotequote all
4x4Tyke said:
Distributed really means an online code repository.
Commonly used with one but it absolutely doesn't!

Sharing this code with a third party is a no go.

768

Original Poster:

20,961 posts

128 months

Friday 17th November 2017
quotequote all
anonymous said:
[redacted]
I've had a look at it, but they'll have to install it too, it feels a bit clunky and you have to setup user accounts, point it at a repository, you can't just give it a folder.

It's overkill really, which has some advantages but I can sooner see me writing something more tailored to what I want.

768

Original Poster:

20,961 posts

128 months

Saturday 18th November 2017
quotequote all
Yes, this particular artefact will be one of several (summary report, automated static analysis output, test results, etc) and is just going to be that sort of pointer. It's not their primary code review mechanism, it's an end-of-phase external validation.

Annotating the code, being able to use a text editor of my choice and source control appeals to me, but I wouldn't want comments ever mixed up with or left in the javadoc and it might be a bit buried for any non-technical management to see the output of my work.

I'm leaning towards doing something along those lines that would prevent compilation, e.g. lines starting with a # in Java (obviously won't get me far in bash, but you get the idea). Then it's also a relatively simple task to produce some static HTML with the annotations alongside the code.

SystemParanoia

14,343 posts

230 months

Saturday 18th November 2017
quotequote all
have you considered https://gogs.io/