This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Enable commit hooks | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | cezariusz <cezariusz> |
Component: | Git | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | CLOSED DUPLICATE | ||
Severity: | normal | CC: | chrizzly, git |
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Windows 8.1 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
cezariusz
2016-02-16 11:54:01 UTC
Commit hooks are very needed, because you can commit from the IDE but it will completely ignore the hooks. If you run the tests for example, before you commit, then the commit should break if you have broken tests. They started 7 Years ago to implement it, but they didn't finished yet: https://github.com/Chris2011/netbeans-releases/blob/25f8981f8bcf1815349a37ca6888e2ec7a3ad820/versioning.util/src/org/netbeans/modules/versioning/hooks/GitHook.java#L54 here is the source where it will be used: https://github.com/Chris2011/netbeans-releases/blob/25f8981f8bcf1815349a37ca6888e2ec7a3ad820/git/src/org/netbeans/modules/git/ui/commit/CommitAction.java#L323 Only to let you know. There are a variety of git extensions such as Gerrit that rely upon hooks. Please consider reprioritizing this effort. *** This bug has been marked as a duplicate of bug 250776 *** I will close it, because it will handled now at the JIRA board: https://issues.apache.org/jira/browse/NETBEANS-775. Please discuss it there for further information. |