Compare commits

...

No commits in common. "c9-beta" and "c9s-291" have entirely different histories.

11 changed files with 563 additions and 578 deletions

View File

@ -1,2 +1 @@
0e8977b7aa125528c77b4a0d6b6c5862cf95efa8 SOURCES/cockpit-machines-348.tar.xz
9a3a7328a98ec18a184a3d2d465de18c21ca620f SOURCES/cockpit-machines-node-348.tar.xz
811be751f62fae5da63cdca3aed34a3c50d988f1 cockpit-machines-291.tar.xz

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

61
.gitignore vendored
View File

@ -1,2 +1,59 @@
SOURCES/cockpit-machines-348.tar.xz
SOURCES/cockpit-machines-node-348.tar.xz
/cockpit-machines-242.tar.gz
/cockpit-machines-242.1.tar.gz
/cockpit-machines-243.tar.gz
/cockpit-machines-243.1.tar.gz
/cockpit-machines-244.tar.gz
/cockpit-machines-244.1.tar.gz
/cockpit-machines-245.tar.gz
/cockpit-machines-246.tar.gz
/cockpit-machines-247.tar.gz
/cockpit-machines-248.tar.gz
/cockpit-machines-249.tar.gz
/cockpit-machines-249.1.tar.gz
/cockpit-machines-250.tar.gz
/cockpit-machines-250.1.tar.gz
/cockpit-machines-251.tar.gz
/cockpit-machines-252.tar.xz
/cockpit-machines-253.tar.xz
/cockpit-machines-254.tar.xz
/cockpit-machines-255.tar.xz
/cockpit-machines-256.tar.xz
/cockpit-machines-257.tar.xz
/cockpit-machines-258.tar.xz
/cockpit-machines-258.1.tar.xz
/cockpit-machines-259.tar.xz
/cockpit-machines-260.tar.xz
/cockpit-machines-261.tar.xz
/cockpit-machines-262.tar.xz
/cockpit-machines-263.tar.xz
/cockpit-machines-264.tar.xz
/cockpit-machines-265.tar.xz
/cockpit-machines-266.tar.xz
/cockpit-machines-267.tar.xz
/cockpit-machines-268.tar.xz
/cockpit-machines-269.tar.xz
/cockpit-machines-270.tar.xz
/cockpit-machines-270.1.tar.xz
/cockpit-machines-270.2.tar.xz
/cockpit-machines-271.tar.xz
/cockpit-machines-272.tar.xz
/cockpit-machines-273.tar.xz
/cockpit-machines-274.tar.xz
/cockpit-machines-275.tar.xz
/cockpit-machines-276.tar.xz
/cockpit-machines-277.tar.xz
/cockpit-machines-278.tar.xz
/cockpit-machines-279.tar.xz
/cockpit-machines-280.tar.xz
/cockpit-machines-281.tar.xz
/cockpit-machines-282.tar.xz
/cockpit-machines-283.tar.xz
/cockpit-machines-284.tar.xz
/cockpit-machines-285.tar.xz
/cockpit-machines-286.tar.xz
/cockpit-machines-287.tar.xz
/cockpit-machines-288.tar.xz
/cockpit-machines-289.tar.xz
/cockpit-machines-289.1.tar.xz
/cockpit-machines-290.tar.xz
/cockpit-machines-291.tar.xz

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# cockpit-machines
The cockpit-machines package

3
README.packit Normal file
View File

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.75.0.post16+g33d32c7.

View File

@ -1,574 +0,0 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Copyright (C) 2021 Red Hat, Inc.
Name: cockpit-machines
Version: 348
Release: 1%{?dist}
Summary: Cockpit user interface for virtual machines
License: LGPL-2.1-or-later AND MIT
URL: https://github.com/cockpit-project/cockpit-machines
# distributions which ship nodejs-esbuild can rebuild the bundle during package build
%if 0%{?fedora} >= 42
%define rebuild_bundle 1
%endif
Source0: https://github.com/cockpit-project/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: https://github.com/cockpit-project/%{name}/releases/download/%{version}/%{name}-node-%{version}.tar.xz
BuildArch: noarch
%if 0%{?suse_version}
BuildRequires: appstream-glib
%else
BuildRequires: libappstream-glib
%endif
BuildRequires: make
BuildRequires: gettext
%if 0%{?rhel} && 0%{?rhel} <= 8
BuildRequires: libappstream-glib-devel
%endif
%if %{defined rebuild_bundle}
BuildRequires: /usr/bin/node
BuildRequires: nodejs-esbuild
%endif
Requires: cockpit-bridge >= 215
%if 0%{?suse_version}
Requires: libvirt-daemon-qemu
%else
Requires: libvirt-daemon-driver-qemu
Requires: libvirt-daemon-driver-network
Requires: libvirt-daemon-driver-nodedev
Requires: libvirt-daemon-driver-storage-core
Requires: libvirt-daemon-config-network
Recommends: libvirt-daemon-driver-storage-disk
%if 0%{?rhel}
Requires: qemu-kvm
Suggests: qemu-kvm-block-curl
%else
# smaller footprint on Fedora, as qemu-kvm is really expensive on a server
Requires: qemu-kvm-core
Recommends: qemu-block-curl
Recommends: qemu-char-spice
Recommends: qemu-device-usb-host
Recommends: qemu-device-usb-redirect
# HACK: https://bugzilla.redhat.com/show_bug.cgi?id=2170110
%if 0%{?fedora} >= 38
Requires: (qemu-audio-spice if qemu-char-spice)
%endif
%endif
%endif
Requires: libvirt-client
Requires: libvirt-dbus >= 1.2.0
Requires: virt-install >= 3.0.0
# Optional components
Recommends: libosinfo
Recommends: python3-gobject-base
Suggests: (qemu-virtiofsd or virtiofsd)
Provides: bundled(npm(@novnc/novnc)) = 1.5.0
Provides: bundled(npm(@patternfly/react-core)) = 6.4.1
Provides: bundled(npm(@patternfly/react-icons)) = 6.4.0
Provides: bundled(npm(@patternfly/react-styles)) = 6.4.0
Provides: bundled(npm(@patternfly/react-table)) = 6.4.1
Provides: bundled(npm(@patternfly/react-tokens)) = 6.4.0
Provides: bundled(npm(@xterm/addon-webgl)) = 0.19.0
Provides: bundled(npm(@xterm/xterm)) = 6.0.0
Provides: bundled(npm(dequal)) = 2.0.3
Provides: bundled(npm(focus-trap)) = 7.6.4
Provides: bundled(npm(ipaddr.js)) = 2.3.0
Provides: bundled(npm(lodash)) = 4.17.23
Provides: bundled(npm(prop-types)) = 15.8.1
Provides: bundled(npm(react)) = 18.3.1
Provides: bundled(npm(react-dom)) = 18.3.1
Provides: bundled(npm(scheduler)) = 0.23.2
Provides: bundled(npm(tabbable)) = 6.4.0
Provides: bundled(npm(throttle-debounce)) = 5.0.2
Provides: bundled(npm(tslib)) = 2.8.1
%description
Cockpit component for managing libvirt virtual machines.
%prep
%setup -q -n %{name}
%if %{defined rebuild_bundle}
%setup -q -D -T -a 1 -n %{name}
%endif
%build
%if %{defined rebuild_bundle}
rm -rf dist
# HACK: node module packaging is broken in Fedora ≤ 43; should be in
# common location, not major version specific one
NODE_ENV=production NODE_PATH=/usr/lib/node_modules:$(echo /usr/lib/node_modules_*) ./build.js
%else
# Use pre-built bundle on distributions without nodejs-esbuild
%endif
%install
%make_install PREFIX=/usr
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
%files
%doc README.md
%license LICENSE dist/index.js.LEGAL.txt dist/index.css.LEGAL.txt
%{_datadir}/cockpit/*
%{_datadir}/metainfo/*
# The changelog is automatically generated and merged
%changelog
* Wed Feb 11 2026 Packit <hello@packit.dev> - 348-1
- Convert license headers to SPDX format
* Wed Jan 28 2026 Packit <hello@packit.dev> - 347-1
- Bug fixes and translation updates
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 346-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 346-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Wed Dec 10 2025 Packit <hello@packit.dev> - 346-1
- Performance improvements
- Translation updates
* Wed Nov 26 2025 Packit <hello@packit.dev> - 345-1
- New virtual machines don't get SPICE graphics anymore
- Support for network port forwarding
- Bug fixes and translation updates
* Wed Nov 12 2025 Packit <hello@packit.dev> - 344-1
- Port forwarding for user session VMs
- "Shutdown and restart" action
- Faster startup
* Thu Oct 30 2025 Packit <hello@packit.dev> - 343-1
- Memory usage now shows numbers reported by the guest (RHEL-116731)
* Wed Oct 15 2025 Packit <hello@packit.dev> - 342-1
- Bug fixes and translation updates
* Thu Oct 02 2025 Packit <hello@packit.dev> - 341-1
- Improved UX for Disks and Network interface tables
- Bug fixes and translation updates
* Wed Sep 17 2025 Packit <hello@packit.dev> - 340-1
- Use exclusive VNC connections with "Remote resizing"
* Wed Sep 03 2025 Packit <hello@packit.dev> - 339-1
- Serial consoles now keep their content and stay alive
- No longer copies qemu.conf values into VM definitions
* Wed Aug 20 2025 Packit <hello@packit.dev> - 338-1
- Translation and dependency updates
- Detachable VNC console
* Wed Aug 06 2025 Packit <hello@packit.dev> - 337-1
Bug fixes and translation updates
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 336-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Wed Jul 23 2025 Packit <hello@packit.dev> - 336-1
- Graphical VNC and serial consoles improvements
- Control VNC console resizing and scaling
- Bug fixes and translation updates
* Wed Jul 09 2025 Packit <hello@packit.dev> - 335-1
- Bug fixes and translation updates
* Wed Jun 25 2025 Packit <hello@packit.dev> - 334-1
- Bug fixes and translation updates
* Wed Jun 04 2025 Packit <hello@packit.dev> - 333-1
- Virtual network interfaces can now select source mode
- Bug fixes and translation updates
* Wed May 21 2025 Packit <hello@packit.dev> - 332-1
- The "shareable" attribute of disks is no longer modified by Cockpit
- Bug fixes and translation updates
* Wed May 07 2025 Packit <hello@packit.dev> - 331-1
- Translation updates
- Bug fixes
* Wed Apr 23 2025 Packit <hello@packit.dev> - 330-1
- Upgraded to Patternfly 6
* Wed Mar 12 2025 Packit <hello@packit.dev> - 329-1
- Translation updates
- Bug fixes
* Thu Feb 27 2025 Packit <hello@packit.dev> - 328-1
- Bug fixes
* Wed Jan 29 2025 Packit <hello@packit.dev> - 327-1
- Translation updates
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 326-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Dec 18 2024 Packit <hello@packit.dev> - 326-1
- Download and install unsupported and older operating systems
* Wed Dec 04 2024 Packit <hello@packit.dev> - 325-1
- Improve rendering of VM descriptions
- Translation updates
* Wed Nov 20 2024 Packit <hello@packit.dev> - 324-1
- Limit size of descriptions
* Wed Nov 06 2024 Packit <hello@packit.dev> - 323-1
- Action to add a TPM
* Wed Oct 23 2024 Packit <hello@packit.dev> - 322-1
- Bug fixes and translation updates
* Wed Oct 09 2024 Packit <hello@packit.dev> - 321-1
- Drop usage of virtinterfaced
* Wed Sep 25 2024 Packit <hello@packit.dev> - 320-1
- Improve snapshot memory path handling
- Add support for VM descriptions
* Wed Sep 04 2024 Packit <hello@packit.dev> - 319-1
- Translation updates
- Bug fixes
* Tue Aug 20 2024 Packit <hello@packit.dev> - 318-1
- Translation updates
- Test fixes
* Thu Aug 08 2024 Packit <hello@packit.dev> - 317-1
- Bug fixes
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 316-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jul 10 2024 Packit <hello@packit.dev> - 316-1
- Bug fixes and performance improvements
* Wed Jun 26 2024 Packit <hello@packit.dev> - 315-1
- Translation updates and bug fixes
* Wed Jun 12 2024 Packit <hello@packit.dev> - 314-1
- Fix translation extraction
- Translation updates
* Thu May 30 2024 Packit <hello@packit.dev> - 313-1
- Updates to translations
* Thu Apr 25 2024 Packit <hello@packit.dev> - 312-1
- Bug fixes and performance improvements
Resolves: jira#RHEL-33468
* Wed Apr 10 2024 Packit <hello@packit.dev> - 311-1
- Allow pasting multiple SSH keys at once in Create VM dialog
- Fix detaching host device for running VMs
* Wed Mar 27 2024 Packit <hello@packit.dev> - 310-1
- Bug fixes and performance improvements
* Wed Mar 13 2024 Packit <hello@packit.dev> - 309-1
- "bug fixes and performance improvements"
* Tue Feb 20 2024 Packit <hello@packit.dev> - 308-1
- Add TPM when switching to EFI
- Translation updates (RHEL-14230)
* Wed Feb 14 2024 Packit <hello@packit.dev> - 307-1
- Mass SPICE replacement
- Pre-formatted Block Device storage pool support
* Wed Jan 31 2024 Packit <hello@packit.dev> - 306-1
- Machines: Action to Replace SPICE devices
- Machines: Create external snapshots when supported
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 305-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 305-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jan 18 2024 Packit <hello@packit.dev> - 305-1
- many small bug fixes
* Fri Dec 15 2023 Martin Pitt <mpitt@redhat.com> - 304-1
- Performance and stability improvements
* Wed Nov 29 2023 Packit <hello@packit.dev> - 303-1
- Change "Add disk" default behavior
* Wed Nov 15 2023 Packit <hello@packit.dev> - 302-1
- Performance and stability improvements
* Thu Nov 02 2023 Packit <hello@packit.dev> - 301.1-1
- Test fixes
* Wed Oct 18 2023 Packit <hello@packit.dev> - 300-1
- Add SSH keys to VM creation dialog
* Wed Sep 20 2023 Packit <hello@packit.dev> - 299-1
- Performance and stability improvements
* Wed Sep 06 2023 Packit <hello@packit.dev> - 298-1
- Bug fixes and stability improvements
* Wed Aug 23 2023 Packit <hello@packit.dev> - 297-1
- Bug fixes and stability improvements
* Wed Aug 09 2023 Packit <hello@packit.dev> - 296-1
- Update to PatternFly 5
* Wed Jul 26 2023 Packit <hello@packit.dev> - 295-1
- Performance and stability improvements
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 294-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jul 12 2023 Packit <hello@packit.dev> - 294-1
- Bug fixes and translation updates
* Wed Jun 28 2023 Packit <hello@packit.dev> - 293-1
- Confirm shutdown actions
- Show virtual interface's TAP device
* Thu Jun 15 2023 Packit <hello@packit.dev> - 292-1
- Add manifest condition for the Python bridge
* Thu Jun 01 2023 Packit <hello@packit.dev> - 291-1
- Maintenance and translation updates
* Tue May 16 2023 Packit <hello@packit.dev> - 290-1
- Apply watchdog changes on next boot if hotplug fails
* Fri May 05 2023 Packit <hello@packit.dev> - 289.1-1
- Fix alignment of icons in main view
* Thu May 04 2023 Packit <hello@packit.dev> - 289-1
- Update to PatternFly 5 Alpha
- Option to use RAW volume during VM creation
- Redesign VMs CPU configuration
* Wed Apr 19 2023 Packit <hello@packit.dev> - 288-1
- Indicate need for shutdown
- Delete storage file upon disk detachment
* Thu Apr 06 2023 Packit <hello@packit.dev> - 287-1
- Show an alert when virtualization is disabled in BIOS/EFI
* Wed Mar 22 2023 Packit <hello@packit.dev> - 286-1
- Create VM based on cloud image and start it later
* Wed Mar 08 2023 Packit <hello@packit.dev> - 285-1
- Stability and performance improvements
* Wed Feb 22 2023 Packit <hello@packit.dev> - 284-1
- Stability and performance improvements
* Wed Feb 08 2023 Packit <hello@packit.dev> - 283-1
- Stability and performance improvements
* Wed Jan 25 2023 Packit <hello@packit.dev> - 282-1
- Option to forcefully revert a snapshot
- Fix tabular numbers font
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 281-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jan 11 2023 Packit <hello@packit.dev> - 281-1
- Summarize system and user session differences
- Virtual watchdog device support
* Tue Jan 03 2023 Packit <hello@packit.dev> - 280-1
- Start using tabular fonts
- Other UI fixes and improvements
* Thu Dec 01 2022 Packit <hello@packit.dev> - 279-1
- Autodetect file's format when attaching disk
* Wed Nov 16 2022 Packit <hello@packit.dev> - 278-1
- Stability and performance improvements
* Mon Nov 07 2022 Packit <hello@packit.dev> - 277-1
- Dark theme support
- Allow TRIM/UNMAP requests by default for newly added disks
- Insert and eject CD & DVD media
* Wed Oct 19 2022 Packit <hello@packit.dev> - 276-1
- Add connection information to the VM detail page
* Wed Sep 21 2022 Packit <hello@packit.dev> - 275-1
- Improvements of offline token management
* Wed Sep 07 2022 Packit <hello@packit.dev> - 274-1
- Stability and performance improvements
* Wed Aug 24 2022 Packit <hello@packit.dev> - 273-1
- Fix downloading of RHEL images
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 272-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jul 20 2022 Packit <hello@packit.dev> - 272-1
- Download RHEL images
* Thu Jun 23 2022 Packit <hello@packit.dev> - 271-1
- Test fixes
* Sat Jun 11 2022 Packit <hello@packit.dev> - 270.2-1
- Fix test/reference setup in release tarball for tests
* Thu Jun 09 2022 Packit <hello@packit.dev> - 270.1-1
- Fix release tarball
* Wed Jun 08 2022 Packit <hello@packit.dev> - 270-1
- Tests improvements and stabilization
* Tue May 24 2022 Marius Vollmer <mvollmer@redhat.com> - 269-1
- Machines: Redesign content removal dialogs
* Thu May 12 2022 Allison Karlitskaya <allison.karlitskaya@redhat.com> - 268-1
- Provide default name for new VMs
* Thu Apr 28 2022 Jelle van der Waa <jvanderwaa@redhat.com> - 267-1
- Tests improvements and stabilization
* Wed Apr 13 2022 Martin Pitt <martin@piware.de> - 266-1
- Redesign VM creation
- Remove static hosts from virtual network's DHCP
* Wed Mar 30 2022 Matej Marusak <mmarusak@redhat.com> - 265-1
- Translation updates
- Tests robustification
* Wed Mar 16 2022 Simon Kobyda <skobyda@redhat.com> - 264-1
- Disk serial number
- Multiple fixes of host device attachement
* Wed Mar 02 2022 Martin Pitt <martin@piware.de> - 263-1
- Delete storage files also when the VM is shut off
- Translation updates (rhbz#2017343)
* Thu Feb 24 2022 Martin Pitt <martin@piware.de> - 262-1
- Fix broken VM deletion dialog layout
- Translation updates (rhbz#2017343)
* Wed Feb 16 2022 Jelle van der Waa <jvanderwaa@redhat.com> - 261-1
- Tests improvements and stabilization
* Mon Jan 24 2022 Matej Marusak <mmarusak@redhat.com> - 260-1
- Tests improvements and stabilization
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 259-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jan 05 2022 Simon Kobyda <skobyda@redhat.com> - 259-1
- Update to upstream 259 release
* Mon Dec 13 2021 Martin Pitt <martin@piware.de> - 258.1-1
- Test fixes
* Thu Dec 09 2021 Marius Vollmer <mvollmer@redhat.com> - 258-1
- Move storage pool actions outside of the expanded row
- Move the 'Overview' tab content from the network rows to the expanded row directly
* Fri Nov 19 2021 Katerina Koukiou <kkoukiou@redhat.com> - 257-1
- Test fixes for RHEL gating
* Wed Nov 10 2021 Katerina Koukiou <kkoukiou@redhat.com> - 256-1
- Now officially supported on Arch Linux (https://archlinux.org/)
- Support selecting between consoles of the same type
* Wed Oct 27 2021 Jelle van der Waa <jvanderwaa@redhat.com> - 255-1
- Translation updates
* Wed Oct 13 2021 Martin Pitt <martin@piware.de> - 254-1
- Support configuring static MAC IP address mappings
* Wed Sep 29 2021 Matej Marusak <mmarusak@redhat.com> - 253-1
- Support adding and removing host devices
* Wed Sep 15 2021 Katerina Koukiou <kkoukiou@redhat.com> - 252-1
- Add support for renaming VMs
* Wed Sep 01 2021 Simon Kobyda <skobyda@redhat.com> - 251-1
- Bug fixes and improvements
* Tue Aug 24 2021 Matej Marusak <mmarusak@redhat.com> - 250.1-1
- Test fixes for RHEL gating
* Wed Aug 18 2021 Marius Vollmer <mvollmer@redhat.com> - 250-1
- Update to upstream 250 release
* Wed Aug 04 2021 Martin Pitt <martin@piware.de> - 249.1-1
- Test fixes for Fedora/RHEL gating
* Wed Aug 04 2021 Martin Pitt <martin@piware.de> - 249-1
- Disable non-shared storage migration on RHEL
- Lots of bug fixes
- Translation updates
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 248-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 21 2021 Matej Marusak <mmarusak@redhat.com> - 248-1
- Some nice bug fixes
* Wed Jul 07 2021 Allison Karlitskaya <allison.karlitskaya@redhat.com> - 247-1
- A myriad of bug fixes
* Wed Jun 23 2021 Katerina Koukiou <kkoukiou@redhat.com> - 246-1
- Share host files with the guest using virtiofs
- Show list of pass-through devices
* Wed Jun 09 2021 Marius Vollmer <mvollmer@redhat.com> - 245-1
- Updated translations
- Fixed localization of VncConsole
* Wed May 19 2021 Martin Pitt <martin@piware.de> - 244.1-1
- Fix crash on VM deletion with cockpit 244
* Wed May 12 2021 Katerina Koukiou <kkoukiou@redhat.com> - 244-1
- Edit the MAC address of a VMs network interface
* Thu Apr 22 2021 Martin Pitt <martin@piware.de> - 243.1-1
- Fix tooltip on Plug/Unplug button
- Integration test fixes
* Wed Apr 14 2021 Matej Marusak <mmarusak@redhat.com> - 243-1
- PatternFly 4 updates
- Translation updates
- Correctly manage editing of unknown bus type
* Thu Apr 01 2021 Katerina Koukiou <kkoukiou@redhat.com> - 242.1-1
- Add MIT to the list of licenses in spec file

392
cockpit-machines.spec Normal file
View File

@ -0,0 +1,392 @@
#
# Copyright (C) 2021 Red Hat, Inc.
#
# Cockpit is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Cockpit is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Cockpit; If not, see <http://www.gnu.org/licenses/>.
#
Name: cockpit-machines
Version: 291
Release: 1%{?dist}
Summary: Cockpit user interface for virtual machines
License: LGPL-2.1-or-later AND MIT
URL: https://github.com/cockpit-project/cockpit-machines
Source0: https://github.com/cockpit-project/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildArch: noarch
BuildRequires: libappstream-glib
BuildRequires: make
BuildRequires: gettext
%if 0%{?rhel} && 0%{?rhel} <= 8
BuildRequires: libappstream-glib-devel
%endif
Requires: cockpit-bridge >= 215
%if 0%{?suse_version}
Requires: libvirt-daemon-qemu
%else
Requires: libvirt-daemon-driver-qemu
Requires: libvirt-daemon-driver-network
Requires: libvirt-daemon-driver-nodedev
Requires: libvirt-daemon-driver-storage-core
Requires: (libvirt-daemon-driver-interface if virt-install)
Requires: (libvirt-daemon-config-network if virt-install)
Recommends: libvirt-daemon-driver-storage-disk
%if 0%{?rhel}
Requires: qemu-kvm
%else
# smaller footprint on Fedora, as qemu-kvm is really expensive on a server
Requires: qemu-kvm-core
Recommends: qemu-block-curl
Recommends: qemu-char-spice
Recommends: qemu-device-usb-host
Recommends: qemu-device-usb-redirect
# HACK: https://bugzilla.redhat.com/show_bug.cgi?id=2170110
%if 0%{?fedora} >= 38
Requires: (qemu-audio-spice if qemu-char-spice)
%endif
%endif
%endif
Requires: libvirt-client
Requires: libvirt-dbus >= 1.2.0
# Optional components
Recommends: virt-install >= 3.0.0
Recommends: libosinfo
Recommends: python3-gobject-base
Suggests: (qemu-virtiofsd or virtiofsd)
Provides: bundled(npm(@babel/runtime)) = 7.21.5
Provides: bundled(npm(@novnc/novnc)) = 1.4.0
Provides: bundled(npm(@patternfly/patternfly)) = 5.0.0-alpha.43
Provides: bundled(npm(@patternfly/react-console)) = 5.0.0-alpha.1
Provides: bundled(npm(@patternfly/react-core)) = 5.0.0-alpha.83
Provides: bundled(npm(@patternfly/react-icons)) = 5.0.0-alpha.12
Provides: bundled(npm(@patternfly/react-styles)) = 5.0.0-alpha.8
Provides: bundled(npm(@patternfly/react-table)) = 5.0.0-alpha.85
Provides: bundled(npm(@patternfly/react-tokens)) = 5.0.0-alpha.9
Provides: bundled(npm(@spice-project/spice-html5)) = 0.2.1
Provides: bundled(npm(attr-accept)) = 2.2.2
Provides: bundled(npm(available-typed-arrays)) = 1.0.5
Provides: bundled(npm(call-bind)) = 1.0.2
Provides: bundled(npm(date-fns)) = 2.28.0
Provides: bundled(npm(deep-equal)) = 2.0.5
Provides: bundled(npm(define-properties)) = 1.2.0
Provides: bundled(npm(es-get-iterator)) = 1.1.3
Provides: bundled(npm(file-saver)) = 1.3.8
Provides: bundled(npm(file-selector)) = 0.6.0
Provides: bundled(npm(focus-trap)) = 7.4.0
Provides: bundled(npm(for-each)) = 0.3.3
Provides: bundled(npm(function-bind)) = 1.1.1
Provides: bundled(npm(functions-have-names)) = 1.2.3
Provides: bundled(npm(get-intrinsic)) = 1.2.0
Provides: bundled(npm(gopd)) = 1.0.1
Provides: bundled(npm(has-bigints)) = 1.0.2
Provides: bundled(npm(has-property-descriptors)) = 1.0.0
Provides: bundled(npm(has-symbols)) = 1.0.3
Provides: bundled(npm(has-tostringtag)) = 1.0.0
Provides: bundled(npm(has)) = 1.0.3
Provides: bundled(npm(internal-slot)) = 1.0.5
Provides: bundled(npm(is-arguments)) = 1.1.1
Provides: bundled(npm(is-bigint)) = 1.0.4
Provides: bundled(npm(is-boolean-object)) = 1.1.2
Provides: bundled(npm(is-callable)) = 1.2.7
Provides: bundled(npm(is-date-object)) = 1.0.5
Provides: bundled(npm(is-map)) = 2.0.2
Provides: bundled(npm(is-number-object)) = 1.0.7
Provides: bundled(npm(is-regex)) = 1.1.4
Provides: bundled(npm(is-set)) = 2.0.2
Provides: bundled(npm(is-string)) = 1.0.7
Provides: bundled(npm(is-symbol)) = 1.0.4
Provides: bundled(npm(is-typed-array)) = 1.1.10
Provides: bundled(npm(is-weakmap)) = 2.0.1
Provides: bundled(npm(is-weakset)) = 2.0.2
Provides: bundled(npm(isarray)) = 2.0.5
Provides: bundled(npm(js-tokens)) = 4.0.0
Provides: bundled(npm(lodash)) = 4.17.21
Provides: bundled(npm(loose-envify)) = 1.4.0
Provides: bundled(npm(object-assign)) = 4.1.1
Provides: bundled(npm(object-inspect)) = 1.12.3
Provides: bundled(npm(object-is)) = 1.1.5
Provides: bundled(npm(object-keys)) = 1.1.1
Provides: bundled(npm(object.assign)) = 4.1.4
Provides: bundled(npm(prop-types)) = 15.8.1
Provides: bundled(npm(react-dom)) = 18.2.0
Provides: bundled(npm(react-dropzone)) = 14.2.3
Provides: bundled(npm(react-is)) = 16.13.1
Provides: bundled(npm(react)) = 18.2.0
Provides: bundled(npm(redux-thunk)) = 2.4.2
Provides: bundled(npm(redux)) = 4.1.2
Provides: bundled(npm(regenerator-runtime)) = 0.13.11
Provides: bundled(npm(regexp.prototype.flags)) = 1.5.0
Provides: bundled(npm(scheduler)) = 0.23.0
Provides: bundled(npm(side-channel)) = 1.0.4
Provides: bundled(npm(stop-iteration-iterator)) = 1.0.0
Provides: bundled(npm(tabbable)) = 6.1.2
Provides: bundled(npm(throttle-debounce)) = 3.0.1
Provides: bundled(npm(tslib)) = 2.5.0
Provides: bundled(npm(which-boxed-primitive)) = 1.0.2
Provides: bundled(npm(which-collection)) = 1.0.1
Provides: bundled(npm(which-typed-array)) = 1.1.9
Provides: bundled(npm(xterm-addon-canvas)) = 0.3.0
Provides: bundled(npm(xterm-addon-fit)) = 0.2.1
Provides: bundled(npm(xterm)) = 4.19.0
Provides: bundled(npm(xterm)) = 5.1.0
%description
Cockpit component for managing virtual machines.
If "virt-install" is installed, you can also create new virtual machines.
%prep
%setup -q -n %{name}
%build
# Nothing to build
%install
%make_install
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
%files
%doc README.md
%license LICENSE dist/index.js.LEGAL.txt dist/index.css.LEGAL.txt
%{_datadir}/cockpit/*
%{_datadir}/metainfo/*
# The changelog is automatically generated and merged
%changelog
* Tue May 16 2023 Packit <hello@packit.dev> - 290-1
- Apply watchdog changes on next boot if hotplug fails
* Fri May 05 2023 Packit <hello@packit.dev> - 289.1-1
- Fix alignment of icons in main view
* Thu May 04 2023 Packit <hello@packit.dev> - 289-1
- Update to PatternFly 5 Alpha
- Option to use RAW volume during VM creation
- Redesign VMs CPU configuration
* Wed Apr 19 2023 Packit <hello@packit.dev> - 288-1
- Indicate need for shutdown
- Delete storage file upon disk detachment
* Thu Apr 06 2023 Packit <hello@packit.dev> - 287-1
- Show an alert when virtualization is disabled in BIOS/EFI
* Wed Mar 22 2023 Packit <hello@packit.dev> - 286-1
- Create VM based on cloud image and start it later
* Wed Mar 08 2023 Packit <hello@packit.dev> - 285-1
- Stability and performance improvements
* Wed Feb 22 2023 Packit <hello@packit.dev> - 284-1
- Stability and performance improvements
* Wed Feb 08 2023 Packit <hello@packit.dev> - 283-1
- Stability and performance improvements
* Wed Jan 25 2023 Packit <hello@packit.dev> - 282-1
- Option to forcefully revert a snapshot
- Fix tabular numbers font
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 281-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jan 11 2023 Packit <hello@packit.dev> - 281-1
- Summarize system and user session differences
- Virtual watchdog device support
* Tue Jan 03 2023 Packit <hello@packit.dev> - 280-1
- Start using tabular fonts
- Other UI fixes and improvements
* Thu Dec 01 2022 Packit <hello@packit.dev> - 279-1
- Autodetect file's format when attaching disk
* Wed Nov 16 2022 Packit <hello@packit.dev> - 278-1
- Stability and performance improvements
* Mon Nov 07 2022 Packit <hello@packit.dev> - 277-1
- Dark theme support
- Allow TRIM/UNMAP requests by default for newly added disks
- Insert and eject CD & DVD media
* Wed Oct 19 2022 Packit <hello@packit.dev> - 276-1
- Add connection information to the VM detail page
* Wed Sep 21 2022 Packit <hello@packit.dev> - 275-1
- Improvements of offline token management
* Wed Sep 07 2022 Packit <hello@packit.dev> - 274-1
- Stability and performance improvements
* Wed Aug 24 2022 Packit <hello@packit.dev> - 273-1
- Fix downloading of RHEL images
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 272-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jul 20 2022 Packit <hello@packit.dev> - 272-1
- Download RHEL images
* Thu Jun 23 2022 Packit <hello@packit.dev> - 271-1
- Test fixes
* Sat Jun 11 2022 Packit <hello@packit.dev> - 270.2-1
- Fix test/reference setup in release tarball for tests
* Thu Jun 09 2022 Packit <hello@packit.dev> - 270.1-1
- Fix release tarball
* Wed Jun 08 2022 Packit <hello@packit.dev> - 270-1
- Tests improvements and stabilization
* Tue May 24 2022 Marius Vollmer <mvollmer@redhat.com> - 269-1
- Machines: Redesign content removal dialogs
* Thu May 12 2022 Allison Karlitskaya <allison.karlitskaya@redhat.com> - 268-1
- Provide default name for new VMs
* Thu Apr 28 2022 Jelle van der Waa <jvanderwaa@redhat.com> - 267-1
- Tests improvements and stabilization
* Wed Apr 13 2022 Martin Pitt <martin@piware.de> - 266-1
- Redesign VM creation
- Remove static hosts from virtual network's DHCP
* Wed Mar 30 2022 Matej Marusak <mmarusak@redhat.com> - 265-1
- Translation updates
- Tests robustification
* Wed Mar 16 2022 Simon Kobyda <skobyda@redhat.com> - 264-1
- Disk serial number
- Multiple fixes of host device attachement
* Wed Mar 02 2022 Martin Pitt <martin@piware.de> - 263-1
- Delete storage files also when the VM is shut off
- Translation updates (rhbz#2017343)
* Thu Feb 24 2022 Martin Pitt <martin@piware.de> - 262-1
- Fix broken VM deletion dialog layout
- Translation updates (rhbz#2017343)
* Wed Feb 16 2022 Jelle van der Waa <jvanderwaa@redhat.com> - 261-1
- Tests improvements and stabilization
* Mon Jan 24 2022 Matej Marusak <mmarusak@redhat.com> - 260-1
- Tests improvements and stabilization
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 259-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jan 05 2022 Simon Kobyda <skobyda@redhat.com> - 259-1
- Update to upstream 259 release
* Mon Dec 13 2021 Martin Pitt <martin@piware.de> - 258.1-1
- Test fixes
* Thu Dec 09 2021 Marius Vollmer <mvollmer@redhat.com> - 258-1
- Move storage pool actions outside of the expanded row
- Move the 'Overview' tab content from the network rows to the expanded row directly
* Fri Nov 19 2021 Katerina Koukiou <kkoukiou@redhat.com> - 257-1
- Test fixes for RHEL gating
* Wed Nov 10 2021 Katerina Koukiou <kkoukiou@redhat.com> - 256-1
- Now officially supported on Arch Linux (https://archlinux.org/)
- Support selecting between consoles of the same type
* Wed Oct 27 2021 Jelle van der Waa <jvanderwaa@redhat.com> - 255-1
- Translation updates
* Wed Oct 13 2021 Martin Pitt <martin@piware.de> - 254-1
- Support configuring static MAC IP address mappings
* Wed Sep 29 2021 Matej Marusak <mmarusak@redhat.com> - 253-1
- Support adding and removing host devices
* Wed Sep 15 2021 Katerina Koukiou <kkoukiou@redhat.com> - 252-1
- Add support for renaming VMs
* Wed Sep 01 2021 Simon Kobyda <skobyda@redhat.com> - 251-1
- Bug fixes and improvements
* Tue Aug 24 2021 Matej Marusak <mmarusak@redhat.com> - 250.1-1
- Test fixes for RHEL gating
* Wed Aug 18 2021 Marius Vollmer <mvollmer@redhat.com> - 250-1
- Update to upstream 250 release
* Wed Aug 04 2021 Martin Pitt <martin@piware.de> - 249.1-1
- Test fixes for Fedora/RHEL gating
* Wed Aug 04 2021 Martin Pitt <martin@piware.de> - 249-1
- Disable non-shared storage migration on RHEL
- Lots of bug fixes
- Translation updates
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 248-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 21 2021 Matej Marusak <mmarusak@redhat.com> - 248-1
- Some nice bug fixes
* Wed Jul 07 2021 Allison Karlitskaya <allison.karlitskaya@redhat.com> - 247-1
- A myriad of bug fixes
* Wed Jun 23 2021 Katerina Koukiou <kkoukiou@redhat.com> - 246-1
- Share host files with the guest using virtiofs
- Show list of pass-through devices
* Wed Jun 09 2021 Marius Vollmer <mvollmer@redhat.com> - 245-1
- Updated translations
- Fixed localization of VncConsole
* Wed May 19 2021 Martin Pitt <martin@piware.de> - 244.1-1
- Fix crash on VM deletion with cockpit 244
* Wed May 12 2021 Katerina Koukiou <kkoukiou@redhat.com> - 244-1
- Edit the MAC address of a VMs network interface
* Thu Apr 22 2021 Martin Pitt <martin@piware.de> - 243.1-1
- Fix tooltip on Plug/Unplug button
- Integration test fixes
* Wed Apr 14 2021 Matej Marusak <mmarusak@redhat.com> - 243-1
- PatternFly 4 updates
- Translation updates
- Correctly manage editing of unknown bus type
* Thu Apr 01 2021 Katerina Koukiou <kkoukiou@redhat.com> - 242.1-1
- Add MIT to the list of licenses in spec file

14
gating.yaml Normal file
View File

@ -0,0 +1,14 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
--- !Policy
product_versions:
- rhel-8
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

69
packit.yaml Normal file
View File

@ -0,0 +1,69 @@
upstream_project_url: https://github.com/cockpit-project/cockpit-machines
# enable notification of failed downstream jobs as issues
issue_repository: https://github.com/cockpit-project/cockpit-machines
specfile_path: cockpit-machines.spec
upstream_package_name: cockpit-machines
downstream_package_name: cockpit-machines
# use the nicely formatted release description from our upstream release, instead of git shortlog
copy_upstream_release_description: true
srpm_build_deps:
- npm
- make
actions:
post-upstream-clone: make cockpit-machines.spec
create-archive: make dist
jobs:
- job: copr_build
trigger: pull_request
targets:
- fedora-37
- fedora-38
- fedora-development
- centos-stream-8
- centos-stream-9
- job: tests
trigger: pull_request
targets:
- fedora-37
- fedora-38
- fedora-development
- centos-stream-8
- centos-stream-9
- job: copr_build
trigger: release
owner: "@cockpit"
project: "cockpit-preview"
preserve_project: True
actions:
post-upstream-clone: make cockpit-machines.spec
# HACK: tarball for releases (copr_build, koji, etc.), copying spec's Source0; this
# really should be the default, see https://github.com/packit/packit-service/issues/1505
create-archive:
- sh -exc "curl -L -O https://github.com/cockpit-project/cockpit-machines/releases/download/${PACKIT_PROJECT_VERSION}/${PACKIT_PROJECT_NAME_VERSION}.tar.xz"
- sh -exc "ls ${PACKIT_PROJECT_NAME_VERSION}.tar.xz"
- job: propose_downstream
trigger: release
dist_git_branches:
- fedora-development
- fedora-37
- fedora-38
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-development
- fedora-37
- fedora-38
- job: bodhi_update
trigger: commit
dist_git_branches:
# rawhide updates are created automatically
- fedora-37
- fedora-38

20
plans/all.fmf Normal file
View File

@ -0,0 +1,20 @@
discover:
how: fmf
dist-git-source: true
execute:
how: tmt
/basic:
summary: Run basic tests (creation and lifetime)
discover+:
test: /test/browser/basic
/network:
summary: Run network related tests
discover+:
test: /test/browser/network
/storage:
summary: Run storage related tests
discover+:
test: /test/browser/storage

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (cockpit-machines-291.tar.xz) = c1d89264af39752bd30aae185cc78f6bc47aa0ed27e1b32409077bdc741360fa1d5031a67f947051f21ec28542a004ec701a76377477d2bd2a4a377e2c9d5454