mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
user exit: include settings parameters in change_tadir() (#6775)
This commit is contained in:
parent
374bc13a7b
commit
6d0f7de2f5
|
@ -248,10 +248,13 @@ CLASS zcl_abapgit_exit IMPLEMENTATION.
|
||||||
TRY.
|
TRY.
|
||||||
gi_exit->change_tadir(
|
gi_exit->change_tadir(
|
||||||
EXPORTING
|
EXPORTING
|
||||||
iv_package = iv_package
|
iv_package = iv_package
|
||||||
ii_log = ii_log
|
ii_log = ii_log
|
||||||
|
is_dot_abapgit = is_dot_abapgit
|
||||||
|
iv_ignore_subpackages = iv_ignore_subpackages
|
||||||
|
iv_only_local_objects = iv_only_local_objects
|
||||||
CHANGING
|
CHANGING
|
||||||
ct_tadir = ct_tadir ).
|
ct_tadir = ct_tadir ).
|
||||||
CATCH cx_sy_ref_is_initial cx_sy_dyn_call_illegal_method ##NO_HANDLER.
|
CATCH cx_sy_ref_is_initial cx_sy_dyn_call_illegal_method ##NO_HANDLER.
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
INTERFACE zif_abapgit_exit PUBLIC.
|
INTERFACE zif_abapgit_exit PUBLIC.
|
||||||
|
|
||||||
|
|
||||||
TYPES:
|
TYPES:
|
||||||
BEGIN OF ty_ci_repo,
|
BEGIN OF ty_ci_repo,
|
||||||
name TYPE string,
|
name TYPE string,
|
||||||
|
@ -24,65 +25,56 @@ INTERFACE zif_abapgit_exit PUBLIC.
|
||||||
!cv_display_url TYPE csequence
|
!cv_display_url TYPE csequence
|
||||||
RAISING
|
RAISING
|
||||||
zcx_abapgit_exception.
|
zcx_abapgit_exception.
|
||||||
|
|
||||||
METHODS adjust_display_filename
|
METHODS adjust_display_filename
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!is_repo_meta TYPE zif_abapgit_persistence=>ty_repo
|
!is_repo_meta TYPE zif_abapgit_persistence=>ty_repo
|
||||||
!iv_filename TYPE string
|
!iv_filename TYPE string
|
||||||
RETURNING
|
RETURNING
|
||||||
VALUE(rv_filename) TYPE string.
|
VALUE(rv_filename) TYPE string.
|
||||||
|
|
||||||
METHODS allow_sap_objects
|
METHODS allow_sap_objects
|
||||||
RETURNING
|
RETURNING
|
||||||
VALUE(rv_allowed) TYPE abap_bool.
|
VALUE(rv_allowed) TYPE abap_bool.
|
||||||
|
|
||||||
METHODS change_local_host
|
METHODS change_local_host
|
||||||
CHANGING
|
CHANGING
|
||||||
!ct_hosts TYPE zif_abapgit_definitions=>ty_string_tt.
|
!ct_hosts TYPE zif_abapgit_definitions=>ty_string_tt.
|
||||||
|
|
||||||
METHODS change_max_parallel_processes
|
METHODS change_max_parallel_processes
|
||||||
IMPORTING
|
IMPORTING
|
||||||
iv_package TYPE devclass
|
!iv_package TYPE devclass
|
||||||
CHANGING
|
CHANGING
|
||||||
cv_max_processes TYPE i.
|
!cv_max_processes TYPE i.
|
||||||
|
|
||||||
METHODS change_proxy_authentication
|
METHODS change_proxy_authentication
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!iv_repo_url TYPE csequence
|
!iv_repo_url TYPE csequence
|
||||||
CHANGING
|
CHANGING
|
||||||
!cv_proxy_authentication TYPE abap_bool.
|
!cv_proxy_authentication TYPE abap_bool.
|
||||||
|
|
||||||
METHODS change_proxy_port
|
METHODS change_proxy_port
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!iv_repo_url TYPE csequence
|
!iv_repo_url TYPE csequence
|
||||||
CHANGING
|
CHANGING
|
||||||
!cv_proxy_port TYPE string.
|
!cv_proxy_port TYPE string.
|
||||||
|
|
||||||
METHODS change_proxy_url
|
METHODS change_proxy_url
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!iv_repo_url TYPE csequence
|
!iv_repo_url TYPE csequence
|
||||||
CHANGING
|
CHANGING
|
||||||
!cv_proxy_url TYPE string.
|
!cv_proxy_url TYPE string.
|
||||||
|
|
||||||
METHODS change_rfc_server_group
|
METHODS change_rfc_server_group
|
||||||
CHANGING
|
CHANGING
|
||||||
cv_group TYPE rzlli_apcl.
|
!cv_group TYPE rzlli_apcl.
|
||||||
|
|
||||||
METHODS change_supported_data_objects
|
METHODS change_supported_data_objects
|
||||||
CHANGING
|
CHANGING
|
||||||
!ct_objects TYPE zif_abapgit_data_supporter=>ty_objects.
|
!ct_objects TYPE zif_abapgit_data_supporter=>ty_objects.
|
||||||
|
|
||||||
METHODS change_supported_object_types
|
METHODS change_supported_object_types
|
||||||
CHANGING
|
CHANGING
|
||||||
!ct_types TYPE ty_object_types.
|
!ct_types TYPE ty_object_types.
|
||||||
|
|
||||||
METHODS change_tadir
|
METHODS change_tadir
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!iv_package TYPE devclass
|
!iv_package TYPE devclass
|
||||||
!ii_log TYPE REF TO zif_abapgit_log
|
!ii_log TYPE REF TO zif_abapgit_log
|
||||||
|
!is_dot_abapgit TYPE zif_abapgit_dot_abapgit=>ty_dot_abapgit
|
||||||
|
!iv_ignore_subpackages TYPE abap_bool DEFAULT abap_false
|
||||||
|
!iv_only_local_objects TYPE abap_bool DEFAULT abap_false
|
||||||
CHANGING
|
CHANGING
|
||||||
!ct_tadir TYPE zif_abapgit_definitions=>ty_tadir_tt.
|
!ct_tadir TYPE zif_abapgit_definitions=>ty_tadir_tt.
|
||||||
|
|
||||||
METHODS create_http_client
|
METHODS create_http_client
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!iv_url TYPE string
|
!iv_url TYPE string
|
||||||
|
@ -90,7 +82,6 @@ INTERFACE zif_abapgit_exit PUBLIC.
|
||||||
VALUE(ri_client) TYPE REF TO if_http_client
|
VALUE(ri_client) TYPE REF TO if_http_client
|
||||||
RAISING
|
RAISING
|
||||||
zcx_abapgit_exception.
|
zcx_abapgit_exception.
|
||||||
|
|
||||||
METHODS custom_serialize_abap_clif
|
METHODS custom_serialize_abap_clif
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!is_class_key TYPE ty_class_key
|
!is_class_key TYPE ty_class_key
|
||||||
|
@ -99,40 +90,33 @@ INTERFACE zif_abapgit_exit PUBLIC.
|
||||||
VALUE(rt_source) TYPE zif_abapgit_definitions=>ty_string_tt
|
VALUE(rt_source) TYPE zif_abapgit_definitions=>ty_string_tt
|
||||||
RAISING
|
RAISING
|
||||||
zcx_abapgit_exception.
|
zcx_abapgit_exception.
|
||||||
|
|
||||||
METHODS deserialize_postprocess
|
METHODS deserialize_postprocess
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!is_step TYPE zif_abapgit_objects=>ty_step_data
|
!is_step TYPE zif_abapgit_objects=>ty_step_data
|
||||||
!ii_log TYPE REF TO zif_abapgit_log.
|
!ii_log TYPE REF TO zif_abapgit_log.
|
||||||
|
|
||||||
METHODS determine_transport_request
|
METHODS determine_transport_request
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!io_repo TYPE REF TO zcl_abapgit_repo
|
!io_repo TYPE REF TO zcl_abapgit_repo
|
||||||
!iv_transport_type TYPE zif_abapgit_definitions=>ty_transport_type
|
!iv_transport_type TYPE zif_abapgit_definitions=>ty_transport_type
|
||||||
CHANGING
|
CHANGING
|
||||||
!cv_transport_request TYPE trkorr.
|
!cv_transport_request TYPE trkorr.
|
||||||
|
|
||||||
METHODS enhance_repo_toolbar
|
METHODS enhance_repo_toolbar
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!io_menu TYPE REF TO zcl_abapgit_html_toolbar
|
!io_menu TYPE REF TO zcl_abapgit_html_toolbar
|
||||||
!iv_key TYPE zif_abapgit_persistence=>ty_value
|
!iv_key TYPE zif_abapgit_persistence=>ty_value
|
||||||
!iv_act TYPE string.
|
!iv_act TYPE string.
|
||||||
|
|
||||||
METHODS get_ci_tests
|
METHODS get_ci_tests
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!iv_object TYPE tadir-object
|
!iv_object TYPE tadir-object
|
||||||
CHANGING
|
CHANGING
|
||||||
!ct_ci_repos TYPE ty_ci_repos.
|
!ct_ci_repos TYPE ty_ci_repos.
|
||||||
|
|
||||||
METHODS get_ssl_id
|
METHODS get_ssl_id
|
||||||
RETURNING
|
RETURNING
|
||||||
VALUE(rv_ssl_id) TYPE ssfapplssl.
|
VALUE(rv_ssl_id) TYPE ssfapplssl.
|
||||||
|
|
||||||
METHODS http_client
|
METHODS http_client
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!iv_url TYPE string
|
!iv_url TYPE string
|
||||||
!ii_client TYPE REF TO if_http_client.
|
!ii_client TYPE REF TO if_http_client.
|
||||||
|
|
||||||
METHODS on_event
|
METHODS on_event
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!ii_event TYPE REF TO zif_abapgit_gui_event
|
!ii_event TYPE REF TO zif_abapgit_gui_event
|
||||||
|
@ -140,7 +124,6 @@ INTERFACE zif_abapgit_exit PUBLIC.
|
||||||
VALUE(rs_handled) TYPE zif_abapgit_gui_event_handler=>ty_handling_result
|
VALUE(rs_handled) TYPE zif_abapgit_gui_event_handler=>ty_handling_result
|
||||||
RAISING
|
RAISING
|
||||||
zcx_abapgit_exception.
|
zcx_abapgit_exception.
|
||||||
|
|
||||||
METHODS pre_calculate_repo_status
|
METHODS pre_calculate_repo_status
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!is_repo_meta TYPE zif_abapgit_persistence=>ty_repo
|
!is_repo_meta TYPE zif_abapgit_persistence=>ty_repo
|
||||||
|
@ -149,14 +132,12 @@ INTERFACE zif_abapgit_exit PUBLIC.
|
||||||
!ct_remote TYPE zif_abapgit_git_definitions=>ty_files_tt
|
!ct_remote TYPE zif_abapgit_git_definitions=>ty_files_tt
|
||||||
RAISING
|
RAISING
|
||||||
zcx_abapgit_exception.
|
zcx_abapgit_exception.
|
||||||
|
|
||||||
METHODS serialize_postprocess
|
METHODS serialize_postprocess
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!iv_package TYPE devclass
|
!iv_package TYPE devclass
|
||||||
!ii_log TYPE REF TO zif_abapgit_log
|
!ii_log TYPE REF TO zif_abapgit_log
|
||||||
CHANGING
|
CHANGING
|
||||||
!ct_files TYPE zif_abapgit_definitions=>ty_files_item_tt.
|
!ct_files TYPE zif_abapgit_definitions=>ty_files_item_tt.
|
||||||
|
|
||||||
METHODS validate_before_push
|
METHODS validate_before_push
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!is_comment TYPE zif_abapgit_git_definitions=>ty_comment
|
!is_comment TYPE zif_abapgit_git_definitions=>ty_comment
|
||||||
|
@ -164,14 +145,11 @@ INTERFACE zif_abapgit_exit PUBLIC.
|
||||||
!io_repo TYPE REF TO zcl_abapgit_repo_online
|
!io_repo TYPE REF TO zcl_abapgit_repo_online
|
||||||
RAISING
|
RAISING
|
||||||
zcx_abapgit_exception.
|
zcx_abapgit_exception.
|
||||||
|
|
||||||
METHODS wall_message_list
|
METHODS wall_message_list
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!ii_html TYPE REF TO zif_abapgit_html.
|
!ii_html TYPE REF TO zif_abapgit_html.
|
||||||
|
|
||||||
METHODS wall_message_repo
|
METHODS wall_message_repo
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!is_repo_meta TYPE zif_abapgit_persistence=>ty_repo
|
!is_repo_meta TYPE zif_abapgit_persistence=>ty_repo
|
||||||
!ii_html TYPE REF TO zif_abapgit_html.
|
!ii_html TYPE REF TO zif_abapgit_html.
|
||||||
|
|
||||||
ENDINTERFACE.
|
ENDINTERFACE.
|
||||||
|
|
|
@ -403,10 +403,13 @@ CLASS zcl_abapgit_tadir IMPLEMENTATION.
|
||||||
li_exit = zcl_abapgit_exit=>get_instance( ).
|
li_exit = zcl_abapgit_exit=>get_instance( ).
|
||||||
li_exit->change_tadir(
|
li_exit->change_tadir(
|
||||||
EXPORTING
|
EXPORTING
|
||||||
iv_package = iv_package
|
iv_package = iv_package
|
||||||
ii_log = ii_log
|
ii_log = ii_log
|
||||||
|
is_dot_abapgit = io_dot->get_data( )
|
||||||
|
iv_ignore_subpackages = iv_ignore_subpackages
|
||||||
|
iv_only_local_objects = iv_only_local_objects
|
||||||
CHANGING
|
CHANGING
|
||||||
ct_tadir = rt_tadir ).
|
ct_tadir = rt_tadir ).
|
||||||
|
|
||||||
IF it_filter IS NOT INITIAL.
|
IF it_filter IS NOT INITIAL.
|
||||||
"Apply filter manually instead of calling zcl_abapgit_repo_filter->apply,
|
"Apply filter manually instead of calling zcl_abapgit_repo_filter->apply,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user