Compare commits

..

6 Commits

Author SHA256 Message Date
cad7a00b2d
Fix incorrect regex not allowing correct searches bsc#1232687 2024-11-05 13:39:25 +00:00
68fb781e88 Fix systemd units folder for leap and sle 2024-08-12 18:13:16 +02:00
Dominique Leuenberger
d649604f9c Accepting request 1190948 from systemsmanagement:cockpit
- New version 91. Changes since 84:
  * Implement pull option for existing images
  * Use binary http channel for podman socket for non-UTF-8 robustness
  * Stop using obsolete cockpit.utf8_{de,en}coder() API
  * Translation updates
  * Bug fixes and performance improvements
- update_version.sh: fetch package-lock.json from upstream
  instead of regenerating.

OBS-URL: https://build.opensuse.org/request/show/1190948
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cockpit-podman?expand=0&rev=18
2024-08-02 15:25:37 +00:00
0b402549db OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit-podman?expand=0&rev=54 2024-07-31 13:26:12 +00:00
3cd7698a8e OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit-podman?expand=0&rev=53 2024-07-31 12:56:48 +00:00
b0cb5fadd2 - New version 91. Changes since 84:
* Implement pull option for existing images
  * Use binary http channel for podman socket for non-UTF-8 robustness
  * Stop using obsolete cockpit.utf8_{de,en}coder() API
  * Translation updates
  * Bug fixes and performance improvements
- update_version.sh: fetch package-lock.json from upstream
  instead of regenerating.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit-podman?expand=0&rev=52
2024-07-31 12:56:07 +00:00
3 changed files with 28 additions and 0 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Nov 5 13:02:39 UTC 2024 - Alice Brooks <alice.brooks@suse.com>
- correct-container-search.patch: Fixes issues searching containers
bsc#1232687
-------------------------------------------------------------------
Fri Aug 9 17:49:45 UTC 2024 - Herbert Graeber <herbert@graeber-clan.de>
- Fix systemd units folder for leap and sle (Similar issue like boo#1226541)
-------------------------------------------------------------------
Wed Jul 31 12:42:45 UTC 2024 - Adam Majer <adam.majer@suse.de>

View File

@ -28,6 +28,7 @@ Source11: node_modules.spec.inc
Source12: update_version.sh
%include %_sourcedir/node_modules.spec.inc
Patch10: load-css-overrides.patch
Patch11: correct-container-search.patch
BuildArch: noarch
BuildRequires: appstream-glib
Requires: cockpit-bridge >= 138
@ -37,6 +38,7 @@ Requires: podman >= 2.0.4
BuildRequires: cockpit-devel >= 298
BuildRequires: local-npm-registry
BuildRequires: sassc
BuildRequires: sed
%description
Cockpit component for managing Podman containers
@ -59,6 +61,10 @@ export PREFIX=%{_prefix}
%make_install
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
%if 0%{?suse_version} == 1500
sed -i -e 's#"/lib/systemd/system#"%{_unitdir}#' %{buildroot}%{_datadir}/cockpit/podman/manifest.json
%endif
%files
%doc README.md
%license LICENSE

View File

@ -0,0 +1,11 @@
--- a/src/ImageRunModal.jsx
+++ b/src/ImageRunModal.jsx
@@ -516,7 +516,7 @@ export class ImageRunModal extends React.Component {
}
// Strip out all non-allowed container image characters when filtering.
- let regexString = searchText.replace(/[^\w_.:-]/g, "");
+ let regexString = searchText.replace(/[^/\w_.:-]/g, "");
// Strip image registry option if set for comparing results for docker.io searching for docker.io/fedora
// returns docker.io/$username/fedora for example.
if (regexString.includes('/')) {