diff --git a/.gitignore b/.gitignore index 8c51c10..57ee310 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /cockpit-session-recording-11.tar.xz /cockpit-session-recording-11.1.tar.xz /cockpit-session-recording-12.tar.xz +/cockpit-session-recording-13.tar.xz diff --git a/cockpit-session-recording.spec b/cockpit-session-recording.spec index 38dd110..994826f 100644 --- a/cockpit-session-recording.spec +++ b/cockpit-session-recording.spec @@ -1,14 +1,36 @@ +# +# Copyright (C) 2017-2023 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 . +# + Name: cockpit-session-recording -Version: 12 -Release: 3%{?dist} +Version: 13 +Release: 1%{?dist} Summary: Cockpit Session Recording -License: LGPLv2+ +License: LGPL-2.1-or-later URL: https://github.com/Scribery/%{name} Source: https://github.com/Scribery/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz BuildArch: noarch -BuildRequires: libappstream-glib +BuildRequires: nodejs BuildRequires: make +BuildRequires: libappstream-glib +BuildRequires: gettext +%if 0%{?rhel} && 0%{?rhel} <= 8 +BuildRequires: libappstream-glib-devel +%endif Requires: cockpit-system Requires: tlog @@ -21,7 +43,7 @@ recordings generated by the tlog component. %setup -qn cockpit-session-recording %install -%make_install +%make_install PREFIX=/usr appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/* %files @@ -29,6 +51,34 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/* %{_datadir}/metainfo/org.cockpit-project.session-recording.metainfo.xml %changelog +* Tue May 2 2023 Justin Stephenson - 13-1 +- Release v13 +- FMF: Fix minor typo in plans +- Add FMF tests and test scripts +- Read existing sssd conf domains and services +- Makefile: Update Cockpit lib to 269bf89276c679a03befc8a04244addd +- Remove CentOS condition in testZoomSpeedControls +- Add accessible name label for Progress component +- Remove 'enable_files_domain' from SSSD Config +- SSSD config changes +- testFastforwardControls update after player-restart +- Switch wait_present to wait_visible +- ESLint error and warning fixes +- Fix stylelint errors +- Dependency updates +- Bring up to date with cockpit starter kit +- Config: Switch SSSD files provider to Proxy provider +- Update fedora license in spec file +- Makefile: Bump test API to 267 +- Makefile: drop installing cockpit-ws/cockpit-packagekit +- src: load translations via po.js +- .semaphore: update TEST_OS to Fedora 36 +- webpack.config.js: update compression plugin to succeed build +- Makefile: Adjust to changed rpmspec -q behaviour +- Use standard "translate" marker in HTMl +- Update dependencies excluding Patternfly +- Remove unneeded tlog UID code + * Wed Jun 8 2022 Justin Stephenson - 12-2 - Tests: Remove usermod from browser setup diff --git a/sources b/sources index 00ffcc6..fdeabe0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cockpit-session-recording-12.tar.xz) = a624a265b8287835ea65d21a059408af674f607dbd4de1aaf182e9447b4457b069d39a59ea8e71bd7e8de0c7c73ef88953905cb5cfc79e32f811d99e63abada1 +SHA512 (cockpit-session-recording-13.tar.xz) = 2255aac06c29d40c0a074380ae9bf1d0f7d5ef39b8a312ab6fb0dc626b4d5ef00cb5786c6c54ab21992feba6ae466f6c53fe87ebe4e235015fea5c594eae80a1 diff --git a/tests/browser.sh b/tests/browser.sh deleted file mode 100644 index 0b543e4..0000000 --- a/tests/browser.sh +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh -set -eux - -# from standard-test-source -SOURCE="$(pwd)/source" -LOGS="$(pwd)/logs" -TESTS="$(pwd)/tests" -mkdir -p "$LOGS" -chmod a+w "$LOGS" - -# moving SOURCE out of the way. -# Will use upstream source for tests -if [ -d "$SOURCE" ]; then - mv ${SOURCE} ${SOURCE}_str -fi - -# install browser; on RHEL, use chromium from epel -# HACK: chromium-headless ought to be enough, but version 88 has a crash: https://bugs.chromium.org/p/chromium/issues/detail?id=1170634 -if ! rpm -q chromium; then - if grep -q 'ID=.*rhel' /etc/os-release; then - dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm - dnf config-manager --enable epel - # Force epel to 8 since epel 9 does not exist yet - sed -i 's/$releasever/8/g' /etc/yum.repos.d/epel* - fi - dnf install -y chromium - dnf remove -y epel-release -fi - -# install cockpit-packagekit and glibc-langpack-en for testAppMenu -dnf install -y cockpit-packagekit glibc-langpack-en - -# create user account for logging in -if ! id admin 2>/dev/null; then - useradd -c Administrator -G wheel admin - echo admin:foobar | chpasswd -fi - -# avoid sudo lecture during tests -su -c 'echo foobar | sudo --stdin whoami' - admin - -# create user account for running the test -if ! id runtest 2>/dev/null; then - useradd -c 'Test runner' runtest - # allow test to set up things on the machine - mkdir -p /root/.ssh - curl https://raw.githubusercontent.com/cockpit-project/bots/master/machine/identity.pub >> /root/.ssh/authorized_keys - chmod 600 /root/.ssh/authorized_keys -fi - -# Use upstream code for tests: -git clone https://github.com/Scribery/cockpit-session-recording.git "$SOURCE" -chown -R runtest "$SOURCE" - -# disable core dumps, we rather investigate them upstream where test VMs are accessible -echo core > /proc/sys/kernel/core_pattern - -# CSR specific setup -mkdir -p /var/log/journal/ -cp 1.journal /var/log/journal/1.journal -cp binary-rec.journal /var/log/journal/binary-rec.journal - -# Add local domain for sssd for testSessionRecordingConf test -cat > /etc/sssd/sssd.conf < "$LOGS/exitcode" -cp --verbose Test* "$LOGS" || true -# deliver test result via exitcode file -exit 0 diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index b538227..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,25 +0,0 @@ ---- -- hosts: localhost - roles: - - role: standard-test-source - tags: - - always - - - role: standard-test-basic - tags: - - classic - required_packages: - - cockpit-session-recording - - tlog - - cockpit-ws - - cockpit-packagekit - - git - - libvirt-python3 - - make - - npm - - python3 - tests: - - browser: - dir: . - run: ./browser.sh - save-files: ["logs/*"]