Compare commits

..

3 Commits

Author SHA1 Message Date
e9b926c5b0 import CS cockpit-files-24-1.el9 2025-09-15 11:49:19 +00:00
58e0d6bc70 import CS cockpit-files-16-1.el9 2025-03-11 07:05:23 +00:00
9a5eb63de2 import CS cockpit-files-6-1.el9 2024-09-30 16:53:00 +00:00
10 changed files with 22 additions and 222 deletions

1
.cockpit-files.metadata Normal file
View File

@ -0,0 +1 @@
ab30d34da1fa13a0f71fba3d8c355d66a82861a4 SOURCES/cockpit-files-24.tar.xz

View File

@ -1 +0,0 @@
1

38
.gitignore vendored
View File

@ -1,37 +1 @@
/cockpit-files-1.tar.xz
/cockpit-files-2.tar.xz
/cockpit-files-3.tar.xz
/cockpit-files-3.1.tar.xz
/cockpit-files-4.tar.xz
/cockpit-files-5.tar.xz
/cockpit-files-6.tar.xz
/cockpit-files-7.tar.xz
/cockpit-files-8.tar.xz
/cockpit-files-9.tar.xz
/cockpit-files-10.tar.xz
/cockpit-files-11.tar.xz
/cockpit-files-12.tar.xz
/cockpit-files-13.tar.xz
/cockpit-files-14.tar.xz
/cockpit-files-15.tar.xz
/cockpit-files-16.tar.xz
/cockpit-files-17.tar.xz
/cockpit-files-18.tar.xz
/cockpit-files-19.tar.xz
/cockpit-files-20.tar.xz
/cockpit-files-21.tar.xz
/cockpit-files-22.tar.xz
/cockpit-files-23.tar.xz
/cockpit-files-24.tar.xz
/cockpit-files-25.tar.xz
/cockpit-files-26.tar.xz
/cockpit-files-27.tar.xz
/cockpit-files-28.tar.xz
/cockpit-files-29.tar.xz
/cockpit-files-30.tar.xz
/cockpit-files-31.1.tar.xz
/cockpit-files-32.tar.xz
/cockpit-files-33.tar.xz
/cockpit-files-node-33.tar.xz
/cockpit-files-34.tar.xz
/cockpit-files-node-34.tar.xz
SOURCES/cockpit-files-24.tar.xz

View File

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

View File

@ -1,3 +0,0 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.12.0.post1.dev22+gfe66fd850.

View File

@ -1,17 +1,10 @@
Name: cockpit-files
Version: 34
Version: 24
Release: 1%{?dist}
Summary: A filesystem browser for Cockpit
License: LGPL-2.1-or-later
# 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
Source0: https://github.com/cockpit-project/cockpit-files/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildArch: noarch
BuildRequires: make
%if 0%{?suse_version}
@ -21,30 +14,35 @@ BuildRequires: appstream-glib
BuildRequires: libappstream-glib
%endif
BuildRequires: gettext
%if %{defined rebuild_bundle}
BuildRequires: nodejs
BuildRequires: nodejs-esbuild
%endif
Requires: cockpit-bridge >= 318
# Replace the older cockpit-navigator provided by 45Drives
Obsoletes: cockpit-navigator < 0.5.11
Provides: bundled(npm(@patternfly/patternfly)) = 6.4.0
Provides: bundled(npm(@patternfly/react-core)) = 6.4.0
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.0
Provides: bundled(npm(@patternfly/react-tokens)) = 6.4.0
Provides: bundled(npm(@patternfly/patternfly)) = 6.2.3
Provides: bundled(npm(@patternfly/react-core)) = 6.2.2
Provides: bundled(npm(@patternfly/react-icons)) = 6.2.2
Provides: bundled(npm(@patternfly/react-styles)) = 6.2.2
Provides: bundled(npm(@patternfly/react-table)) = 6.2.2
Provides: bundled(npm(@patternfly/react-tokens)) = 6.2.2
Provides: bundled(npm(attr-accept)) = 2.2.5
Provides: bundled(npm(dequal)) = 2.0.3
Provides: bundled(npm(file-selector)) = 2.1.2
Provides: bundled(npm(focus-trap)) = 7.6.4
Provides: bundled(npm(js-tokens)) = 4.0.0
Provides: bundled(npm(language-map)) = 1.5.0
Provides: bundled(npm(lodash)) = 4.17.21
Provides: bundled(npm(loose-envify)) = 1.4.0
Provides: bundled(npm(mime-db)) = 1.54.0
Provides: bundled(npm(object-assign)) = 4.1.1
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(react-dropzone)) = 14.3.8
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.3.0
Provides: bundled(npm(tabbable)) = 6.2.0
Provides: bundled(npm(throttle-debounce)) = 5.0.2
Provides: bundled(npm(tslib)) = 2.8.1
@ -53,19 +51,9 @@ A filesystem browser for Cockpit
%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 currently broken in Fedora, should be in
# common location, not major version specific one
NODE_ENV=production NODE_PATH=$(echo /usr/lib/node_modules_*) ./build.js
%else
# Use pre-built bundle on distributions without nodejs-esbuild
%endif
# Nothing to build
%install
%make_install PREFIX=/usr
@ -86,44 +74,6 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
%{_datadir}/metainfo/*
%changelog
* Wed Dec 10 2025 Packit <hello@packit.dev> - 34-1
- Bug fixes and translation updates
* Thu Nov 27 2025 Packit <hello@packit.dev> - 33-1
- Bug fixes and translation updates
* Wed Nov 12 2025 Packit <hello@packit.dev> - 32-1
- Performance and stability improvements
* Fri Oct 31 2025 Packit <hello@packit.dev> - 31.1-1
- don't initialise a git repo in gating tests (fixes fedora gating)
* Wed Oct 15 2025 Packit <hello@packit.dev> - 30-1
- Translations and dependency updates
* Thu Oct 2 2025 Packit <hello@packit.dev> - 29-1
- Bug fixes and translation updates
* Wed Sep 3 2025 Packit <hello@packit.dev> - 28-1
- Allow user to create empty files
- Bug fixes and translation updates
* Wed Aug 20 2025 Packit <hello@packit.dev> - 27-1
- Translation and dependency updates
* Wed Aug 6 2025 Packit <hello@packit.dev> - 26-1
Bug fixes and translation updates
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 25-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Wed Jul 23 2025 Packit <hello@packit.dev> - 25-1
- Bug fixes and translation updates
* Wed Jul 9 2025 Packit <hello@packit.dev> - 24-1
- Bug fixes and translation updates

View File

@ -1,14 +0,0 @@
--- !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-9
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1,83 +0,0 @@
# Enable RPM builds and running integration tests in PRs through https://packit.dev/
# To use this, enable Packit-as-a-service in GitHub: https://packit.dev/docs/packit-as-a-service/
# See https://packit.dev/docs/configuration/ for the format of this file
specfile_path: cockpit-files.spec
# use the nicely formatted release description from our upstream release, instead of git shortlog
copy_upstream_release_description: true
srpm_build_deps:
- jq
- make
- nodejs
actions:
post-upstream-clone:
- make node-cache dist
fix-spec-file:
# our locally built tarballs are not on the upstream releases page, point to the local files
sed -i 's|^\(Source[0-9]*:\s*\).*\/|\1|' cockpit-files.spec
jobs:
- job: tests
trigger: pull_request
targets: &test_targets
- fedora-42
- fedora-43
- fedora-rawhide
- fedora-latest-stable-aarch64
- centos-stream-9-x86_64
- centos-stream-10
- job: copr_build
trigger: pull_request
targets: *test_targets
- job: copr_build
trigger: commit
branch: "^main$"
owner: "@cockpit"
project: "main-builds"
preserve_project: True
- job: copr_build
trigger: release
owner: "@cockpit"
project: "cockpit-preview"
preserve_project: True
actions:
post-upstream-clone: make cockpit-files.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
fix-spec-file:
- sh -exc "curl -L --fail -O https://github.com/cockpit-project/cockpit-files/releases/download/${PACKIT_PROJECT_VERSION}/${PACKIT_PROJECT_NAME_VERSION}.tar.xz"
- sh -exc "curl -L --fail -O https://github.com/cockpit-project/cockpit-files/releases/download/${PACKIT_PROJECT_VERSION}/cockpit-files-node-${PACKIT_PROJECT_VERSION}.tar.xz"
- job: copr_build
trigger: commit
branch: "^main$"
owner: "@cockpit"
project: "main-builds"
preserve_project: True
- job: propose_downstream
trigger: release
dist_git_branches:
- fedora-42
- fedora-43
- fedora-development
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-42
- fedora-43
- fedora-development
- job: bodhi_update
trigger: commit
dist_git_branches:
# rawhide updates are created automatically
- fedora-42
- fedora-43

View File

@ -1,9 +0,0 @@
discover:
how: fmf
dist-git-source: true
execute:
how: tmt
# Let's handle them upstream only, don't break Fedora/RHEL reverse dependency gating
environment:
TEST_AUDIT_NO_SELINUX: 1

View File

@ -1,2 +0,0 @@
SHA512 (cockpit-files-34.tar.xz) = 6cfdaca2d1065e2fe1cbf871a195f41ff4228db9090e58673bad9c63b365bda1060d91b9ef01923c862c462d43bd5c79afc806a4fa9003dcd96cf00be1f73460
SHA512 (cockpit-files-node-34.tar.xz) = 8d5fe2d8ecb363bed7f045e76bab2b4c061e0ac781b88f267a4a89274ee682a8eda69e84428001fb99c56111f1f1e18fccb9e9c8d04bb79ce5764fdf7ceb2216