Hacker News new | ask | show | jobs
by sdesol 4432 days ago
For the product that I'm working on, we are trying to take code reviews to another level by making it very easy for you to implement your own code review logic. We have what we call Smart Attributes, which are like metadata for your commits, diffs, etc., but unlike traditional metadata, they can be programmed in JavaScript to react to what they are attached to. In the following screenshot, you'll find an example of how you can use Smart Attributes to make code reviews a little more intelligent:

http://screenshots.gitsense.com/intelligent-code-reviews.htm...

There is a Smart Attribute that has been programmed to track who has approved/rejected diffs at the file and directory level. You can find the source for this attribute here:

https://github.com/gitsense/smart-attributes-for-code-review...

There is an attribute that has been programmed to run Google's style guide lint tool against C++ files in the code review. You can find the source for this attribute here:

https://github.com/gitsense/smart-attributes-for-code-review...

And there is an attribute has been programmed to generate an activity feed. You can find the source for this attribute here:

https://github.com/gitsense/smart-attributes-for-code-review...

With Smart Attributes, you can implement whatever code review logic you want. And if you've created a pretty useful one, you can share it with others or sell it, if you think somebody will pay for it.