Commit Graph

26 Commits

Author SHA1 Message Date
Laura Gorzitze
f641c1ef08 Assisted Injection for commands
Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Co-authored-by: Laura Gorzitze<laura.gorzitze@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Laura Gorzitze<laura.gorzitze@cloudogu.com>
2023-11-02 12:41:54 +01:00
Sebastian Sdorra
b339dd068f Repository specific mercurial encoding (#1583)
* Use HgRepositoryConfig instead of HgConfig for hg commands

* Rename HgConfig to HgGlobalConfig

* Resolve encoding from repository specific configuration

* Add ui for repository specific configuration

* Validate encoding on dto
2021-03-15 08:40:05 +01:00
Sebastian Sdorra
b61d817c9c Implement mercurial cgi protocol as extension (#1458)
* Handle mercurial cgi protocol with an hg extension
* Refactor CGI executor to allow command arguments
* Unify python scripts and hg extensions
* Implement new auto configuration
* Use HKEY_LOCAL_MACHINE instead of
  HKEY_CURRENT_USER registry keys to find mercurial
  installations on windows
2020-12-17 10:07:20 +01:00
Sebastian Sdorra
d518af4ccc Refactor nearly the whole scm-hg-plugin for new hook implementation 2020-11-10 10:03:53 +01:00
René Pfeuffer
8bd17a03d7 Use better names
The name 'workdir' is now only used for a concrete directory, where a
clone can be created in. The new name 'working copy' is used for a
concrete instance of such a directory, where a clone has been created in
for a repository stored in SCM-Manager. Such a working copy can be
cached and reused for further changes.
2020-06-02 21:31:43 +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
b65e84249d Use clone and push to create branches
Generalize workdir creation for git and hg and create branches in
clones instead of the scm repository, so that hooks will be fired
correctly once the changes are pushed back.

Missing:

- Evaluation of the git response from the push command
- configuration of the hg environment and the authentication, so that
  the scmhooks.py script can be triggeret correctly and can callback
  the scm manager
2019-03-27 10:08:20 +01:00
René Pfeuffer
88506b0633 Remove unnecessary annotations 2018-09-18 08:58:03 +02:00
René Pfeuffer
7de9f69061 Add servlet decorators for hg and svn 2018-09-14 09:36:56 +02:00
René Pfeuffer
5b5bfd342a Add POC protocol servlet with delegate to svn and hg 2018-09-06 17:39:47 +02:00
Johannes Schnatterer
45822c44cb Deliver HgConfigPackages no longer as embedded.
They don't have an own identity in terms of REST and its much simpler
to return a simple list instead of an _embedded list.
Also gets rid of one HgConfigPackageToDtoMapper.
2018-08-07 16:47:03 +02:00
Johannes Schnatterer
b65a8c6b8d Implements Hg Config Sub Resources 2018-08-02 18:36:28 +02:00
Johannes Schnatterer
eee325e185 HgPlugin Config: Adds v2 endpoint 2018-08-02 10:59:34 +02:00
Sebastian Sdorra
30b49490a7 make use of new WebElement and Priority annotation 2015-02-01 19:52:53 +01:00
Sebastian Sdorra
18c5c3ec97 merge with branch 1.x 2014-06-04 15:51:19 +02:00
Sebastian Sdorra
72978a05af remove unused imports 2014-05-08 21:27:15 +02:00
Sebastian Sdorra
07363cbe82 move extension annotation from sonia.scm.plugin.ext to sonia.scm.plugin 2014-03-29 09:51:17 +01:00
Sebastian Sdorra
b131d4b804 improve error handling for failed authentication and not enough privileges 2014-03-15 16:12:14 +01:00
Sebastian Sdorra
2b91053909 fix out of scope exception on access hgcontext 2013-09-27 17:59:53 +02:00
Sebastian Sdorra
ac5d3d2848 use proxy settings for hg package download 2012-04-05 16:50:41 +02:00
Sebastian Sdorra
8975eccd88 improve mercurial command handling 2011-10-08 15:31:10 +02:00
Sebastian Sdorra
b93230c8a1 use a servlet instead of a restful resource 2011-08-07 16:35:51 +02:00
Sebastian Sdorra
20b62974f4 improve creation of mercurial hook script 2011-07-24 13:36:19 +02:00
Sebastian Sdorra
6b678b502a added a challenge for mercurial hooks 2011-07-22 13:08:12 +02:00
Sebastian Sdorra
5f1c5ded4e write mercurial hook module on first request 2011-07-21 20:21:08 +02:00
Sebastian Sdorra
fa1d433a36 move core plugins back to main repository, because of a broken release management 2011-07-01 18:43:26 +02:00