Merge pull request #1551 from christianguenter2/issue_1544

add created_by and created_at to repo xml
This commit is contained in:
Lars Hvam 2018-07-02 19:55:52 +02:00 committed by GitHub
commit 55c77d55f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -128,6 +128,8 @@ CLASS ZCL_ABAPGIT_PERSISTENCE_REPO IMPLEMENTATION.
ls_repo-sha1 = iv_branch.
ls_repo-package = iv_package.
ls_repo-offline = iv_offline.
ls_repo-created_by = sy-uname.
GET TIME STAMP FIELD ls_repo-created_at.
ls_repo-dot_abapgit = is_dot_abapgit.
lv_repo_as_xml = to_xml( ls_repo ).

View File

@ -34,6 +34,8 @@ INTERFACE zif_abapgit_persistence PUBLIC.
branch_name TYPE string,
sha1 TYPE zif_abapgit_definitions=>ty_sha1,
package TYPE devclass,
created_by TYPE xubname,
created_at TYPE timestampl,
offline TYPE sap_bool,
local_checksums TYPE ty_local_checksum_tt,
dot_abapgit TYPE zif_abapgit_dot_abapgit=>ty_dot_abapgit,