RDOPKG-FEATURE-PKGENV(7)

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

πŸ’– rdopkg-feature-pkgenv πŸ’–

okay bestie, welcome to the rdopkg-feature-pkgenv page from the RDOPKG PKGENV(7) manual. This one is autogenerated from the feature spec pkgenv.feature, no cap. It's giving "package environment details are the main character." πŸ’…


✨ NAME ✨

rdopkg-feature-pkgenv β€” autogenerated from the feature spec pkgenv.feature. That's literally the name, bestie. πŸŽ€

🌸 SYNOPSIS 🌸

Displaying package environment details? core feature energy. It is a core feature, periodt. πŸ’œ

πŸŽ€ SCENARIOS πŸŽ€

These are the scenario vibes, and the exact output strings are literal, so keep them safe in backticks. 🫢

πŸ’… rdopkg pkgenv basic usage

  • Given a distgit sitting at Version 1.0.0 and Release 0.1,
  • Given a patches branch with 2 patches,
  • When I run rdopkg pkgenv,
  • Then the command output contains Patches style:\s+branch,
  • Then the command output contains Patches base:\s+N/A,
  • Then the command output contains Patches base ref:\s+1.0.0 : existing git tag,
  • Then the command output contains Version:\s+1.0.0,
  • Then the command output contains VR:\s+1:1.0.0-0.1,
  • Then the command output contains Release style:\s+generic,
  • Then the command output contains Rls bump index:\s+last-numeric,
  • Then the command output contains Local patches branch:\s+master-patches : \w+,
  • Then no new commit was created ✨

🌈 rdopkg pkgenv without version tag and patches branch

  • Given a distgit at Version 0.1 and Release 2,
  • When I run rdopkg pkgenv,
  • Then the command output contains VR:\s+1:0.1-2,
  • Then the command output contains Patches base:\s+N/A,
  • Then the command output contains Patches base ref:\s+0.1 : invalid git reference,
  • Then the command output contains Local patches branch:\s+master-patches : not found

πŸ¦‹ rdopkg pkgenv with valid patches_base

  • Given a distgit at Version 23 and Release 69,
  • Given a patches branch with 2 patches,
  • When I set .spec file patches_base to existing commit +42,
  • When I run rdopkg pkgenv,
  • Then the command output contains Version:\s+23,
  • Then the command output contains VR:\s+1:23-69,
  • Then the command output contains Patches base:\s+\w+\+42,
  • Then the command output contains Patches base ref:\s+\w+ : existing git commit,
  • Then the command output contains Local patches branch:\s+master-patches : \w+

πŸ”₯ rdopkg pkgenv with invalid patches_base

  • Given a distgit at Version 0 and Release 0,
  • Given a patches branch with 2 patches,
  • When I set .spec file patches_base=OVER+9000,
  • When I run rdopkg pkgenv,
  • Then the command output contains Version:\s+0,
  • Then the command output contains VR:\s+1:0-0,
  • Then the command output contains Patches base:\s+OVER\+9000,
  • Then the command output contains Patches base ref:\s+OVER : invalid git reference

okay that's the whole page, bestie. It's from the RDOPKG PKGENV(7) manual and dated 10/04/2023. stay iconic, keep your output strings exact, and slay the environment check πŸ’…βœ¨

πŸ“¦ where this page comes from