RDOPKG-FEATURE-FIX(7)

πŸ“¦
version 1.7.0 Β· 2 versions
, in epel 9

πŸ’… RDOPKG FIX(7)

okay so this is the RDOPKG FIX(7) page, bestie β€” and before you ask, yes the manual name is folded right up there at the top so you don't gotta scroll. it's a feature-spec joint πŸ’–


✨ NAME ✨

rdopkg-feature-fix β€” no cap, this whole page is autogenerated from feature spec fix.feature, that's literally what it says πŸŽ€


🌸 SYNOPSIS 🌸

Introducing .spec fixes is a core functionality. that's the whole vibe. iconic behavior honestly 🫢


πŸ¦‹ SCENARIOS πŸ¦‹

every scenario is a little story, and we're reading them all, periodt. no skipping. πŸ’…

πŸ“ rdopkg fix - did not add description of changes

  • Given a distgit,
  • When I run rdopkg fix,
  • Then rdopkg state file is present

⭐ rdopkg fix

  • Given a distgit,
  • When I run rdopkg fix,
  • When I add description to .spec changelog,
  • When I run rdopkg --continue,
  • Then .spec file contains new changelog entry with 1 lines,
  • Then new commit was created,
  • Then rdopkg state file is not present,
  • Then last commit message is:
foo-bar-1.2.3-3

Changelog:
- Description of a change

🧚 rdopkg fix - did not add description of changes

  • Given a distgit,
  • When I run rdopkg fix,
  • When I run rdopkg --continue,
  • Then command output contains Description of changes is missing in %changelog.,
  • Then no new commit was created,
  • Then rdopkg state file is present

🌈 rdopkg fix - user reverted all changes

  • Given a distgit,
  • When I run rdopkg fix,
  • When I undo all changes,
  • When I run rdopkg --continue,
  • Then command output contains No distgit changes found,
  • Then no new commit was created,
  • Then rdopkg state file is present

πŸ‘‘ rdopkg fix - user aborts

  • Given a distgit,
  • When I run rdopkg fix,
  • When I undo all changes,
  • When I run rdopkg --abort,
  • Then no new commit was created,
  • Then rdopkg state file is not present

πŸ”₯ rdopkg fix - user reruns

  • Given a distgit,
  • When I run rdopkg fix,
  • When I run rdopkg fix,
  • Then command output contains You’re in the middle of previous action: fix,
  • Then command output contains Please --continue or --abort,
  • Then no new commit was created,
  • Then rdopkg state file is present

πŸ’œ rdopkg fix - user aborts and reruns

  • Given a distgit,
  • When I run rdopkg fix,
  • When I run rdopkg fix,
  • When I undo all changes,
  • When I run rdopkg --abort,
  • When I run rdopkg fix,
  • When I add description to .spec changelog,
  • When I run rdopkg --continue,
  • Then .spec file contains new changelog entry with 1 lines,
  • Then new commit was created,
  • Then rdopkg state file is not present,
  • Then last commit message is:
foo-bar-1.2.3-3

Changelog:
- Description of a change

πŸŽ€ rdopkg fix - Normal semver nvr bumps consistently

  • Given a distgit at Version 2.0.0 and Release 0.1,
  • When I run rdopkg fix,
  • Then .spec file tag Release is 0.2%{?dist}

🌸 rdopkg fix - Normal semver nvr bumps consistently - with dist macro specified

  • Given a distgit at Version 2.0.0 and Release 0.1%{?dist},
  • When I run rdopkg fix,
  • Then .spec file tag Release is 0.2%{?dist}

⭐ rdopkg fix - Normal semver nvr bumps consistently

  • Given a distgit at Version 2.0.0 and Release 1%{?dist},
  • When I run rdopkg fix,
  • Then .spec file tag Release is 2%{?dist}

πŸ¦‹ rdopkg fix - Normal semver nvr bumps consistently

  • Given a distgit at Version 2.0.0 and Release 15%{?dist},
  • When I run rdopkg fix,
  • Then .spec file tag Release is 16%{?dist}

πŸ“ rdopkg fix - Normal semver nvr bumps consistently

  • Given a distgit at Version 2.0.0 and Release 15.0%{?dist},
  • When I run rdopkg fix,
  • Then .spec file tag Release is 15.1%{?dist}

🧚 rdopkg fix - Release with %{?dist} in the middle bumps correctly

  • Given a distgit at Version 2.0.0 and Release 1.0%{?dist}.1,
  • When I run rdopkg fix,
  • Then .spec file tag Release is 1.1%{?dist}.1

and that's the whole page, bestie! this was RDOPKG FIX(7), dated 10/04/2023 β€” go forth and fix those specs, you absolute main character πŸ’…βœ¨πŸŒΏ

πŸ“¦ where this page comes from