Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » UppHub - automatic dependency installation
UppHub - automatic dependency installation [message #56332] Mon, 22 February 2021 20:21 Go to next message
Klugier is currently offline  Klugier
Messages: 855
Registered: September 2012
Location: Poland, Kraków
Experienced Contributor
Hello Mirek,

I would like to ask one important question related to UppHub. If I checkout project that uses some UppHub packages that I do not posses at the moment. Does the build system downloads it from me. Let's assume I have following project.
- MyApp
    - Controls4U
    - GoogleTest

When I press build on TheIDE will Controls4U, Functions4U will be downloaded during the build or I need to explicitly go to UppHub and find each dependency and download it separately?

Klugier


Ultimate++ - one framework to rule them all.
Re: UppHub - automatic dependency installation [message #56337 is a reply to message #56332] Tue, 23 February 2021 09:50 Go to previous message
mirek is currently offline  mirek
Messages: 13145
Registered: November 2005
Ultimate Member
Klugier wrote on Mon, 22 February 2021 20:21
Hello Mirek,

I would like to ask one important question related to UppHub. If I checkout project that uses some UppHub packages that I do not posses at the moment. Does the build system downloads it from me. Let's assume I have following project.
- MyApp
    - Controls4U
    - GoogleTest

When I press build on TheIDE will Controls4U, Functions4U will be downloaded during the build or I need to explicitly go to UppHub and find each dependency and download it separately?

Klugier


Actually, there are two moments where TheIDE will download dependecies:

- if you install Controls4U in UppHub, after cloning TheIDE scans for all packages in just installed code and installs everything missing (see ide/UppHub.cpp:280)

- if you have cloned Controls4U without UppHub and then you try to load it, TheIDE detects missing packages that are in UppHub and suggests the installation (ide/UppHub.cpp:334)

If above does not work, it is a bug Smile

Mirek
Previous Topic: UppHub unavailable due to GitHub maintenance
Next Topic: UppHub / Plugin directory
Goto Forum:
  


Current Time: Fri Mar 05 14:57:32 CET 2021

Total time taken to generate the page: 0.02003 seconds