RDOPKG-FEATURE-ACTIONS(7)

๐Ÿ“ฆ
version 1.7.0 ยท 2 versions
, in epel 9

๐ŸŽ€ RDOPKG ACTIONS(7) โ€” rdopkg-feature-actions ๐ŸŽ€

okay so bestie, this is the RDOPKG ACTIONS(7) page for rdopkg-feature-actions, and itโ€™s literally autogenerated from the feature spec actions.feature โœจ no cap, weโ€™re keeping every detail cute and intact.

๐ŸŒธ NAME ๐ŸŒธ

rdopkg-feature-actions โ€” autogenerated from feature spec actions.feature ๐Ÿ’–

โœจ SYNOPSIS โœจ

rdopkg is able to run single and multistep actions (commands). ๐Ÿซถ

๐Ÿ’… SCENARIOS ๐Ÿ’…

๐Ÿฆ‹ state file doesnโ€™t affect new actions ๐Ÿฆ‹

  • Given a distgit at Version 1.1.1,
  • When I run rdopkg new-version,
  • When I change .spec file tag Version to 2.2.2,
  • When I run rdopkg pkgenv,
  • Then command output contains Version:\s+2.2.2

๐ŸŒธ assume .spec does not containe patches_base by default ๐ŸŒธ

  • Given a distgit at Version 1.1.1,
  • Then .spec file doesnโ€™t contain patches_base,
  • Then .spec file doesnโ€™t contain patches_ignore

๐ŸŽ€ add magic_comment patches_base when already_set ๐ŸŽ€

  • Given a distgit at Version 1.1.1,
  • Then .spec file doesnโ€™t contain patches_base,
  • When I run rdopkg set-magic-comment patches_base foo,
  • Then .spec file contains patches_base=foo,
  • When I run rdopkg set-magic-comment patches_base v1.1.1,
  • Then .spec file contains patches_base=v1.1.1

๐Ÿ’– add magic_comment patches_base empty when already set ๐Ÿ’–

  • Given a distgit at Version 1.1.1,
  • Then .spec file doesnโ€™t contain patches_base,
  • When I run rdopkg set-magic-comment patches_base foo,
  • Then .spec file contains patches_base=foo,
  • When I run rdopkg set-magic-comment patches_base '',
  • Then .spec file contains patches_base=

๐ŸŒˆ add magic_comment patches_base and patches_ignore when not present ๐ŸŒˆ

  • Given a distgit at Version 1.1.1,
  • When I run rdopkg set-magic-comment patches_base v1.1.1,
  • Then .spec file contains patches_base=v1.1.1,
  • When I run rdopkg set-magic-comment patches_ignore DROP-IN-RPM,
  • Then .spec file contains patches_ignore

๐Ÿ“ add magic_comment only patches_ignore ๐Ÿ“

  • Given a distgit at Version 1.1.1,
  • Then .spec file doesnโ€™t contain patches_base,
  • Then .spec file doesnโ€™t contain patches_ignore,
  • When I run rdopkg set-magic-comment patches_ignore DROP-IN-RPM,
  • Then .spec file contains patches_ignore

๐Ÿงš set magic_comment to empty string ๐Ÿงš

  • Given a distgit at Version 1.1.1,
  • Then .spec file doesnโ€™t contain patches_base,
  • Then .spec file doesnโ€™t contain patches_ignore,
  • When I run rdopkg set-magic-comment patches_ignore '',
  • Then .spec file doesnโ€™t contain patches_ignore

thatโ€™s the whole page, bestie ๐Ÿ’œ itโ€™s dated 10/04/2023, and the footer energy is RDOPKG ACTIONS(7) โ€” mwah ๐Ÿ’‹โœจ

๐Ÿ“ฆ where this page comes from