Name: cockpit-files Version: 5.46.g9c94197 Release: 1.20240820161725090394.pr509.46.g9c94197%{?dist} Summary: A filesystem browser for Cockpit License: LGPL-2.1-or-later Source0: cockpit-files-5.46.g9c94197.tar.xz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs BuildRequires: make %if 0%{?suse_version} # Suse's package has a different name BuildRequires: appstream-glib %else BuildRequires: libappstream-glib %endif BuildRequires: gettext Requires: cockpit-bridge >= 318 Provides: bundled(npm(@patternfly/patternfly)) = 5.3.1 Provides: bundled(npm(@patternfly/react-core)) = 5.3.4 Provides: bundled(npm(@patternfly/react-icons)) = 5.3.2 Provides: bundled(npm(@patternfly/react-styles)) = 5.3.1 Provides: bundled(npm(@patternfly/react-table)) = 5.3.4 Provides: bundled(npm(@patternfly/react-tokens)) = 5.3.1 Provides: bundled(npm(attr-accept)) = 2.2.2 Provides: bundled(npm(dequal)) = 2.0.3 Provides: bundled(npm(file-selector)) = 0.6.0 Provides: bundled(npm(focus-trap)) = 7.5.2 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(prop-types)) = 15.8.1 Provides: bundled(npm(react-dom)) = 18.3.1 Provides: bundled(npm(react-dropzone)) = 14.2.3 Provides: bundled(npm(react-is)) = 16.13.1 Provides: bundled(npm(react)) = 18.3.1 Provides: bundled(npm(scheduler)) = 0.23.2 Provides: bundled(npm(tabbable)) = 6.2.0 Provides: bundled(npm(throttle-debounce)) = 5.0.0 Provides: bundled(npm(tslib)) = 2.6.3 %description A filesystem browser for Cockpit %prep %setup -q -n cockpit-files %build # Nothing to build %install %make_install PREFIX=/usr # drop source maps, they are large and just for debugging find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs --no-run-if-empty rm --verbose %check appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/* # this can't be meaningfully tested during package build; tests happen through # FMF (see plans/all.fmf) during package gating %files %doc README.md %license LICENSE dist/index.js.LEGAL.txt dist/index.css.LEGAL.txt %{_datadir}/cockpit/* %{_datadir}/metainfo/* %changelog * Tue Aug 20 2024 Packit - 5.46.g9c94197-1.20240820161725090394.pr509.46.g9c94197 - Add a test for emptying a file doesn't remove the file (Jelle van der Waa) - test: Harden test, check if modified state is gone (Jelle van der Waa) - Add comment (Jelle van der Waa) - Handle escape keypress and re-design the conflict state (Jelle van der Waa) - Translate unhandled exception messages (Jelle van der Waa) - Silly import path shenanigans (Jelle van der Waa) - Only show text file menu entry for text/code/unknown files (Jelle van der Waa) - test: add integration tests (Jelle van der Waa) - Debounce file watch handler (Jelle van der Waa) - allow editing as administrator (Jelle van der Waa) - Style, always use " for react components (Jelle van der Waa) - Alert variant should be danger not type (Jelle van der Waa) - Fix typo our => your (Jelle van der Waa) - Legacy Browser beforeUnloadHandler support (Jelle van der Waa) - style: de-construct object (Jelle van der Waa) - Add console.error for "should never happen" code path (Jelle van der Waa) - Introduce a constant for max editor file size (Jelle van der Waa) - Update the editor dialog to the design mockup (Jelle van der Waa) - editor: Switch between close (non-modified) and cancel (modified) (Garrett LeSage) - editor: Prevent hyphens and use break-spaces (Garrett LeSage) - editor: Change modified styling (Garrett LeSage) - Add a simple text file editor (Allison Karlitskaya) - src: more tweaks for modern node compatibility (Allison Karlitskaya) - all: change approach to extensions on imports (Allison Karlitskaya) - src: fix a trivial (but scary) spelling mistake (Allison Karlitskaya) - Makefile: Update Cockpit lib to 79623a0a425600da302f66a275 (Cockpit Project) - test: Fix TestFiles.testBasic for Firefox (Martin Pitt) - test: factorize bookmarks file filename (Allison Karlitskaya) - test: fix attempts to write files as admin (Allison Karlitskaya) - pyproject.toml: basic pyright setup (Allison Karlitskaya) - Add owner column to details view (tomasmatus) - test: Fix timeout for waitDownloadFile() (Martin Pitt) - css: move CSS declarations above nested rules (Jelle van der Waa) - cockpit-ci: Update container to 2024-08-19 (Cockpit Project) - build(deps-dev): bump tsx from 4.16.2 to 4.17.0 (dependabot[bot]) - build(deps-dev): bump the esbuild group with 2 updates (dependabot[bot]) - build(deps-dev): bump @typescript-eslint/eslint-plugin (dependabot[bot]) - packit: Add Fedora 41 (Martin Pitt) - Makefile: Update Cockpit lib to e61c1de5b7a6069a1f4dec2ce871b2e9 (Cockpit Project) - po: Update from Fedora Weblate (GitHub Workflow) - po: Add 'zh_CN' language (GitHub Workflow) - test: Move from CDP to BiDi (Martin Pitt) - test: Fix race in TestFiles.testUpload (Martin Pitt) - build(deps-dev): bump @typescript-eslint/eslint-plugin (dependabot[bot]) - build(deps-dev): bump chrome-remote-interface from 0.33.0 to 0.33.2 (dependabot[bot]) - build(deps-dev): bump sass from 1.77.6 to 1.77.8 (dependabot[bot])