Commit Graph

58 Commits (b42a062dd36f44aabfbfa53e2d3e41e58460264f)

Author SHA1 Message Date
Roman Iuvshin 7850cc2908 [maven-release-plugin] prepare for next development iteration 2016-12-07 12:34:30 +00:00
Roman Iuvshin 1c15a44844 [maven-release-plugin] prepare release 5.0.0-M8 2016-12-07 12:34:25 +00:00
Igor Vinokur 88f788b28d CHE-2870 Fix get git config property value (#3077)
Fix get() method of JGitConfigImpl class.
Previous behavior:
If the same property is present in the global git config file, and in the git repository config file, execution of gitConnection.getConfig().get(<property name>) returnes property from global git config file.
2016-11-18 15:16:32 +02:00
Roman Iuvshin 52f84d9092 [maven-release-plugin] prepare for next development iteration 2016-11-10 11:37:24 +00:00
Roman Iuvshin 315056731e [maven-release-plugin] prepare release 5.0.0-M7 2016-11-10 11:37:20 +00:00
Igor Vinokur 1bbb902e19 CHE-1297: Git service refactoring (#1515)
The goal of this refactoring is to set correct type of HTTP methods in GitService. Now almost all HTTP methods in this service are POST methods, but there are methods that are used to get some content, so they should be marked as GET method. Also I had to change such methods to receive query parameters instead of body.
Implemented parameter objects to use them instead of using DTO as parameter in GitConnection methods.
2016-11-03 16:32:50 +02:00
Aleksandr Andrienko cd0423c3d0 CHE-2888: Fix pull requests-build due to git tests. (#2932)
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
2016-10-31 17:15:04 +02:00
ShimonBenYair d55fbe961a Add support for Git Log API. (#2046)
Add support for skip and maxCount when calling the LOG API.
Add support to get the log for a specific folder or file in the repository.
For every commit that is returned when calling the LOG API, the following data was added:
The author of the commit
A list of branch names that the commit is related to.
A list of file names that were changed/deleted/added in the commit.
A list of commit parents (to enable for example clients to paint a graph)

Change-Id: I2cc486cc49787c681b031067728b7a33f8fb11e7
Signed-off-by: Shimon Ben.Yair <shimon.ben.yair@sap.com>
2016-10-27 11:13:44 +03:00
Roman Iuvshin 825af31a5d [maven-release-plugin] prepare for next development iteration 2016-10-26 09:37:49 +00:00
Roman Iuvshin 7da1d4a910 [maven-release-plugin] prepare release 5.0.0-M6 2016-10-26 09:37:45 +00:00
Roman Iuvshin b986091e4a [maven-release-plugin] prepare for next development iteration 2016-10-07 10:22:41 +00:00
Roman Iuvshin 8f799b4c28 [maven-release-plugin] prepare release 5.0.0-M5 2016-10-07 10:22:37 +00:00
Florent BENOIT 7d6739329d Expose getCurrentBranch() method on git connection + rework gitvalueProviderFactory (#2569)
* expose getCurrentBranch() method on git connection
Also change the git value provider factory to use this method instead of using status command as status is requiring lot of I/O

Change-Id: If88da1e1b63a252f0226f1a586f3a67d7295e6c3
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-09-29 15:18:45 +02:00
Igor Vinokur d8c70d13ba Fix JGitConnection test (#2651) 2016-09-29 13:18:49 +03:00
Igor Vinokur 1982d2e60c CHE-2045: Fix recursive clone by ssh (#2155) 2016-09-29 12:42:27 +03:00
Roman Iuvshin 33944c6ec1 set M5 version 2016-09-27 16:08:19 +03:00
Roman Iuvshin 152be21b4f [maven-release-plugin] prepare for next development iteration 2016-09-26 14:19:41 +00:00
Roman Iuvshin 89ab012035 [maven-release-plugin] prepare release 5.0.0-M3 2016-09-26 14:19:37 +00:00
i053322 4595c9d1ce Add support of BasicAuthentication Authentication to Git (#1940)
Signed-off-by: i053322 <yossi.balan@sap.com>
2016-09-22 18:33:15 +03:00
Roman Iuvshin 900ccbb807 set M3 version 2016-09-20 17:31:42 +03:00
Roman Iuvshin 3c1df2e4ad [maven-release-plugin] prepare for next development iteration 2016-09-14 15:50:20 +00:00
Roman Iuvshin b647b5eef7 [maven-release-plugin] prepare release 5.0.0-M1 2016-09-14 15:50:16 +00:00
Dmitry Kuleshov 5d267fe305 VFS file watcher based use cases implementations (#2339)
* che#1910: added several new user workflows implementations for VFS

Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
2016-09-07 11:22:22 +03:00
Roman Iuvshin 8df0560ad3 set new version 2016-09-07 10:38:51 +03:00
Roman Iuvshin ca14fc7470 [maven-release-plugin] prepare for next development iteration 2016-08-29 15:12:16 +00:00
Roman Iuvshin 36311ea4c8 [maven-release-plugin] prepare release 4.7.0 2016-08-29 15:12:12 +00:00
Roman Iuvshin 813b36851c [maven-release-plugin] prepare for next development iteration 2016-08-16 08:28:05 +00:00
Roman Iuvshin ef38dd5fb2 [maven-release-plugin] prepare release 4.7.0-RC1 2016-08-16 08:28:02 +00:00
Igor Vinokur a59f3f498e CHE-476 Add support for git urls with credentials 2016-08-10 11:20:55 +03:00
i053322 3a846378f6 Add support for checkout exception
add a mapper for checkout git exceptions
add new messages : GitConlict , GitInvalidRefName , GitRefAlreadyExist , GitRefNotFound

Signed-off-by: i053322 <yossi.balan@sap.com>
2016-08-09 10:28:58 +03:00
i053322 6bcc1381cb generateExceptionMessage for git actions
Signed-off-by: i053322 <yossi.balan@sap.com>
2016-08-09 10:28:58 +03:00
Roman Iuvshin 99b6beb356 [maven-release-plugin] prepare for next development iteration 2016-08-01 10:32:16 +00:00
Roman Iuvshin 3a0fd2a00c [maven-release-plugin] prepare release 4.6.0 2016-08-01 10:32:13 +00:00
Max Shaposhnik 19083335ae CHE-1935; add custom User-Agent header value for JGit; (#1936) 2016-07-26 14:34:01 +03:00
Max Shaposhnik 4fdecd8d97 CHE-1893; fix authorization flow during clone from private repo (#1905) 2016-07-22 15:25:20 +03:00
Max Shaposhnik fe0cb3bd0f CHE-1248; remove workspace information from EnvironmentContext (#1658) 2016-07-20 17:30:10 +03:00
Roman Iuvshin f9369146c1 [maven-release-plugin] prepare for next development iteration 2016-07-18 13:58:51 +00:00
Roman Iuvshin b6795f1a9a [maven-release-plugin] prepare release 4.5.0 2016-07-18 13:58:48 +00:00
Dmytro Nochevnov d11c12ffe2 fixup! fixup! CODENVY-739: pass proxy credentials to jgit
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2016-07-13 18:31:47 +03:00
Dmytro Nochevnov 5eedc0ac48 fixup! CODENVY-739: pass proxy credentials to jgit
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2016-07-13 17:16:40 +03:00
Dmytro Nochevnov 44ad9e2ddd CODENVY-739: pass proxy credentials to jgit
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2016-07-13 17:16:40 +03:00
Igor Vinokur 28c4f367ee CHE-117: Fix viewing some git errors on client 2016-07-06 10:45:41 +03:00
Igor Vinokur bd9e581b7d CHE-1408:Add check for amend before throwing error
When we perform commit without staged changes we will get an error.
If it is needed to change the message of last commit we should allow
to do it, even if there are no staged changes.
2016-07-05 11:29:13 +03:00
Igor Vinokur 539bd823e7 CHE-1403: Fix clone with http url in JGit implementation
JGit does not support HTTP 301 redirects yet, it throws exception when
performing commands with remote using http url instead https.
Native git can do it.
2016-07-04 09:45:00 +03:00
Igor Vinokur ffef620a82 CHE-1113: Add ability to clone project with submodules 2016-06-29 21:17:03 +03:00
Igor Vinokur 077f1a2056 CHE-1159: Add to Jgit implementation ability to view cloning process 2016-06-29 17:04:02 +03:00
Igor Vinokur 43cd95fb60 CHE-1349: Throw exception if nothing to commit with Jgit implementation 2016-06-29 15:58:31 +03:00
Igor Vinokur e3b410ef9a CHE-1350: Fix empty message after successfull push with JGit
Also chenge "Everything up-to-date" message like in Native git
2016-06-29 15:39:06 +03:00
Igor Vinokur d5b7d31570 CHE-1358: Normalize push conflict error message in JGit implementation 2016-06-29 15:16:52 +03:00
Roman Iuvshin 6a23f97700 [maven-release-plugin] prepare for next development iteration 2016-06-28 16:00:40 +00:00