| |
@@ -0,0 +1,29 @@
|
| |
+ commit 7eed7bbfa5d1da924b4c4e0659f0bf86b0fd7d7b
|
| |
+ Author: Sandro <devel@penguinpee.nl>
|
| |
+ Date: Mon Mar 4 20:28:49 2024 +0100
|
| |
+
|
| |
+ Make sure Paths.bottles exists
|
| |
+
|
| |
+ When calling `bottles foo.exe` either from the command line or by
|
| |
+ opening the executable from the file browser with Bottles, Bottles will
|
| |
+ throw a FileNotFoundError if Paths.bottles does not exist.
|
| |
+
|
| |
+ It seems check_app_dirs() is never called in that situation.
|
| |
+
|
| |
+ diff --git a/bottles/backend/managers/manager.py b/bottles/backend/managers/manager.py
|
| |
+ index 01b0039e..9d8ef000 100644
|
| |
+ --- a/bottles/backend/managers/manager.py
|
| |
+ +++ b/bottles/backend/managers/manager.py
|
| |
+ @@ -811,7 +811,11 @@ class Manager(metaclass=Singleton):
|
| |
+ Check for local bottles and update the local_bottles list.
|
| |
+ Will also mark the broken ones if the configuration file is missing
|
| |
+ """
|
| |
+ - bottles = os.listdir(Paths.bottles)
|
| |
+ + try:
|
| |
+ + bottles = os.listdir(Paths.bottles)
|
| |
+ + except FileNotFoundError:
|
| |
+ + self.check_app_dirs()
|
| |
+ + bottles = []
|
| |
+
|
| |
+ # Empty local bottles
|
| |
+ self.local_bottles = {}
|
| |
Upstream tag: 51.11
Upstream commit: 89abf684
Release monitoring project: 155688
Resolves rhbz#2264828
If you need to do any change in this pull request, you can clone Packit's fork and push directly to the source branch of this PR (provided you have commit access to this repository):
Alternatively, if you already have the package repository cloned, you can just fetch the Packit's fork:
If you have the
koji_build
job configured as well, make sure to configure theallowed_pr_authors
and/orallowed_committers
(see the docs) since by default, Packit reacts only to its own PRs.Before pushing builds/updates, please remember to check the new version against the packaging guidelines.
For example, please:
:warning: Changed behaviour of loading the Packit configuration for koji_build and bodhi_update jobs
We would like to bring to your attention a recent update regarding the loading of Packit configuration for
koji_build
andbodhi_update
jobs. Going forward, the configuration for these jobs will be loaded from the default repository branch (rawhide
) instead of the respective branches. This aligns with the behavior of thepull_from_upstream
job. We believe this adjustment will simplify the onboarding process and enhance the overall user experience.