Commit Graph

85 Commits

Author SHA1 Message Date
Lars Hvam
18573089e2
Refactor staging + git + online repo (#1769)
* change merge and staging

always push to the top of the currently selected branch

* remove branch and sha1 from stage object #365

* REPO not longer part of GIT_PORCELAIN

SET_OBJECTS moved to private

* and remove fields from constructor
2018-08-06 12:55:13 +02:00
larshp
703b1022f5 separate repo from PULL 2018-08-05 12:17:34 +02:00
larshp
28adb2f790 separate repo from DELETE_TAG 2018-08-05 12:17:34 +02:00
larshp
748a32f57c separate repo from DELETE_BRANCH 2018-08-05 12:17:34 +02:00
larshp
71b7f9d788 separate repo from CREATE_TAG 2018-08-05 12:17:34 +02:00
larshp
d431f2d9d0 separate repo from CREATE_BRANCH 2018-08-05 12:17:34 +02:00
larshp
de76c32fd3 refactor git length encoding #1741
refactor git length encoding #1741

can now handle larger numbers than 30mb, uses interation and less code
2018-08-05 08:08:09 +02:00
Frederik Hudák
adacc174bd Removed endmethod and endclass comments - folder git 2018-08-03 14:49:52 +02:00
Michael Käsemann
3331a73b86 Optimized Git Type Determination
- Optimized the type determination logic in ZCL_ABAPGIT_GIT_PACK=>GET_TYPE by removing the string conversion and processing the relevant bits directly
2018-08-01 13:11:22 +02:00
Lars Hvam
67c76df109
Delete unreferenced types (#1705)
* remove ty_adler32

* remove tt_file_diff
2018-07-28 07:26:14 +02:00
Christian Guenter
bb82f2c8bd Refresh online repo: call BRANCH_LIST just once
Before this commit is applied BRANCH_LIST is called twice while
refreshing an online repo. This leads to two identical HTTP calls.
After this commit is applied BRANCH_LIST is only called once and
therefore only one HTTP request is sent.
2018-07-25 06:43:21 +02:00
Christian Günter
7ac8dc15b6 Remove local SHA1 from online repository #1485, #1509 (#1666)
* Remove local SHA1 from online repository

In this commit we remove the local SHA1 and all its references from
ZCL_ABAPGIT_REPO_ONLINE. SHA1 is also removed from repo persistency.
SHA1 insn't needed anymore. All where-used places were either migrated to
remote_SHA1 or removed.

* reintroduce logic after push
2018-07-22 10:11:09 +02:00
Christian Guenter
6afa45c5ed fix checkout annotated tags 2018-06-07 21:05:11 +02:00
Christian Guenter
319abf5b7b redesign create tag page 2018-06-06 14:20:22 +02:00
Christian Guenter
2c80628de3 implement annotated tags 2018-05-26 22:16:43 +02:00
larshp
b6241b3472 error message, #1363 2018-05-10 07:30:09 +00:00
Lars Hvam
2067910d0a
issue 1232, better error message (#1290) 2018-04-03 16:20:57 +02:00
Lars Hvam
7152b4281a
Refactoring (#1279)
* URL: rename and add validation method

plus validate url in NEW_ONLINE

* optimize select

* move write protection check

* start refactoring gui away from deserializati/pull

* mvoe ZCL_ABAPGIT_SERVICES_ABAPGIT to UI

* delete ZCL_ABAPGIT_SERVICES_BKG

moved to GUI page

* move ZCL_ABAPGIT_SERVICES_GIT to UI

* move ZCL_ABAPGIT_SERVICES_REPO to UI

* fix indentation

* overwrite popup refactored to UI
2018-03-29 14:29:03 +02:00
Lars Hvam
f17985b27e
Add option for "Only local objects", issue 1260 (#1268)
* refactor write protect and ignore subpackages

to local settings structure, this makes it a lot easier to exetend, plus adds structure

* delete method GET_MASTER_LANGUAGE

* add local settings to repo settings page

* add setting for only local objects #1260
2018-03-26 12:23:01 +02:00
Lars Hvam
256a3cd2de
fix for AWS CodeCommit (#1266)
* fix for AWS CodeCommit

* and also fix push
2018-03-25 08:28:51 +02:00
larshp
98c86a2447 minor changes
remove unused variables and method
2018-03-22 14:09:19 +01:00
Fabian Lupa
462c293695 Remove remaing usages of exception text variable 2018-03-17 13:25:09 +01:00
Lars Hvam
6578b39959
ZCL_ABAPGIT_GIT_PACK=>DECODE_TREE performance (#1218)
* refactor tests

* this is around twice as fast

+minor cleanups in class

* add test for off by 1
2018-02-24 10:03:05 +01:00
Lars Hvam
6d603deeb1
git: optimize type_and_length (#1208)
* add unit tests

* optimize type_and_length

this is around 10 times faster
2018-02-17 12:41:20 +01:00
Lars Hvam
68d0571516
More classes to global (#1209)
* lcl_background to global

* lcl_branch_overview to global

* lcl_services_git to global

* lcl_services_repo and lcl_services_db to global

* lcl_services_abapgit to global

* lcl_gui_chunk_lib to global

* lcl_gui_view_tutorial to global

* lif_auth to global

* lcl_auth and lcl_gui_view_repo to global

* lcl_view_repo

* lcl_gui_page_syntax to global

* 2 pages to global

* refactor router, less dynamic references

* background pages to global

* branch overview to global

* settings page to global

* repo settings page to global

* explore page to global

* diff page to global

* debug info to global

* main page to global

* refactor router, no dynamic references

* db pages to global

* router to global

* gui to global

* clean up includes

* move type definnition to interface

to avoid syntax error after abapmerge

* move types to interface

* move types to interface

* rename tyep

* move type

* move types

* move type
2018-02-17 12:40:54 +01:00
Lars Hvam
18ea5d637c
lcl_repo (#1205)
* lcl_repo and more to global

* cleanup includes

* fix indentation
2018-02-15 15:10:13 +01:00
Lars Hvam
3722c26019
lcl_http to global (#1199)
* lcl_http to global

* remove dependency lcl_git_transport -> repo

remove dependency lcl_git_transport -> lcl_repo_online

* lcl_git_transport to global

* indentation + cleanup includes
2018-02-11 14:08:45 +01:00
Lars Hvam
e9ffa8e642
To global (#1192)
More classes to global
2018-02-11 10:07:05 +01:00
larshp
56ff8c0b25 only show encoding progress for each 200 obj 2018-01-21 12:58:28 +00:00
larshp
ad6b99ec95 also return at decode 2018-01-21 07:52:39 +00:00
larshp
a9607f90b2 git pack: add adler32 table as optional input
git pack: add adler32 table as optional input #1165
2018-01-21 07:37:11 +00:00
larshp
a736957f58 refactor progress indicator #1149 2018-01-19 16:25:47 +00:00
Christian Günter
23c909ddaa lcl_tag to global zcl_abapgit_tag 2018-01-15 20:29:06 +01:00
Lars Hvam
97b5a3d143
code inspector fixes (#1131)
* code inspector fixes

* more
2018-01-13 10:49:47 +01:00
Lars Hvam
2ffec7c9f7
lcl_git to global (#1118)
* lcl_git to global

* reduce line length

* fix indentation
2018-01-11 17:50:02 +01:00