Commit Graph

42 Commits

Author SHA1 Message Date
Marc Bernard
a3291a1e40
Clean-up double_spaces (2) (#6575) 2023-10-26 09:42:51 -04:00
Marc Bernard
b107457017
Clean-up unused_variables (#6564)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-10-25 10:23:47 -04:00
Lars Hvam
97cdd3afa8
refactor concatenated_key_to_where() (#6531) 2023-10-08 08:50:15 +02:00
Lars Hvam
8b8ad85bbb
data: use hashed tables (#6456) 2023-09-04 07:06:32 +02:00
Marius Raht
9d2bb4da0b
TABU: Update entries with same key but different component values (#6380)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2023-08-02 06:35:20 +02:00
Lars Hvam
79a0183b7c
data utils: add unit test (#6383) 2023-07-30 14:51:24 +02:00
Marius Raht
f598c7b6cf
Fix processing of TABU entries in case of multiple tables (#6338) 2023-07-09 11:01:55 -04:00
Lars Hvam
9a85ff4935
fix dump, IS_CUSTOMIZING_TABLE (#6272)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-05-11 16:40:43 +02:00
Lars Hvam
cd134cd0de
fix dump in zcl_abapgit_data_utils while getting key fields (#6269) 2023-05-11 11:16:35 +02:00
Lars Hvam
23c1a9b09a
data deser: only get CTS api if needed (#6200)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2023-04-06 11:36:43 +02:00
Marc Bernard
cf528c5413
TABU: Several enhancements (#6191) 2023-04-06 10:13:27 +02:00
Lars Hvam
c5ed76c73a
extract transport_entries() to CTS class (#6187) 2023-04-03 20:40:59 +02:00
Lars Hvam
9ea41d1cac
upport is_customizing_table (#6185) 2023-04-02 08:42:06 +02:00
Thomas Ergin
8ed3a633db
Pull enabled for customizing tables (#6138)
Co-authored-by: Thomas Ergin <Thomas.Ergin@bmw.de>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Co-authored-by: Marc Bernard <marc@marcbernardtools.com>
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2023-03-31 13:25:16 +02:00
Lars Hvam
49185c0383
data: throw error if hitting max (#6157) 2023-03-19 11:55:37 +01:00
Lars Hvam
6e0f600dfd
cleanup: remove some unused variables (#6099) 2023-02-26 17:17:35 +01:00
Lars Hvam
f7632750af
data: refactor getting key fields (#6097) 2023-02-26 16:30:51 +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
0eb4162183
data: clear in case of errors (#6014) 2023-01-30 13:15:02 +01:00
Christian Günter
0ea950c938
TABU: No error when table not yet exists (#5964) 2023-01-02 10:21:45 +01:00
Lars Hvam
e7b8ed7dff
TABU: add option to skip initial values/columns (#5922)
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-12-22 10:33:32 -05:00
Lars Hvam
498f31f191
unit testing updates (#5876)
Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
2022-12-01 08:44:44 +01:00
Marc Bernard
ba3d9e43cb
Fix type for data config serialize (#5880)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-11-22 12:17:18 -05:00
Lars Hvam
004597aea6
additional unit testing via transpiler (#5858) 2022-11-14 08:58:09 +01:00
Lars Hvam
cb66e18738
housekeeping, delete some unused variables (#5825) 2022-10-17 15:25:00 +02:00
Lars Hvam
ec83d1de35
Data: downport (#5770)
#5769
2022-09-22 06:59:19 +02:00
Lars Hvam
29622bdf7b
TABU data: refactor some unit tests (#5758) 2022-09-19 06:44:04 +02:00
Lars Hvam
ac982560aa
Data serialization, add WHERE condition based on transport (#5720) 2022-08-26 08:33:22 +02:00
Marc Bernard
1dd5ebcb42
Fix dump for repos using data tables (#5581)
* Fix dump for repos using data tables

Fixes dump in `zcl_abapgit_data_util` in case the data table does not exist yet.

* Method

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-05-23 13:50:44 +02:00
Marc Bernard
63a87fa6e7
TABU: Add "jump" to SE16 (#5459)
* TABU: Add "jump" to SE16

When using "Data Cofiguration" you can now jump from the repo view to the data browser (`se16`).

* Simplify

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-04-08 15:39:03 +02:00
Marc Bernard
65dd5f7568
Update object descriptions - Part 1 (#5314) 2022-02-02 07:31:54 +01:00
Christian Günter
53343a98d6
Files: Introduce secondary keys (#5101)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-05 05:32:39 +01:00
github-actions[bot]
41c9e0880b
ajson, Automatic Update (#4895) 2021-08-16 08:20:05 +02:00
Marc Bernard
71006ab149
Avoid duplicates in data serialize (#4763)
Serialize data to internal table with unique key corresponding to the database table

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-05-14 11:12:25 +02:00
Marc Bernard
eb8812eaac
Show "data" by object in repo view (#4689)
* Show "data" by object in repo view

Continuing on #3441

- "data" is now shown as `TABU` `<table>` in the repo view

* Remove get_item

* Add cmnt

* Update src/objects/core/zcl_abapgit_serialize.clas.abap

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

* Update zcl_abapgit_serialize.clas.abap

Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2021-04-12 14:53:09 +02:00
Marc Bernard
1104c88e48
Data deserialize (#4654)
* Data deserialize

Continuing on #3441 

- Fixes issue with namespaced tables 
- Adds deserialize of table content during pull but does NOT persist changes to database

`zcl_abapgit_repo->deserialize` now contains the following call to deserialize "data":

```abap
    zcl_abapgit_data_factory=>get_deserializer( )->deserialize(
      ii_config  = get_data_config( )
      it_files   = get_files_remote( )
      iv_persist = abap_false ). "<<no persisting, just test for now
```

Closes #4650

* Fixes and max record check

* Get result preview

* Split deser/actualize

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-03-23 06:40:09 +01:00
Lars Hvam
690da4e51f
delete some unused variables (#4411)
* delete some unused variables

* bdef, remove unused vars

* remove some more
2021-01-15 08:31:01 +01:00
Lars Hvam
d1d12da6fe
data serialization, keep item order (#4399) 2021-01-12 08:44:39 +01:00
Alexander Tsybulsky
44fceb677c
downport data_serializer (#4392) 2021-01-09 16:32:41 +01:00
Lars Hvam
889d062e1c
data, basic serialization (#4369)
* data

* refactor ZCL_ABAPGIT_SERIALIZE

* upd

* serializing

* cleanup

* fix

* fix

* rename
2021-01-09 10:50:58 +01:00
Lars Hvam
1d1d046d39
data: use ajson for serialization (#4363)
* data: use ajson for serialization

* config to_json

* implement from_json

* fix

* move method build_table_itab to new class

* start deserialize

* update

* scaffolding

* add page

* upd

* fix warning

* update

* rename variable

* upd

* update

* reorder
2021-01-03 04:55:24 +01:00
Lars Hvam
236ec45dcd
very basic data serialization, standalone (#4218)
* data, wip

* scaffolding, factory and injector

* update

* upd

* upd

* update

* rename fs

* update

* line break parameters

* use shorthand hash
2020-12-28 13:29:21 +01:00