Skip to content

Commit

Permalink
Release 5.2.2-rc.3
Browse files Browse the repository at this point in the history
  • Loading branch information
iongion committed Sep 8, 2024
1 parent 640e716 commit 4fc548b
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 37 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## 5.2.2-rc.3 - 2024-09-08

## Fixed

- Connection defaults to first available podman (virtualized or native) at first start
- Ability to set default connection was broken

## 5.2.2-rc.2 - 2024-09-08

## Fixed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.2.2-rc.2
5.2.2-rc.3
2 changes: 1 addition & 1 deletion docs/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.2.2-rc.2
5.2.2-rc.3
32 changes: 16 additions & 16 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" data-version="5.2.2-rc.2">
<html lang="en" data-version="5.2.2-rc.3">

<head>
<meta charset="UTF-8" />
Expand All @@ -13,9 +13,9 @@
<link rel="preconnect" href="//fonts.googleapis.com" />
<link rel="preconnect" href="//fonts.gstatic.com" crossorigin />
<link rel="stylesheet" href="//fonts.googleapis.com/css2?family=Montserrat:wght@100;300;500;700&display=swap" />
<link rel="stylesheet" href="./css/common.css?v=5.2.2-rc.2" />
<link rel="stylesheet" href="./css/dark-theme.css?v=5.2.2-rc.2" id="themelink" />
<link rel="stylesheet" href="./css/responsive.css?v=5.2.2-rc.2" />
<link rel="stylesheet" href="./css/common.css?v=5.2.2-rc.3" />
<link rel="stylesheet" href="./css/dark-theme.css?v=5.2.2-rc.3" id="themelink" />
<link rel="stylesheet" href="./css/responsive.css?v=5.2.2-rc.3" />
<title>Podman Desktop Companion</title>
</head>

Expand Down Expand Up @@ -54,51 +54,51 @@ <h1>The super duper<br /><a href="https://github.com/iongion/podman-desktop-comp
</div>
<div class="downloadSection">
<div class="download">
<a class="downloadButton" href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.2/podman-desktop-companion-x86_64-5.2.2-rc.2.AppImage">
<a class="downloadButton" href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.3/podman-desktop-companion-x86_64-5.2.2-rc.3.AppImage">
<i class="fab fa-linux"></i>
&nbsp;Download for Linux
</a>
<ul class="downloadBundles">
<li>
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.2/podman-desktop-companion-x86_64-5.2.2-rc.2.AppImage">AppImage</a>
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.3/podman-desktop-companion-x86_64-5.2.2-rc.3.AppImage">AppImage</a>
</li>
<li>
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.2/podman-desktop-companion-x86_64-5.2.2-rc.2.flatpak">flatpak</a>
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.3/podman-desktop-companion-x86_64-5.2.2-rc.3.flatpak">flatpak</a>
</li>
<li>
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.2/podman-desktop-companion-x86_64-5.2.2-rc.2.rpm">rpm</a>
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.3/podman-desktop-companion-x86_64-5.2.2-rc.3.rpm">rpm</a>
</li>
<li>
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.2/podman-desktop-companion-amd64-5.2.2-rc.2.deb">deb</a>
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.3/podman-desktop-companion-amd64-5.2.2-rc.3.deb">deb</a>
</li>
<li>
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.2/podman-desktop-companion-amd64-5.2.2-rc.2.pacman">pacman</a>
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.3/podman-desktop-companion-amd64-5.2.2-rc.3.pacman">pacman</a>
</li>
</ul>
</div>
<div class="download">
<a class="downloadButton" href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.2/podman-desktop-companion-x64-5.2.2-rc.2.exe">
<a class="downloadButton" href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.3/podman-desktop-companion-x64-5.2.2-rc.3.exe">
<i class="fab fa-windows"></i>
&nbsp;Download for Windows
</a>
<ul class="downloadBundles">
<li>
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.2/podman-desktop-companion-x64-5.2.2-rc.2.exe">Installer - exe</a>
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.3/podman-desktop-companion-x64-5.2.2-rc.3.exe">Installer - exe</a>
</li>
</ul>
</div>
<div class="download">
<a class="downloadButton" href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.2/podman-desktop-companion-x64-5.2.2-rc.2.dmg">
<a class="downloadButton" href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.3/podman-desktop-companion-x64-5.2.2-rc.3.dmg">
<i class="fab fa-apple"></i>
&nbsp;Download for Mac
</a>
<ul class="downloadBundles">
<li>Disk image</li>
<li>
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.2/podman-desktop-companion-x64-5.2.2-rc.2.dmg">Intel</a>
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.3/podman-desktop-companion-x64-5.2.2-rc.3.dmg">Intel</a>
</li>
<li class="alternative">
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.2/podman-desktop-companion-arm64-5.2.2-rc.2.dmg">Apple</a>
<a href="https://github.com/iongion/podman-desktop-companion/releases/download/5.2.2-rc.3/podman-desktop-companion-arm64-5.2.2-rc.3.dmg">Apple</a>
</li>
</ul>
</div>
Expand Down Expand Up @@ -339,4 +339,4 @@ <h2>Have a question?</h2>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>

</html>
</html>
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "podman-desktop-companion",
"title": "Podman Desktop Companion",
"version": "5.2.2-rc.2",
"version": "5.2.2-rc.3",
"author": "Ionut Stoica <stoica.ionut@gmail.com>",
"description": "Podman Desktop Companion",
"main": "build/main-5.2.2-rc.2.mjs",
"main": "build/main-5.2.2-rc.3.mjs",
"homepage": "./",
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"manifest_version": 2,
"name": "Podman desktop companion",
"permissions": ["webNavigation"],
"version": "5.2.2-rc.2"
"version": "5.2.2-rc.3"
}
10 changes: 5 additions & 5 deletions src/web-app/domain/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ function delayCheckUpdate() {
}, 1500);
}

export const DEFAULT_SYSTEM_CONNECTION_ID = "system-default.podman";

export const createModel = async (registry: AppRegistry): Promise<AppModel> => {
const osType = (window as any).CURRENT_OS_TYPE || OperatingSystem.Unknown;
const instance = Application.getInstance();
Expand Down Expand Up @@ -76,11 +78,6 @@ export const createModel = async (registry: AppRegistry): Promise<AppModel> => {
state.systemNotifications = [];
}),
syncGlobalUserSettings: action((state, values) => {
if (values?.connector?.default) {
values.connector = {
default: "system-default.podman"
};
}
state.userSettings = values;
}),
syncEngineUserSettings: action((state, values) => {
Expand Down Expand Up @@ -184,6 +181,9 @@ export const createModel = async (registry: AppRegistry): Promise<AppModel> => {
const environment = import.meta.env.ENVIRONMENT;
const version = import.meta.env.PROJECT_VERSION;
const userSettings = await instance.getGlobalUserSettings();
if (!userSettings?.connector?.default) {
userSettings.connector = { default: DEFAULT_SYSTEM_CONNECTION_ID };
}
if (!connection) {
systemNotifier.transmit("startup.phase", {
trace: "Listing connections"
Expand Down
2 changes: 0 additions & 2 deletions src/web-app/screens/Container/ActionsMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,6 @@ export const ActionsMenu: React.FC<ActionsMenuProps> = ({ container: userContain
const canRestart = !isPaused && !pending;
const canRemove = !isRunning && !pending;

console.debug({ isPaused });

let containerServiceUrl = "";
let expandAsOverlay;
let withInlinePlayerActionsWidget: React.ReactNode | undefined;
Expand Down
1 change: 1 addition & 0 deletions src/web-app/screens/Settings/ActionsMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export const ActionsMenu: React.FC<ActionsMenuProps> = ({ connection, onEdit }:
[performActionCommand]
);
const onMakeDefault = useCallback(() => {
console.debug("Make default connection", connection.id);
setGlobalUserSettings({
connector: {
default: connection.id
Expand Down
2 changes: 2 additions & 0 deletions src/web-app/screens/Settings/UserSettingsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ export const Screen: AppScreen<ScreenProps> = () => {
}, {});
}, [connectors]);

console.debug("Connections", defaultConnector);

const onAddConnectionClick = useCallback(() => {
setEditedConnection(undefined);
setWithManagerDrawer(true);
Expand Down
16 changes: 8 additions & 8 deletions support/homebrew-cask/formula.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,35 +60,35 @@
"tap": "homebrew/cask",
"tap_git_head": "2e01e559350aa6f88679fcc94a5e74b90c432cc6",
"token": "podman-desktop-companion",
"url": "https://github.com/iongion/podman-desktop-companion/releases/podman-desktop-companion-arm64-5.2.2-rc.2.dmg",
"url": "https://github.com/iongion/podman-desktop-companion/releases/podman-desktop-companion-arm64-5.2.2-rc.3.dmg",
"url_specs": {
"verified": "github.com/iongion/podman-desktop-companion/"
},
"variations": {
"big_sur": {
"sha256": "1b8431448986e6b110c68166ba09dacc1f7e632ed21e398e2f94ab24d5328daf",
"url": "https://github.com/iongion/podman-desktop-companion/releases/podman-desktop-companion-x64-5.2.2-rc.2.dmg"
"url": "https://github.com/iongion/podman-desktop-companion/releases/podman-desktop-companion-x64-5.2.2-rc.3.dmg"
},
"catalina": {
"sha256": "1b8431448986e6b110c68166ba09dacc1f7e632ed21e398e2f94ab24d5328daf",
"url": "https://github.com/iongion/podman-desktop-companion/releases/podman-desktop-companion-x64-5.2.2-rc.2.dmg"
"url": "https://github.com/iongion/podman-desktop-companion/releases/podman-desktop-companion-x64-5.2.2-rc.3.dmg"
},
"monterey": {
"sha256": "1b8431448986e6b110c68166ba09dacc1f7e632ed21e398e2f94ab24d5328daf",
"url": "https://github.com/iongion/podman-desktop-companion/releases/podman-desktop-companion-x64-5.2.2-rc.2.dmg"
"url": "https://github.com/iongion/podman-desktop-companion/releases/podman-desktop-companion-x64-5.2.2-rc.3.dmg"
},
"sequoia": {
"sha256": "1b8431448986e6b110c68166ba09dacc1f7e632ed21e398e2f94ab24d5328daf",
"url": "https://github.com/iongion/podman-desktop-companion/releases/podman-desktop-companion-x64-5.2.2-rc.2.dmg"
"url": "https://github.com/iongion/podman-desktop-companion/releases/podman-desktop-companion-x64-5.2.2-rc.3.dmg"
},
"sonoma": {
"sha256": "1b8431448986e6b110c68166ba09dacc1f7e632ed21e398e2f94ab24d5328daf",
"url": "https://github.com/iongion/podman-desktop-companion/releases/podman-desktop-companion-x64-5.2.2-rc.2.dmg"
"url": "https://github.com/iongion/podman-desktop-companion/releases/podman-desktop-companion-x64-5.2.2-rc.3.dmg"
},
"ventura": {
"sha256": "1b8431448986e6b110c68166ba09dacc1f7e632ed21e398e2f94ab24d5328daf",
"url": "https://github.com/iongion/podman-desktop-companion/releases/podman-desktop-companion-x64-5.2.2-rc.2.dmg"
"url": "https://github.com/iongion/podman-desktop-companion/releases/podman-desktop-companion-x64-5.2.2-rc.3.dmg"
}
},
"version": "5.2.2-rc.2"
"version": "5.2.2-rc.3"
}
2 changes: 1 addition & 1 deletion support/homebrew-cask/podman-desktop-companion.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cask "podman-desktop-companion" do
arch arm: "arm64", intel: "x64"

version "5.2.2-rc.2"
version "5.2.2-rc.3"
sha256 arm: "766e95f921ec223ade4ba06e82558a77cd890962f2a4e25d41a047d88c1b10bf",
intel: "1b8431448986e6b110c68166ba09dacc1f7e632ed21e398e2f94ab24d5328daf"

Expand Down

0 comments on commit 4fc548b

Please sign in to comment.