Commit Graph

1149 Commits

Author SHA1 Message Date
Alexander Tsybulsky
018e56cfcf
USE_LXE settings and serialization of selected languages (in old format) (#6168)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-03-30 15:17:18 +02:00
Lars Hvam
8ae35648e4
new user exit: change allowed object types (#6173) 2023-03-28 10:02:10 +02:00
Marc Bernard
7b5ff0d7c4
SICF: Add missing error pages (#6145)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-03-26 09:31:57 +02:00
Lars Hvam
2114871c10
AQQU support (#6165)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-03-24 16:23:33 +01:00
Lars Hvam
2df96f9143
AQSG support (#6161) 2023-03-23 13:07:42 +01:00
EkinTiras
6187d12812
GSMP Object Handler (#6159)
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2023-03-21 16:00:11 +01:00
Marc Bernard
f452b8784a
Fix comment in zcl_abapgit_oo_class (#6158) 2023-03-19 12:04:20 +01:00
Lars Hvam
a379be196a
AQBG support - ABAP Query: User group (#6155)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-03-17 14:18:29 +01:00
Marc Bernard
b6beda19f1
Show performance metrics for long-running ops (#6148)
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-03-16 16:53:20 +01:00
Marc Bernard
dcad4d3dc4
Fix unit test in serializer class (#6147) 2023-03-16 12:38:01 +01:00
Alexander Tsybulsky
69515e5f55
LXE: more objects (#6144) 2023-03-13 17:36:00 +01:00
Marc Bernard
c8ef89d5fd
DEVC: Fix error handling (#6141) 2023-03-10 09:40:16 +01:00
Alexander Tsybulsky
c8636912f1
File status refactoring, part 2 (#6124)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-03-06 19:45:20 +01:00
Marc Bernard
a2278c94da
CLAS: Fix variable name (#6127) 2023-03-03 20:26:31 +01:00
Marc Bernard
6cbc78dc61
Fix ITAB_DUPLICATE_KEY dump during deserialize (#6121) 2023-03-02 21:23:16 +01:00
Alexander Tsybulsky
6fad60afb5
File status refactoring, part 1 (#6114)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-03-02 17:55:22 +01:00
Michael Schäfer
f1d01e394f
assign authorization group during report creation (#6117) 2023-03-02 12:21:56 +01:00
Alexander Tsybulsky
e729c09901
Better pull dialog, Screen status (#6093)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Christian Günter <christianguenter@googlemail.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-03-01 20:17:36 +01:00
Lars Hvam
4a68f896b1
json handler: serialize() + deserialize() optional inputs (#6110) 2023-03-01 14:50:59 +01:00
Lars Hvam
b6470787ff
move validate_name() to interface (#6106) 2023-02-28 17:53:01 +01:00
Marc Bernard
3a51dd23b5
CLAS: Fix error when changing redefinitions (#6102)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-02-27 09:44:02 +01:00
Lars Hvam
6e0f600dfd
cleanup: remove some unused variables (#6099) 2023-02-26 17:17:35 +01:00
Lars Hvam
ed1e005463
use TADIR instead of SOBJ_NAME (#6084)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-02-25 10:34:19 +01:00
Lars Hvam
cbfdd5355b
LXE: move ty_lxe_i18n to private section (#6085)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-02-25 10:23:02 +01:00
Christian Günter
115ce57561
CUS0/CUS0 add SORT to avoid diffs (#6088) 2023-02-25 10:18:16 +01:00
Lars Hvam
35f9a05e8c
Refactor: package, add read_responsible() (#6083) 2023-02-24 15:58:25 +01:00
Lars Hvam
17ba24e72a
refactor TDEVCT SELECT to SAP package class (#6081) 2023-02-23 07:38:56 +01:00
Marc Bernard
1ca9a40d67
SHIx: Fix application component hierarchy issues (#6065) 2023-02-10 18:55:21 +01:00
Marc Bernard
1ca12015eb
Refactor: replace newline/crlf with built-in (#6057) 2023-02-09 20:03:07 +01:00
Marc Bernard
f0fa964c25
TABL: Fix activation of secondary indexes (#6055) 2023-02-09 09:27:40 +01:00
Marc Bernard
5351a4b4e8
CLAS: Fix recording of changes in transport (#6047) 2023-02-08 12:45:49 +01:00
Katharina Wurz
d63407db3e
Enable inactive deserialization for DDIC objects (#6045) 2023-02-07 13:59:05 +01:00
Marc Bernard
2e7c2df8eb
Update object descriptions - Part 4 (#6043) 2023-02-06 18:48:47 +01:00
Marc Bernard
a3a5032c41
Update object descriptions - Part 3 (#6042) 2023-02-06 15:38:22 +01:00
Lars Hvam
716111370a
move SOTR defintions to SOTR class (#6033)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-02-03 16:25:27 +01:00
Lars Hvam
773f2f7749
refactor, extract git definitions to git (#6029)
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2023-02-03 11:46:00 +01:00
Lars Hvam
c7f08adde7
fix diffs after description updates (#6027) 2023-02-02 09:53:40 +01:00
Marc Bernard
24e79943f5
Update object descriptions - Part 2 (#6019) 2023-02-02 09:03:51 +01:00
Marc Bernard
71f16d08be
SFBF, SFBS, SFSW: Major bug fixes (#6020) 2023-02-01 10:29:20 +01:00
Lars Hvam
20785fef78
delete, fix dump (#6011) 2023-01-25 20:41:17 +01:00
Marc Bernard
6485ec50c1
Refactor: MESSAGE ... INTO (#6008) 2023-01-25 09:55:41 +01:00
Marc Bernard
95f7844065
TABL,VIEW: Simplify deserialize (#5989) 2023-01-24 10:16:15 +01:00
Marc Bernard
e1c3fcebdb
TOBJ: Improve error messages (#6007) 2023-01-23 11:28:25 +01:00
Marc Bernard
0dfc5eb80c
PDTS: Fix recording in transport (#6000) 2023-01-18 20:39:50 +01:00
Marc Bernard
0adcb13637
SAPC: Fix uninstall errors (#6001) 2023-01-18 19:58:50 +01:00
Marc Bernard
beea59eda5
SHLP: Avoid double activation (#5999) 2023-01-17 11:25:02 +01:00
Marc Bernard
1a5199a5e3
DOMA: Fix domains with custom conversion exit (#5998) 2023-01-17 11:18:35 +01:00
Marc Bernard
6f4f336437
XSLT: Avoid double activation (#5995)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-01-16 17:53:47 +01:00
Uenal Akkaya
f6a1a09b5d
DRUL: Fix compatibility with lower releases (#5991)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-01-16 13:13:44 +01:00
Marc Bernard
db70f3d735
Pull log: Include object counts (#5982)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-01-16 12:59:10 +01:00
Albert Mink
7c46e659e2
Update AFF to new AJSON functionality (#5986)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-01-12 15:14:29 +01:00
Marc Bernard
47dbee1d48
CLAS,INTF: Removing STATE field in XML (#5981)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-01-12 11:36:55 +01:00
Katharina Wurz
c2b8b597aa
Allow Object Types with multiple files in AFF (#5979)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-01-12 10:57:06 +01:00
Marc Bernard
82250202f4
SMIM: Record deletion of objects in transport (#5975) 2023-01-08 22:01:51 +01:00
Marc Bernard
25bbbf89cd
Refactor: Remove delete_tadir flag (#5949)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-01-06 15:56:12 +01:00
Marc Bernard
e716fd6437
Fix "duplicate file error" during pull (#5968) 2023-01-03 15:00:56 +01:00
github-actions[bot]
95389c532b
ajson, Automatic Update (#5966) 2023-01-03 14:47:44 +01:00
Marc Bernard
68ff24c9fc
Prevent pull in case of duplicate files (#5952) 2022-12-26 10:12:50 +01:00
Christian Günter
bd007e2447
add guard clause to prevent long runtimes (#5954)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-12-22 10:46:20 -05:00
Uenal Akkaya
d0167ff97d
DRUL: Use CL_BLUE_SOURCE_OBJECT_DATA2 instead of CL_BLUE_SOURCE_OBJECT_DATA (#5950) 2022-12-16 09:44:33 -05:00
Marc Bernard
323dfbd235
Reorg: Package hierarchy (#5946)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-12-15 12:07:02 -05:00
Marc Bernard
8a0c93e92f
ENHO: Fix error deserializing enhancements (#5943) 2022-12-14 21:18:17 -05:00
Marc Bernard
526162ed6e
PRAG: Fix locking and transport entries (#5939) 2022-12-14 13:10:43 -05:00
Marc Bernard
1b845b4971
AFF: Add NONT and RONT to registry (#5934) 2022-12-14 09:56:05 -05:00
Marc Bernard
273c646940
DOCV,SAMC,SAPC,STYL: Add missing transport entry (#5935) 2022-12-13 18:02:47 -05:00
Christian Günter
97f357f107
Set transport request in local repo settings or user exit (#5916) 2022-12-08 08:45:16 -05:00
Michael Schneider
9d0914675f
Remove static references to cl_oo_source (#5897)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-12-01 16:33:05 -05:00
Michael Schneider
21ed40e4d8
Remove references to cx_oo_clif_scan_error (#5905)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-12-01 12:13:44 -05:00
Marc Bernard
258e6488b4
Fix file to object mapping (#5902)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-12-01 09:03:47 +01:00
Marc Bernard
b958377279
TOBJ: Deletion of logical transport objects (#5873) 2022-11-17 10:19:26 -05:00
Vanessa
5c2e41c488
AFF object NONT (#5866) 2022-11-12 10:47:56 -05:00
Vanessa
bf8c3590a8
AFF object RONT (#5862)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-11-09 11:11:45 -05:00
Marc Bernard
754fe5b5a8
DOCV: Fix dump for namespaced documents (#5855)
* DOCV: Fix dump for namespaced documents

Fix handing of documents in classes UO and UP which use a different namespace logic than DT, IN, MO. 

Regression #5756

Closes #5854

* Doc classes
2022-11-04 12:34:43 -04:00
Marc Bernard
f8ac419f29
Fix "Unexpected package naming" error (#5805)
* Fix "Unexpected package naming" error

Previously, when an object existed in the repo and locally but was *not* included in the package hierarchy of the repository, you would get the following error (when opening the repo):

...

With this PR, log messages will list all objects that are not included in the package hierarchy. When pulling, the popup will show these objects and ask for confirmation to overwrite. I added an icon and description to the "package overwrite" popup similar to the "object selection" popup.

Closes #5728

* Update unit tests

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-11-04 08:56:31 -04:00
Marc Bernard
b03a70228f
Improve error message for where-used list update (#5849)
* Improve error message for where-used list update

* Update zcl_abapgit_objects_activation.clas.abap
2022-11-02 09:35:57 -04:00
Marc Bernard
93c8fcfb4f
DOCV: Add object to tadir and transports (#5845)
Fix errors found in CI test
2022-11-01 14:10:06 -04:00
Marc Bernard
8e7c79261d
CLAS,INTF: Catch runtime error during update (#5841)
Prevent dump when deserializing classes and interfaces in case a sub component was changed in a way that standard SAP code does not handle.

References: 
- message `OO_SOURCE_BASED 019`
- SAP Note [2166231](https://launchpad.support.sap.com/#/notes/2166231)
- https://github.com/abapGit/abapGit/issues/5836

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-10-31 08:49:46 -04:00
Katharina Wurz
e4aeff4f04
Small refactoring of zcl_abapgit_aff_registry (#5835) 2022-10-23 14:59:05 +02:00
Marc Bernard
34c07b6f98
Avoid overwriting built-in functions (#5832) 2022-10-20 16:45:31 +02:00
Marc Bernard
24b1bcffa7
Remove cases of modifying syst fields (#5831)
Remove cases of modifying `syst` structure
2022-10-20 16:43:03 +02:00
Lars Hvam
e539fc30e2
update AFF types to latest (#5824) 2022-10-17 16:05:40 +02:00
Lars Hvam
9af402ff9f
INTF cleanup: delete unused methods (#5823) 2022-10-17 15:48:01 +02:00
Lars Hvam
cb66e18738
housekeeping, delete some unused variables (#5825) 2022-10-17 15:25:00 +02:00
Lars Hvam
188c9ed903
dont use I18_A_LANGISO2, its not released (#5822)
* dont use I18_A_LANGISO2, its not released

* use LAISO

* use LAISO
2022-10-14 15:17:44 -04:00
Albert Mink
22214428d7
AFF: More UT for testing deserializing (#5821)
more details in UT
2022-10-13 19:41:26 +02:00
Uenal Akkaya
763fbad76c
DRUL: Use CL_BLUE_SOURCE_OBJECT_DATA instead of CL_DRUL_WB_OBJECT_DATA (#5818)
* Update zcl_abapgit_object_drul.clas.abap

Use in class ZCL_ABAPGIT_OBJECT_DRUL the more generic type CL_BLUE_SOURCE_OBJECT_DATA instead of CL_DRUL_WB_OBJECT_DATA

* Update zcl_abapgit_object_drul.clas.abap

Use in class ZCL_ABAPGIT_OBJECT_DRUL the more generic, similar type CL_BLUE_SOURCE_OBJECT_DATA instead of CL_DRUL_WB_OBJECT_DATA
2022-10-12 09:56:30 -04:00
Albert Mink
27bec52c8a
AFF with namespaces (#5779) 2022-10-10 11:38:47 -04:00
Marc Bernard
67093085f6
CLAS,ENHO: Fix inactive enhancements (#5810)
* CLAS,ENHO: Fix inactive enhancements

When pulling a change to an existing class, existing enhancement where inactivated and the enhancement code deleted. 

This was caused by unnecessarily calling `CALL FUNCTION 'SEO_CLASS_CREATE_COMPLETE'` in `zcl_abapgit_oo_class->create`, twice.

The change avoids the second call if the class properties and attributes have *not* been changed. Interfaces are handled the same way. 

Tested with CI tests for classes and interfaces:


Closes #5809

* Clear

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-10-07 15:00:31 -04:00
Patrick Winkler
cda541692f
SMBC: Business Configuration Maintenance Objects (#5812)
* enable SMBC for abapGit

* fix abapLint issues
2022-10-06 09:11:37 -04:00
Marc Bernard
fbeabd6220
ENHO: Unlock objects in cases of errors (#5811) 2022-10-06 10:17:22 +02:00
Christian Günter
86751b6961
VIEW: Add translation support (#5806)
fix linter
2022-10-05 20:11:46 -04:00
Christian Günter
f8564cb679
AFF: Fix existence check (#5803)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-10-04 17:48:11 -04:00
Marc Bernard
35718fbf77
W3xx: Remove unnecessary metadata (#5780)
* W3xx: Remove unnecessary metadata

* Clear metadata

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-10-04 09:47:05 -04:00
Marc Bernard
004885fcc0
FUGR: Add documentation (longtexts) (#5795)
After #5786, Ref #5774

Serialize and deserialize documentation of function group, function modules, and parameters. 

Test case: 
https://github.com/abapGit-tests/FUGR_docu

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-10-04 09:44:03 -04:00
Jon Friesen
954d913191
CLAS,INTF: Support for component documentation (#5575)
* serialization

* full sotr class serialization

* nw 7.02 compatibility

* ensure consistent order

* Second attempt to stage support for CLAS and INTF 

Second attempt to stage support for CLAS and INTF, first attempt did not have changes

* Pretty printed

* Lint compliance part 1

* Lint compliance part 2

* code review remediation plus one bugfix

includes one bugfix - do not write entries in <DOCU_CAT> if there are no lines of text

* Update src/objects/zcl_abapgit_objects_program.clas.abap

Co-authored-by: Lars Hvam <larshp@hotmail.com>

* Switch to new method

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Marc Bernard <marc@marcbernardtools.com>
2022-10-04 09:33:38 -04:00
Marc Bernard
e0e3b442a0
Various objects: Add documentation (longtexts) (#5796)
Add documentation (longtexts)

After #5786, Ref #5774

Serialize and deserialize documentation of CHAR, DTEL supplements, SFBF, SFBS, SFSW, TTYP, VIEW, WDYA, XINX

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-10-04 09:18:28 -04:00
Christian Günter
ee4320db6b
fix language dependent unit test (#5799)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-10-04 09:06:41 -04:00
marcushoepfner
3060254d10
Fix subcomponent text deserialization (json) (#5783)
* fix

* Take linters recommendations

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* adapted missing call; fix syntax issue

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-10-04 11:17:04 +02:00
Marc Bernard
d936b8dc0b
Prepare processing longtexts for sub components (#5786) 2022-10-04 08:09:56 +02:00
Marc Bernard
fcdb07a7a6
TABL: Fix deserialize if foreign key exists (#5773) 2022-10-02 09:19:33 +02:00
Marc Bernard
16656d8141
CLAS: Fix pull for deleted interface methods (#5768)
* CLAS: Fix pull for deleted interface methods

In case an interface method was deleted, pulling a class that had implemented such method would not delete the implementation. This resulted in a diff and manual effort to remove the method (or repair the class).

The fix will compare the implemented methods and trigger the repair if necessary.

Closes #5578

* Update zcl_abapgit_oo_class.clas.abap

* return all includes

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-09-26 11:20:17 -04:00
Fabian Lupa
77fea02b45
Force usage of local object handler classes (#5778) 2022-09-26 06:50:16 -04:00
Marc Bernard
f1c1aad740
Delete obsolete longtexts on pull (#5751)
* Delete obsolete longtexts on pull

Longtexts that exist in the system but not in the remote repository are deleted when pulling.

Closes #5202

* Refactor

* Constant

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-09-23 09:57:44 -04:00
Marc Bernard
b18586ba32
CLAS,INTF: Add missing shorttexts (#5755)
* CLAS,INTF: Add missing shorttexts

Serializes shorttexts for sub components (like method and event parameters).

Preparation for https://github.com/abapGit/abapGit/pull/5718

New test cases:

https://github.com/abapGit-tests/INTF_docu
https://github.com/abapGit-tests/CLAS_docu

* Clear/set class/interface name for shorttexts

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-09-15 11:34:32 -04:00
Marc Bernard
0be78203d5
SOTR: Fix handling of alias names (#5750) 2022-09-13 16:39:33 +02:00
Marc Bernard
16d69e8ab9
DOCV: Handle namespaces (#5756) 2022-09-13 10:03:37 +02:00
Marc Bernard
ee3f5f4cb1
DSYS: Simplify namespace split (#5757) 2022-09-13 07:38:25 +02:00
Marc Bernard
471b155bc4
SUSH,SUSC: Fix deletion (#5748) 2022-09-09 14:24:52 +02:00
Marc Bernard
f9b0cc16ea
W3XX: Sort parameters to avoid diffs (#5746) 2022-09-08 08:14:33 +02:00
Marc Bernard
24340fce32
SCVI: Sort tables to avoid diffs (#5745) 2022-09-08 08:04:19 +02:00
Marc Bernard
b250edc8f7
WDYN: Fix dump if no components exist (#5749) 2022-09-08 08:01:04 +02:00
Marc Bernard
be967a4e8a
G4xx, IWxx: Changed by (#5747)
* G4xx, IWxx: Changed by

* Empty block
2022-09-08 07:32:35 +02:00
Marc Bernard
df62cb6ff4
DEVC: Fix dump if package has been delete (#5741)
If a package is deleted in a different session while viewing a repository, refreshing the repo view will dump.
2022-09-06 14:36:56 -04:00
Jorge Sancho
efb42650e0
new SOBJ serializer (#5724)
* 1st version of abapGit - SOBJ serializer

- added class 1st version of zcl_abapgit_object_sobj
- pending more testing

* refactoring to comply with abapGit conventions

* downporting to 7.02

* refactoring as abaplint suggests

'data' keyword in cappital letters

* more abaplint fixing

* changes for PR merging

- changed ABAP class title
- deleted commented code

* changes for PR merging (2)

- fixing abaplint

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-09-05 12:58:48 -04:00
Albert Mink
26f93a18bf
Fix language conversion, now 7.02 compatible (#5727)
solves #5726
2022-08-22 17:24:24 +02:00
Vanessa
1c8bb3bfd6
New Object EVTB based on AFF (#5707) 2022-08-16 07:44:51 +02:00
Albert Mink
96dd561a3c
[AFF] deserialize INTF metadata as JSON (#5704) 2022-08-11 06:55:39 +02:00
Katharina Wurz
111656b7b1
Deal with empty active version (object was never activated) (#5714)
* Deal with empty active version

* Put if condition into method
2022-08-09 17:21:46 +02:00
Katharina Wurz
fba53633b4
Improvements for CHK* classes (#5712) 2022-08-07 08:38:34 +02:00
Bo Larsson
284f056f60
downport assert_true() (#5711)
closes #5710
2022-08-05 13:18:55 +02:00
Albert Mink
bef09c48cb
[AFF] More detailed error msg (#5709) 2022-08-04 13:28:33 +02:00
Lars Hvam
2e879323c3
downport, temporary workaround, if_adt_lock_handle (#5706) 2022-08-04 10:03:54 +02:00
marcushoepfner
61e7d13cd0
INTF Refactor deserialize (#5698) 2022-08-03 17:16:02 +02:00
Lars Hvam
ffd3c95d4a
disable dependabot, unit testing (#5699) 2022-08-01 10:07:42 +02:00
marcushoepfner
fd7d4771d8
started unit tests for intf deserialize (#5697) 2022-07-26 14:54:42 +02:00
Albert Mink
d266f13415
[AFF] Custom AJSON filter for INTF serialization (#5675) 2022-07-26 07:53:55 +02:00
Lars Hvam
9ce3b76d54
refactor call to 'TR_READ_NAMESPACE (#5693) 2022-07-25 10:29:43 +02:00
Katharina Wurz
863f7d7088
Exception handling small improvement (#5691) 2022-07-21 07:38:01 +02:00
Albert Mink
0bf8388a6e
Use sy-uname instead cl_abap_syst->get_user_name (#5685) 2022-07-13 09:13:41 +02:00
Marc Bernard
bdfe982ee8
Improve package / sub-package check (#5628)
If a sub-package is removed from the package hierarchy, instead of an exception, abapGit now shows a detailed warning message in the log.

This allows to remedy the situation either by adding the sub-package to the package hierarchy or by removing the sub-package from the repository (via push).
2022-07-12 11:14:02 +02:00
Lars Hvam
2f5d44de3e
IWSG: implement CHANGED_BY (#5680) 2022-07-08 11:11:46 +02:00
Christian Günter
5af8cf8862
AFF: Downport (#5679)
* AFF: Downport

* fix lint
2022-07-06 17:15:42 +02:00
Albert Mink
96cd546c7e
[AFF] Get data for serialization from the DB (#5670)
* [AFF] Get data for serialization from the DB

This is definitely not 7.02 syntax.

Contributes to #5658

* is this 7.02 syntax?

* WIP: inlide data declaration

* declare locale variable FIELD-SYMBOL

* multiple statements -> line break; local variable

* one more FIELD0-SYMBOL

* fix redundant `this`

* WIP: streamline data types

* WIP: streamline data types and typos

* add const to abaplint config

* rm commended code line

* add const to abaplint config

* WIP: SELECT follows 7.02 syntax

* space before dot

* WIP: SELECT 7.02

* linter constants

* WIP: finish SELECT 7.02

* Update src/objects/zcl_abapgit_object_intf.clas.locals_imp.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* add ci/abaplint CONST

* more CONST to ci/abaplint

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2022-07-05 08:54:47 +02:00
Marc Bernard
d427c6cfe7
Skipping serialization for ignored objects (#5648)
* Skipping serialization for ignored objects 

Serialization now evaluates the ignore list and skips matching objects. Note: The match is using the ABAP `cp` operator.

Example:
```
*ztest.prog.*         Ignore individual program
*.ectd.*                 Ignore all objects of a given type
*/subpack/*           Ignore all objects in a sub-package
```
2022-07-01 08:16:44 +02:00
Albert Mink
89090b5c00
[AFF] Allow object handler to serialize JSON via experimental feature (#5660)
* [AFF] Object handler for INTF

* Add JSON handler

* hard coded language

* adopt to abapLint rules

* wip: abaplint

* wip: abapLint

* adjust to naming conventions

* AJSON filtering abapLanguageVersion for serializat

* SELECT 7.02; UPPER

* abapLint params

* filter/remove the empty arrays

* reset obj handler to origin/main

* add experimental feature to enable AFF serializati

* typos, indentation and more

* move code to local clas

* Update src/objects/zcl_abapgit_object_intf.clas.abap

Co-authored-by: Lars Hvam <larshp@hotmail.com>

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-06-30 16:06:55 +02:00
Albert Mink
eb2ae98c6d
[Refac] Object handler for INTF (serialize) (#5668) 2022-06-30 11:51:41 +02:00
Marc Bernard
01297df9a5
Avoid duplicate key error (#5663)
Follow-up #5652

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-06-29 14:39:10 +02:00
Katharina Wurz
a9f7562d82
Change type assignment (#5661)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-06-27 13:16:34 +02:00
Christian Günter
bfdbee9990
SSST: Suppress list output for warnings (#5666)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-06-27 13:09:38 +02:00
Christian Günter
d145837d96
DDLX: implement changed_by (#5655)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-06-27 10:15:44 +02:00
Albert Mink
b667532004
[AFF] Add the type for INTF (manually) (#5639)
* [AFF] Add the types for INTF manually

* Add the types

* [AFF] JSON handler based on AJSON: deserialize

Minimal example in UT.
UT is RED, since AJSON does not yet match the ST behavior

// the change might be cherry-picked when AFF types are provided in abapGit

* Revert "[AFF] JSON handler based on AJSON: deserialize"

This reverts commit 149d2a86c3.

* Update zif_abapgit_aff_intf_v1.intf.xml

* Update zif_abapgit_aff_oo_types_v1.intf.xml

* Update zif_abapgit_aff_types_v1.intf.xml

* BOM

* Update zif_abapgit_aff_oo_types_v1.intf.xml

* Update zif_abapgit_aff_types_v1.intf.xml

* [abaplint] skip folder aff_types

* Revert "[abaplint] skip folder aff_types"

This reverts commit f63b601a3d.

* [abaplint] exclude aff_types for unused check

* mv AFF types to src/objects/aff_types

* Update zif_abapgit_aff_oo_types_v1.intf.xml

* Update zif_abapgit_aff_types_v1.intf.xml

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-06-27 08:59:34 +02:00
yellappam
ef29fa7411
Clear IWVB metadata fields (#5647)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-06-23 13:16:20 +02:00
Marc Bernard
787bc605b0
Propagate codepage conversion errors (#5638) 2022-06-23 07:12:25 +02:00
yellappam
c63cc7a9d2
Clear IWPR and IWSV metadata fields (#5637)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-06-21 13:05:31 +02:00
yellappam
402c970b5e
Clear IWOM/IWMO object metadata (#5635)
* Clear IWOM/IWMO object metadata

It clears metadata related to object types IWOM and IWMO

* change keyword 'value' to upper case
2022-06-21 11:04:55 +02:00
Alexander Tsybulsky
380508d72c
FUGR: Better maintenance view auto comments cleanups (#5622) 2022-06-13 12:00:09 +02:00
Marc Bernard
6e5f41277f
W3xx: Replace call with TADIR_INSERT (#5618) 2022-06-06 07:48:10 +02:00
Marc Bernard
7ba88d4345
Remove aliases - Common AFF (#5619)
Continue #5580
2022-06-05 21:45:38 +02:00
Marc Bernard
bb13a1ff10
Add exceptions to TR_TADIR_INTERFACE (#5617)
Better support for debugging
2022-06-05 21:29:04 +02:00
Marc Bernard
2415a5c0c0
SOTR: Fix uninstall (#5558)
After all OTR usage has been removed, uninstall will now also delete the TADIR entry for SOTR. This is necessary in order to delete the corresponding package.
2022-06-04 13:41:50 +02:00