Go to file
2024-10-15 10:59:18 +02:00
_service Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
_servicedata Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
.gitattributes Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
0001-selinux-allow-login-to-read-motd-file.patch Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
0001-users-Support-for-watching-lastlog2-and-wutmp-on-ove.patch Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision ceae2a1bfb3a5166c79a2adc4ce3fc44 2024-08-15 16:36:50 +02:00
0002-selinux-temporary-remove-setroubleshoot-section.patch Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
0004-leap-gnu18-removal.patch Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
cockpit-309.obscpio Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
cockpit-rpmlintrc Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
cockpit-suse-theme.obscpio Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
cockpit-suse-theme.obsinfo Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
cockpit.changes Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision fe218a0a1027209df695343f8070da18 2024-10-15 10:59:18 +02:00
cockpit.obsinfo Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
cockpit.pam Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 57cd5108d81260cbd768c1222ac425f6 2024-03-05 18:01:43 +01:00
cockpit.spec Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision fe218a0a1027209df695343f8070da18 2024-10-15 10:59:18 +02:00
css-overrides.patch Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
CVE-2024-6126.patch Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision fe218a0a1027209df695343f8070da18 2024-10-15 10:59:18 +02:00
hide-pcp.patch Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision fe218a0a1027209df695343f8070da18 2024-10-15 10:59:18 +02:00
node_modules.obscpio Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
node_modules.spec.inc Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
package-lock.json Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
README.packaging Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
remove_rh_links.patch Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision fe218a0a1027209df695343f8070da18 2024-10-15 10:59:18 +02:00
selinux_libdir.patch Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision ade3c2109dc91778220be32b6bb93871 2024-03-01 22:55:20 +01:00
storage-btrfs.patch Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00
suse_docs.patch Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision fe218a0a1027209df695343f8070da18 2024-10-15 10:59:18 +02:00
suse-microos-branding.patch Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision fe218a0a1027209df695343f8070da18 2024-10-15 10:59:18 +02:00
vendor.tar.gz Sync from SUSE:ALP:Source:Standard:1.0 cockpit revision 6f2bfb738a499342d0946a5577ec2af0 2024-02-16 13:19:10 +01:00

The upstream cockpit spec file is rather complex and ugly. It does
contain information we need though, such as the bundled node
modules. Therefore the package reuses the upstream spec file and
applies openSUSE specifics that upstream doesn't accept on top. For
that purpose a git repo tracks the spec file changes:
https://github.com/lnussel/cockpit

There' an opensuse-$VERSION branch for each release

For simple fixes it's fine to just submit the spec file by OBS
means, I'll retrofit in git. Don't worry about that.

For version updates the git workflow really is needed to maintain
mental health though.

The following workflow is used to update the package to a newer
version:

- create a branch for the new version based on the old one:
  git checkout -b opensuse-$NEW_VERSION opensuse-$OLD_VERSION
- use interactive rebase to amend the commits marked as EDIT THIS:
  git rebase -i $NEW_VERSION
  * for the very fist commit download the new tarball and extract
    the spec file from it. Copy the spec file over
    tools/cockpit.spec. That is basically what changed between the
    versions wrt spec file.
  * the second one adjust the spec file to have $NEW_VERSION. For
    whatever reason the upstream spec file alwas has version 0.
  * the rest of the changes should just apply.
- copy the spec file back into the OBS checkout and continue with
  regular tasks related to updating packages.
- If any further spec file changes were needed, copy the spec back
  into the git tree and commit there. Amend and reorder as needed.
- When done, push the git repo.

Sending fixes upstream:

if you have any changes that should go upstream, create a new, clean
branch and cherry pick *one* commit into it. Upstream wants pull
requests with only one commit

NOTE: ONLY the .spec file should be in the git.

IDEA: maybe other things should be removed from the git tree then?