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: 1083
Registered: September 2012
Location: Poland, Kraków
Senior 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


U++ - 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: 14106
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: Sun Nov 03 01:25:20 CET 2024

Total time taken to generate the page: 0.01477 seconds