Skip to content

Add details about background modes #265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/user-guide/repo-settings/background-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ If credentials are required for accessing the repository, you will have to maint
* Create a step for the 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`

### Delivered background modes

abapGit includes following background modes:

- Automatic pull
- Automatic push with auto author (derived from users who last changed objects)
- Automatic push with fixed author (provided in the settings)

Modes for "Transport to Branch" and "Branch to Transport" can be installed from [this repository](https://github.com/abapGit/background_modes).

### Custom background modes

Implement interface `ZIF_ABAPGIT_BACKGROUND` in a global class, and it will automatically show up in the abapGit background settings, making it possible to configure and run for a repository. While using the standalone version of abapGit implement the include `ZABAPGIT_BACKGROUND_USER_EXIT`.
Expand Down