Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e9b926c5b0 | |||
| 58e0d6bc70 | |||
| 9a5eb63de2 |
1
.cockpit-files.metadata
Normal file
1
.cockpit-files.metadata
Normal file
@ -0,0 +1 @@
|
||||
ab30d34da1fa13a0f71fba3d8c355d66a82861a4 SOURCES/cockpit-files-24.tar.xz
|
||||
@ -1 +0,0 @@
|
||||
1
|
||||
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,9 +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
|
||||
SOURCES/cockpit-files-24.tar.xz
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 0.101.1.
|
||||
163
SPECS/cockpit-files.spec
Normal file
163
SPECS/cockpit-files.spec
Normal file
@ -0,0 +1,163 @@
|
||||
Name: cockpit-files
|
||||
Version: 24
|
||||
Release: 1%{?dist}
|
||||
Summary: A filesystem browser for Cockpit
|
||||
License: LGPL-2.1-or-later
|
||||
|
||||
Source0: https://github.com/cockpit-project/cockpit-files/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||
BuildArch: noarch
|
||||
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
|
||||
|
||||
# Replace the older cockpit-navigator provided by 45Drives
|
||||
Obsoletes: cockpit-navigator < 0.5.11
|
||||
|
||||
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-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.2.0
|
||||
Provides: bundled(npm(throttle-debounce)) = 5.0.2
|
||||
Provides: bundled(npm(tslib)) = 2.8.1
|
||||
|
||||
%description
|
||||
A filesystem browser for Cockpit
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
|
||||
%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
|
||||
%{_datadir}/cockpit/*
|
||||
%{_datadir}/metainfo/*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 9 2025 Packit <hello@packit.dev> - 24-1
|
||||
- Bug fixes and translation updates
|
||||
|
||||
* Wed Jun 25 2025 Packit <hello@packit.dev> - 23-1
|
||||
- Bug fixes and translation updates
|
||||
|
||||
* Wed Jun 4 2025 Packit <hello@packit.dev> - 22-1
|
||||
- Bug fixes and translation updates
|
||||
|
||||
* Wed May 21 2025 Packit <hello@packit.dev> - 21-1
|
||||
- Bug fixes and translation updates
|
||||
|
||||
* Wed May 7 2025 Packit <hello@packit.dev> - 20-1
|
||||
- Translation updates
|
||||
- Bug fixes
|
||||
|
||||
* Wed Apr 23 2025 Packit <hello@packit.dev> - 19-1
|
||||
- Upgraded to Patternfly 6
|
||||
- Symbolic links
|
||||
|
||||
* Wed Mar 12 2025 Packit <hello@packit.dev> - 18-1
|
||||
- Translation updates
|
||||
- Bug fixes
|
||||
|
||||
* Thu Feb 27 2025 Packit <hello@packit.dev> - 17-1
|
||||
- MacOS keyboard shortcuts
|
||||
|
||||
* Thu Feb 13 2025 Packit <hello@packit.dev> - 16-1
|
||||
- support copy&pasting with administrator privileges
|
||||
|
||||
* Wed Jan 29 2025 Packit <hello@packit.dev> - 15-1
|
||||
- Show user and group information in the footer
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 14-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Dec 18 2024 Packit <hello@packit.dev> - 14-1
|
||||
- Allow editing multiple file permissions
|
||||
- Support uploading files with administrator privileges
|
||||
- Add drag 'n drop support
|
||||
|
||||
* Wed Dec 4 2024 Packit <hello@packit.dev> - 13-1
|
||||
- Translation updates
|
||||
|
||||
* Wed Nov 20 2024 Packit <hello@packit.dev> - 12-1
|
||||
- File creation support
|
||||
|
||||
* Wed Nov 6 2024 Packit <hello@packit.dev> - 11-1
|
||||
- Show SELinux security context in permissions dialog
|
||||
- Support changing permissions of enclosed files
|
||||
|
||||
* Wed Oct 23 2024 Packit <hello@packit.dev> - 10-1
|
||||
- Redesign the permissions dialog
|
||||
|
||||
* Wed Oct 9 2024 Packit <hello@packit.dev> - 9-1
|
||||
- basic keyboard shortcuts
|
||||
|
||||
* Wed Sep 25 2024 Packit <hello@packit.dev> - 8-1
|
||||
- Move global menu to the toolbar
|
||||
|
||||
* Wed Sep 4 2024 Packit <hello@packit.dev> - 7-1
|
||||
- Basic file editor and viewer
|
||||
|
||||
* Thu Aug 22 2024 Packit <hello@packit.dev> - 6-1
|
||||
- Add owner column to details view
|
||||
- Translation updates
|
||||
|
||||
* Thu Aug 8 2024 Packit <hello@packit.dev> - 5-1
|
||||
- Display file permissions
|
||||
|
||||
* Thu Jul 18 2024 Packit <hello@packit.dev> - 4-1
|
||||
- Bug fixes
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Thu Jul 11 2024 Packit <hello@packit.dev> - 3.1-1
|
||||
- Allow breadcrumbs to wrap, fixes failing gating test
|
||||
|
||||
* Wed Jul 10 2024 Packit <hello@packit.dev> - 3-1
|
||||
- Bug fixes and performance improvements
|
||||
|
||||
* Wed Jun 26 2024 Packit <hello@packit.dev> - 2-1
|
||||
- Bookmark support
|
||||
|
||||
* Fri Jun 7 2024 Jelle van der Waa <jvanderwaa@redhat.com> - 1-1
|
||||
- Update to upstream 1 release
|
||||
@ -1,103 +0,0 @@
|
||||
Name: cockpit-files
|
||||
Version: 8
|
||||
Release: 1%{?dist}
|
||||
Summary: A filesystem browser for Cockpit
|
||||
License: LGPL-2.1-or-later
|
||||
|
||||
Source0: https://github.com/cockpit-project/cockpit-files/releases/download/%{version}/%{name}-%{version}.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.4.0
|
||||
Provides: bundled(npm(@patternfly/react-core)) = 5.4.0
|
||||
Provides: bundled(npm(@patternfly/react-icons)) = 5.4.0
|
||||
Provides: bundled(npm(@patternfly/react-styles)) = 5.4.0
|
||||
Provides: bundled(npm(@patternfly/react-table)) = 5.4.0
|
||||
Provides: bundled(npm(@patternfly/react-tokens)) = 5.4.0
|
||||
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.4
|
||||
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.2
|
||||
Provides: bundled(npm(tslib)) = 2.7.0
|
||||
|
||||
%description
|
||||
A filesystem browser for Cockpit
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
|
||||
%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
|
||||
* Wed Sep 25 2024 Packit <hello@packit.dev> - 8-1
|
||||
- Move global menu to the toolbar
|
||||
|
||||
* Wed Sep 4 2024 Packit <hello@packit.dev> - 7-1
|
||||
- Basic file editor and viewer
|
||||
|
||||
* Thu Aug 22 2024 Packit <hello@packit.dev> - 6-1
|
||||
- Add owner column to details view
|
||||
- Translation updates
|
||||
|
||||
* Thu Aug 8 2024 Packit <hello@packit.dev> - 5-1
|
||||
- Display file permissions
|
||||
|
||||
* Thu Jul 18 2024 Packit <hello@packit.dev> - 4-1
|
||||
- Bug fixes
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Thu Jul 11 2024 Packit <hello@packit.dev> - 3.1-1
|
||||
- Allow breadcrumbs to wrap, fixes failing gating test
|
||||
|
||||
* Wed Jul 10 2024 Packit <hello@packit.dev> - 3-1
|
||||
- Bug fixes and performance improvements
|
||||
|
||||
* Wed Jun 26 2024 Packit <hello@packit.dev> - 2-1
|
||||
- Bookmark support
|
||||
|
||||
* Fri Jun 7 2024 Jelle van der Waa <jvanderwaa@redhat.com> - 1-1
|
||||
- Update to upstream 1 release
|
||||
14
gating.yaml
14
gating.yaml
@ -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}
|
||||
90
packit.yaml
90
packit.yaml
@ -1,90 +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:
|
||||
- make
|
||||
- nodejs-npm
|
||||
|
||||
actions:
|
||||
post-upstream-clone:
|
||||
- make cockpit-files.spec
|
||||
# replace Source1 manually, as create-archive: can't handle multiple tarballs
|
||||
- make node-cache
|
||||
- sh -c 'sed -i "/^Source1:/ s/https:.*/$(ls *-node*.tar.xz)/" cockpit-*.spec'
|
||||
create-archive: make dist
|
||||
# files.git has no release tags; your project can drop this once you have a release
|
||||
get-current-version: make print-version
|
||||
|
||||
jobs:
|
||||
- job: copr_build
|
||||
trigger: pull_request
|
||||
targets:
|
||||
- fedora-40
|
||||
- fedora-41
|
||||
- fedora-development
|
||||
- fedora-latest-stable-aarch64
|
||||
- centos-stream-9-x86_64
|
||||
- centos-stream-10
|
||||
|
||||
- job: tests
|
||||
trigger: pull_request
|
||||
targets:
|
||||
- fedora-40
|
||||
- fedora-41
|
||||
- fedora-development
|
||||
- fedora-latest-stable-aarch64
|
||||
- centos-stream-9-x86_64
|
||||
- centos-stream-10
|
||||
|
||||
- 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
|
||||
create-archive:
|
||||
- sh -exc "curl -L -O https://github.com/cockpit-project/cockpit-files/releases/download/${PACKIT_PROJECT_VERSION}/${PACKIT_PROJECT_NAME_VERSION}.tar.xz"
|
||||
- sh -exc "ls ${PACKIT_PROJECT_NAME_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-40
|
||||
- fedora-41
|
||||
- fedora-development
|
||||
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-40
|
||||
- fedora-41
|
||||
- fedora-development
|
||||
|
||||
- job: bodhi_update
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
# rawhide updates are created automatically
|
||||
- fedora-40
|
||||
- fedora-41
|
||||
@ -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
|
||||
Loading…
Reference in New Issue
Block a user