Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAPGit, Eclipse and EGit

SimoneMilesi
Active Contributor
5,319

Hello all,

This is not a real question, but more a throwing a bunch of doubts and ideas due my day by day work.

I work with many different customers, like many (most?) of you and every customer has her own policy related to security.

This brings to a situation where a good 30-40% of customers block Github (or Bitbucket or any other online repository) access from SAP.

In this way, ABAPGit doesn't work.

I was then thinking about using EGit, the Eclipse plugin to work with Git because, in this way, i can avoid the said restrictions, working from my laptop/net and not SAP Server's one.

But...

I'm not able to mix all the tools.


I know it's not a new question and that some kind of integration has been already tried like with this or this but both rely on having ABAPGit which is the main issue.

Have you ever faced such issue? How did you handle it?

Thanks


Simone

1 ACCEPTED SOLUTION
Read only

larshp
Active Contributor
4,437

As mentioned by Sandra Rossi above, abapGit supports offline projects, see

https://docs.abapgit.org/guide-import-zip.html

https://docs.abapgit.org/guide-export-zip.html

Depending on the scenario, its possible to get around it with https://github.com/larshp/abapGitServer, its a git server running on the ABAP system, so the code never leaves the SAP system. It only have limited features, but is great for backup, and pull requests are welcome 🙂

So for using public open source, it can be installed via zip. If you want to get more into an inner source setup then abapGitServer might be an option. The customer can also install something like https://gitlab.com/gitlab-org/gitlab-ce/ on the local network, but its usually a bigger hassle than just installing abapGitServer

10 REPLIES 10
Read only

matt
Active Contributor
0 Likes
4,437

I choose different clients. 😉

Read only

Sandra_Rossi
Active Contributor
0 Likes
4,437

If the SAP system doesn't have HTTP, but your laptop yes, then create manually the main abapGit program using copy/paste, get the abapGit-based tools as zip files (including abapGit), and install them via abapGit. No need of egit or any git client.

Probably it doesn't answer your questions, but I don't know what exactly you want to do.

Read only

SimoneMilesi
Active Contributor
4,437

matthew.billingham i'm a simple and humble employee 🙂
I keep suggesting to our commercials to remark this: ABAPGit saves time

sandra.rossi you are right, i wasn't clear (long hours and some frustration don't help) sorry.

I am brand new in the actual company and we work with Vistex Add-on: the main aim of using ABAPGit is helping devolping and deploying a basic model with the common functionalities 99% of customers require instead of doing it with copy-and-paste or using TR (which could lead to some errors).

Having Git-git (sorry for the lame name) instead of Git-zip would aslo help us to have different branches immediately available for each customer and it's less laborious.

I admit i never used the ZIP version (i moved from SVLINK to ABAPGit), but i'll give a try.
Thanks!

Read only

larshp
Active Contributor
4,438

As mentioned by Sandra Rossi above, abapGit supports offline projects, see

https://docs.abapgit.org/guide-import-zip.html

https://docs.abapgit.org/guide-export-zip.html

Depending on the scenario, its possible to get around it with https://github.com/larshp/abapGitServer, its a git server running on the ABAP system, so the code never leaves the SAP system. It only have limited features, but is great for backup, and pull requests are welcome 🙂

So for using public open source, it can be installed via zip. If you want to get more into an inner source setup then abapGitServer might be an option. The customer can also install something like https://gitlab.com/gitlab-org/gitlab-ce/ on the local network, but its usually a bigger hassle than just installing abapGitServer

Read only

SimoneMilesi
Active Contributor
0 Likes
4,437

Hi Lars 🙂
I -think- abapGitServer is one i linked in the main thread or, otherwise, I read about it, but it doesn't solve my issue: distrubiting a patch, a solution, something to many customers.
I doubt customer A would accept or would be happy to installa a Git Server for everyone 🙂
The zip solution is a workaround, but it looks so muddled when you have to distribute a patch on 10-12 customers, yet it's the only one at the moment

Read only

SimoneMilesi
Active Contributor
4,437

Ok, I need you lars.hvam !

I never used zip before, I'm trying to do it and.. I am able to upload it, hurray!

Easy peasy, right?
I've been asked for my TR, I provided it and... now, how can effectively import my objects to the system?

I'm a bit confused :'(

Read only

0 Likes
4,437

As you were asked for TR, then the package and the objects are already in your DEV system, wright?

Read only

larshp
Active Contributor
0 Likes
4,437

I assume you clicked the "Pull" button?

Read only

SimoneMilesi
Active Contributor
4,437

Ok, the issue was I was using a not local package.

The pull works importing the code but not the dictionary: switching from a transportable package to a local one worked fine.

I'll open an issue in github and give a look at the code to see if i'm missing something 🙂