You might already have heard about the Git-enabled Change and Transport System or gCTS in short. And if you found the idea somehow interesting, you might have wondered how to get started.
Well, the easiest thing is (after you configured gCTS) to start from scratch with a new ABAP package as a playground and / or new customizing, use the correct transport layer and see what happens on Git and how your packages and objects reach Git and from there the target systems – so that’s it. Go ahead.
But is that all? If you decide, maybe after a trial with a new package, that you like to use gCTS for more, you might want to migrate your existing packages that you currently handle with CTS to gCTS and use gCTS for your customizing changes, as well. This requires some additional effort and planning…
You can switch to gCTS for all your development and customizing at once. But there is no need to migrate everything at once. If you prefer a phased approach, you can migrate one development project (or package) after the other. gCTS and CTS can be used in parallel in one system This would allow you to take the time that you need to get familiar with the migration processes. Details what has to be done are described later in this blog post Once you decided to switch to gCTS for a certain package, you should not switch back to CTS again. At least, you should not switch from one to the other and back again several times. If in the end you come to the conclusion that you don’t want to continue with gCTS, you can of course switch back to CTS.
You can in principle switch the development of an application to gCTS instead of using CTS whenever you like. Some steps are required to migrate to gCTS that would interrupt the development process a bit. Therefore, please plan carefully when would be a suitable time to do the migration. The following list gives an idea about the required tasks and steps. It is sorted in the order things have to be done. So, start your migration project on top of the list and finish it with the last point. But read the whole list before you start 😉 and create a project plan in case you migrate bigger development projects.
Caution: gCTS can only delete objects that also reached the system via gCTS. If an object was already in the system before you used gCTS, then you delete it as part of a commit and then do other things in your repository that create new commits, the object cannot be deleted on other systems when you clone the repository. Similar behavior applies if you work on one system and switch to previous commits: objects that were not part of a previous commit but were deleted as part of a later commit cannot be restored when you switch to the earlier commit. This is the normal behavior of Git.
The best point in time to migrate a development project to gCTS is maybe when you have just finished and published a new release. Hopefully, this would be the point in time when all systems in your landscape are using the same software version. If this point in time doesn't exist in your development process, you have to carefully fill the repositories with the initial content: what is the version used in the production system should become the content of the main branch – and maybe also of the release branch if you decided to use one. If your development system is ahead of the main branch's content, then you could use the transport requests that had been created since the last release to push the respective object versions to the feature branch of your repository. Make sure that the required branch is the active one in the respective systems.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
26 | |
22 | |
19 | |
13 | |
10 | |
9 | |
8 | |
8 | |
8 | |
7 |