Commit Graph

14 Commits

Author SHA1 Message Date
Lars Hvam
9c41a2b7d8
remove text pragmas and pseudo comments (#3827)
* remove text pragmas and pseudo comments

* fix whitespace

* fix carriage return

* test

* test

* Update zcl_abapgit_repo.clas.abap
2020-09-03 09:13:47 +02:00
Lars Hvam
9e56c03117
propagate exception (#3431)
closes https://github.com/larshp/abapGit/issues/3430
2020-05-27 18:35:48 +02:00
Alexander Tsybulsky
64a0ec086d fix #2176, table line type mismatch 2018-12-02 12:13:50 +01:00
Eduardo Ferrari Copat
d4a09c153c Package names validations (#2163)
* Package names validations

validate if package has more than 30 characters name and if root packages does not contain a package with the same name as his.

* Validate grandchildren package names
2018-11-30 07:10:32 +01:00
Lars Hvam
06616580eb
Naming conventions (#2059)
* fix naming conventions

* naming conventions
2018-11-07 12:50:20 +01:00
larshp
788a7fedb9 naming conventions #2053 2018-11-07 09:00:12 +01:00
Frederik Hudák
1bb195b344 Removed the rest of endmethod/endclass comments 2018-10-18 07:27:27 +02:00
Michael Käsemann
b3679f0868 Added Buffering to ZCL_ABAPGIT_FOLDER_LOGIC (#1723)
* Added Buffering to ZCL_ABAPGIT_FOLDER_LOGIC

- Converted ZCL_ABAPGIT_FOLDER_LOGIC=>PACKAGE_TO_PATH and ZCL_ABAPGIT_FOLDER_LOGIC=>PATH_TO_PACKAGE to instance methods, so they can work with buffered data when constructiing path information. This gives a performance advantage in repos with a depp tree structure and multiple leaf packages
- Adapted all calling code to use an instance of ZCL_ABAPGIT_FOLDER_LOGIC instead of the previously available static methods
- Where applicaple PACKAGE_TO_PATH and PATH_TO_PACKAGE were called in an instance of ZCL_ABAPGIT_FOLDER_LOGIC, which was instanced outside of a processing loop and thus profited from the introduced buffering

* Fixed errors

* Removed obsolete coding artifacts

Removed an obsolete parameter, that accidentally got merged into the code when building the pull request

* Forwarded FOLDER_LOGIC instance to recursed calls

Forwarded ZCL_ABAPGIT_FOLDER_LOGIC instance to subsequent BUILD calls to make use of buffering, until the optimizations in #1725 are in place.
2018-07-31 12:19:29 +02:00
larshp
fa94fa8ea1 unexpected folder structure #1425
treat objects as non existing when outside the starting folder
2018-06-19 08:16:55 +02:00
Christian Guenter
36f257f0bb Dependency injection for ZCL_ABAPGIT_SAP_PACKAGE 2018-06-18 15:37:16 +02:00
Christian Guenter
1a15300927 change assert to exception for invalid folder log. 2018-05-13 13:01:58 +02:00
Gregor Wolf
dcef8b1ad5 Reduced line length 2018-04-30 17:15:54 +02:00
Gregor Wolf
690527a771 Add you might switch to FULL folder logic to error message 2018-04-30 17:09:59 +02:00
larshp
fd82e770bd lcl_folder_logic to global
lcl_folder_logic to global
2018-01-14 13:53:08 +00:00