Commit Graph

26 Commits

Author SHA1 Message Date
René Pfeuffer
072d8f15c9 Detect merges where branch has been deleted, too 2020-08-06 07:58:22 +02:00
René Pfeuffer
6bfefb3348 Introduce merge detection for receive hooks
Here we add a merge detection provider for pre and post receive hooks
and implement this new provider for git.
2020-08-05 17:57:50 +02:00
Florian Scholdei
f1b34eb502 Changeover to MIT license (#1066)
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-03-23 15:35:58 +01:00
René Pfeuffer
00ab764dab Store repository id in native config file
Hooks can read this repository type dependant config file and handle
the changes for the correct repository id
2018-11-26 17:22:17 +01:00
René Pfeuffer
c8fc673ce0 Remove hooks for internal repository id 2018-11-23 16:12:35 +01:00
René Pfeuffer
e8558e07ec Use repository dao to find repository for given directory in hooks 2018-11-23 10:13:47 +01:00
René Pfeuffer
dc8ecd5689 Adjust to repository storage with id 2018-07-10 15:31:18 +02:00
Sebastian Sdorra
a5bc2d2087 remove unused type 2013-07-27 15:44:30 +02:00
Sebastian Sdorra
6caa4e710b implement new hook api for git repositories 2013-07-21 17:35:44 +02:00
Sebastian Sdorra
e66638f1f0 fix name resolution for git repositories with working copy 2013-07-04 15:51:23 +02:00
Sebastian Sdorra
9aa3a05cab fix wrong handling of git file hooks 2013-02-27 11:49:49 +01:00
Sebastian Sdorra
1afbbeac15 fix abort during pre receive hook 2012-10-15 13:54:00 +02:00
Sebastian Sdorra
c6f24063df improve git hook handling 2012-09-19 19:11:06 +02:00
Sebastian Sdorra
fd84153a60 do not fire hook event, if no new id is specified 2012-09-13 19:01:39 +02:00
Sebastian Sdorra
2eb6290545 improve trace logging for git repository hooks 2012-09-13 18:56:45 +02:00
Sebastian Sdorra
7baede3eb1 improve trace logging for git repository hooks 2012-09-13 17:00:44 +02:00
Sebastian Sdorra
81f90209f3 indent and logging 2012-09-13 16:07:23 +02:00
Sebastian Sdorra
33a6645ce3 retrieve branch informations from receive command 2012-08-29 11:08:04 +02:00
Sebastian Sdorra
bd7397763d use repository directory as working directory for git repository hooks 2012-02-23 20:55:36 +01:00
Sebastian Sdorra
666b8ace74 indent 2012-01-04 17:07:34 +01:00
Sebastian Sdorra
029dc643e5 fix git hooks for repository structures 2012-01-04 17:04:14 +01:00
Sebastian Sdorra
a1d031e587 fix potential bugs, detected by findbugs and pmd 2011-12-24 15:45:03 +01:00
Sebastian Sdorra
9259641347 fix git hook exception handling 2011-10-07 15:58:42 +02:00
Sebastian Sdorra
667b489036 implement pre receive hook for git repositories 2011-09-27 21:19:40 +02:00
Sebastian Sdorra
05dc2c64bb fix git pre receive file hook 2011-09-27 20:09:54 +02:00
Sebastian Sdorra
26fd9f6e6c added support for native git post-receive hook 2011-08-03 09:28:26 +02:00