Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Eliminate EGit Repository from Installation(I cannot get rid of the EGit repository; Removed from ecore models)
Eliminate EGit Repository from Installation [message #1854753] Wed, 07 September 2022 16:40 Go to next message
Trae Bailey is currently offline Trae BaileyFriend
Messages: 4
Registered: August 2022
Junior Member
Due to firewall problems, I am trying to eliminate external sites from my installation process. The installer always adds https://download.eclipse.org/egit/updates as a repository for the installation, even though that URL does not exist in my setup models and I deleted it from the ecore model copied from the oomph setup definitions. Any ideas?

Thanks,
Trae
Re: Eliminate EGit Repository from Installation [message #1854754 is a reply to message #1854753] Wed, 07 September 2022 17:33 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
Depending on that tasks you use, there are URLs added because the task requires it for the implementation. These are represented as EAnnotations on the Ecore model of the task class. So if you have a git clone task in your setup, you must install Oomph's git setup feature and must install EGit.

index.php/fa/42465/0/

If you want to install EGit from a different location, you can use a redirection task:
<?xml version="1.0" encoding="UTF-8"?>
<setup:RedirectionTask
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    sourceURL="https://download.eclipse.org/egit/updates"
    targetURL="https://example.com/egit-mirror"/>

If you did somehow get rid of the annotations in the dynamic model, in the installed IDE the generated model is used and there the annotation is definitely present. So redirection is the only way to address this. This of course works in general for redirecting any p2 update site that might be hard coded differently from what you want.
  • Attachment: GitEcore.png
    (Size: 33.21KB, Downloaded 144 times)


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eliminate EGit Repository from Installation [message #1854766 is a reply to message #1854754] Thu, 08 September 2022 14:02 Go to previous messageGo to next message
Trae Bailey is currently offline Trae BaileyFriend
Messages: 4
Registered: August 2022
Junior Member
Thanks Ed!!! I was able to get it to work. Now, to figure out a good way to mirror what I need internally... Ideally, I would like to be able to mirror the features and P2 update sites defined by IDE and targlet definitions in my setup files to an internal site.
Re: Eliminate EGit Repository from Installation [message #1854767 is a reply to message #1854766] Thu, 08 September 2022 17:57 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
I assume you know about:

https://wiki.eclipse.org/Equinox_p2_Repository_Mirroring

Also the aggregator

https://github.com/eclipse-cbi/p2repo-aggregator

is used to create the release train repo (combining the content from many dozens of project repositories) so that's another possible approach.

https://ci.eclipse.org/simrel/job/simrel.runaggregator.pipeline/


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Computing a Compound Label for a Configuration
Next Topic:OPC UA
Goto Forum:
  


Current Time: Tue May 07 22:12:53 GMT 2024

Powered by FUDForum. Page generated in 0.02812 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top