| | |
| | | private GroovyScriptEngine gse;
|
| | |
|
| | | private File groovyDir;
|
| | |
|
| | | @Override
|
| | | public void destroy() {
|
| | | super.destroy();
|
| | | }
|
| | |
|
| | | @Override
|
| | | public void init(ServletConfig config) throws ServletException {
|
| | |
| | | public ReceivePack create(HttpServletRequest req, Repository db)
|
| | | throws ServiceNotEnabledException, ServiceNotAuthorizedException {
|
| | | // determine repository name from request
|
| | | org.eclipse.jgit.http.server.glue.WrappedRequest wrreq = (org.eclipse.jgit.http.server.glue.WrappedRequest) req;
|
| | | |
| | | String repositoryName = req.getPathInfo().substring(1);
|
| | | repositoryName = GitFilter.getRepositoryName(repositoryName);
|
| | |
|