mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 20:32:26 +08:00

* Docs: Add "Remote Settings" * Update ref-dot-abapgit.md * Delete repo_settings_remote.png * Add files via upload * Update link * Update link * Add "Repo Settings" to navigation * Update and rename ref-dot-abapgit.md to settings-dot-abapgit.md * Update settings-dot-abapgit.md * Create settings-local.md * Create settings-remote.md * Update settings-local.md * Update and rename other-background-mode.md to settings-background-mode.md * Update settings-background-mode.md * Update and rename ref-settings-stats.md to settings-stats.md * Update zcl_abapgit_gui_page_sett_remo.clas.abap * Update zcl_abapgit_gui_page_sett_locl.clas.abap * Update zcl_abapgit_gui_page_sett_bckg.clas.abap * Update zcl_abapgit_gui_page_sett_info.clas.abap * Update zcl_abapgit_gui_page_sett_repo.clas.abap * Update zcl_abapgit_gui_page_sett_bckg.clas.abap * Update zcl_abapgit_gui_page_sett_info.clas.abap * Update zcl_abapgit_gui_page_sett_locl.clas.abap * Update zcl_abapgit_gui_page_sett_remo.clas.abap * Update zcl_abapgit_gui_page_sett_repo.clas.abap Co-authored-by: Lars Hvam <larshp@hotmail.com>
42 lines
1.4 KiB
Markdown
42 lines
1.4 KiB
Markdown
---
|
|
title: Background Mode
|
|
category: repo settings
|
|
order: 40
|
|
---
|
|
|
|
## Background Mode
|
|
|
|
abapGit can pull or push in background mode. This setting has to be activated on the repository-level.
|
|
|
|
* Navigate to a repository, go to the repository settings and select "Background":
|
|
|
|

|
|
|
|

|
|
|
|
* Here you can define the action that will be executed in background mode, by default the setting is "Do Nothing".
|
|
|
|

|
|
|
|
* To activate an automatic pull for a repository, select "Automatic pull". After saving, a background icon will appear next to the branch name
|
|
|
|

|
|
|
|
* You can run the action immediately by clicking on "Run background logic". Note: this will execute the background logic for **ALL** repositories with background mode enabled.
|
|
|
|
### Overview
|
|
|
|
* To get an overview of all repositories that have background mode enabled, navigate from the Repository List to "Settings" -> "Database Utility"
|
|
|
|

|
|
|
|
* The relevant repositories will have the type "BACKGROUND".
|
|
|
|

|
|
|
|
### Defining a Job
|
|
|
|
* To periodically run the background logic, you can define a job with transaction `SM36`.
|
|
* Create a step for program `ZABAPGIT` (or `ZABAPGIT_STANDALONE`, depending on which version of abapGit you are using). This will execute all defined background activities.
|
|
* You can check the log of the job with transaction `SM37`
|