Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency manager #44

Closed
mirkobrombin opened this issue Dec 4, 2020 · 10 comments
Closed

Dependency manager #44

mirkobrombin opened this issue Dec 4, 2020 · 10 comments
Labels
Concept WIP Work In Progress

Comments

@mirkobrombin
Copy link
Member

mirkobrombin commented Dec 4, 2020

In v2 we have chosen to adopt our dependency system instead of the usual Winetricks.

What are dependencies?

Dependencies on Bottles are like package dependencies on almost all Linux distributions. Software may require dependencies in order to run and these can be downloaded and installed manually or via our dependency manager who will take care of everything (because each dependency can depend on other dependencies).

Why not Winetricks?

We want to offer a centralized dependency management system. We want to be able to trace those installed in the bottle configuration file to be able to remove them or simply share the bottle with all dependencies listed.

Also, with an internal system it will be easier to install dependencies when an Environment is chosen.For example the Software environment requires vcrun, corefonts and several others. With our system we can install the dependencies at the bottle creation, without exiting the software or using external ones.

Extensibility. Using external repositories for dependencies and providing these with a manifest containing instructions and dependencies, it will be easier to add new dependencies to Bottles and extend support for new software.

Finally, Winetricks is external software and clashes with our UI 😏.

A community driven repository

Our repository will be community driven. This mean that other users can open Pull Requests to provide new dependency support to Bottles!

Online database: https://usebottles.com/database/dependencies


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@mirkobrombin
Copy link
Member Author

Screenshot from 2020-12-05 22-48-30

@mirkobrombin
Copy link
Member Author

mirkobrombin commented Jan 2, 2021

The dependency database can now also be browsed from the official website: https://usebottles.com/database/dependencies

@mirkobrombin
Copy link
Member Author

mirkobrombin commented Jan 2, 2021

Dependencies are now organized into categories.
Screenshot from 2021-01-02 14-01-12

@mirkobrombin mirkobrombin pinned this issue Jan 5, 2021
@mirkobrombin mirkobrombin added the WIP Work In Progress label Jan 9, 2021
@Byrkoet
Copy link

Byrkoet commented Jan 20, 2021

None of the dependencies seem to be downloadable, after clicking the download icon, the button greys out. (Bottles 2.1.0.3 Ubuntu x64 + Gnome). The manifest shows up correctly, but after clicking the download icon, opening the manifest shows an empty popup. The url in the manifest isn't broken, as I tried it in a browser.
Screenshot from 2021-01-20 14-05-22

@mirkobrombin
Copy link
Member Author

None of the dependencies seem to be downloadable, after clicking the download icon, the button greys out. (Bottles 2.1.0.3 Ubuntu x64 + Gnome). The manifest shows up correctly, but after clicking the download icon, opening the manifest shows an empty popup. The url in the manifest isn't broken, as I tried it in a browser.
Screenshot from 2021-01-20 14-05-22

Should be fixed in 2.1.0.4

@Byrkoet
Copy link

Byrkoet commented Jan 20, 2021

Downloading dependencies works fine now, although while installing core fonts, an error shows for low disk space, while there is 6GiB left for the bottle. (btw, after installing fonts "windows/fonts" dir is empty?)
Screenshot from 2021-01-21 00-30-25
(Bottles 2.1.0.3 "Gaming environment" Ubuntu x64 + Gnome)

@mirkobrombin
Copy link
Member Author

Downloading dependencies works fine now, although while installing core fonts, an error shows for low disk space, while there is 6GiB left for the bottle. (btw, after installing fonts "windows/fonts" dir is empty?)
Screenshot from 2021-01-21 00-30-25
(Bottles 2.1.0.3 "Gaming environment" Ubuntu x64 + Gnome)

Please open a bug report for this, following the Bug template.

@ryahpalma
Copy link

Not working here too. I'm not able to install dependencies, .NET Framework can't install.

@mirkobrombin
Copy link
Member Author

Not working here too. I'm not able to install dependencies, .NET Framework can't install.

Please open a bug report for this, following the Bug template.

@mirkobrombin
Copy link
Member Author

I'm going to close.this issue as dependency manager is already implemented. Please Open New Issues for bug reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Concept WIP Work In Progress
Projects
None yet
Development

No branches or pull requests

3 participants