openSUSE / osc

The Command Line Interface to work with an Open Build Service

Home Page:http://openbuildservice.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prepending a / to the project+package combination causes a single file to be checked out

dcermak opened this issue · comments

Describe the bug

I have accidentally prepended a / to the project/package combination that I wanted to checkout. Surprisingly instead of an error, I got a single file with the contents of osc api "/source/$prj/$pack".

Versions

  • Operating system: Fedora Linux 39 (Sway)
  • Packages: osc-1.5.1-397.1.1.fc39.noarch

To Reproduce
Steps to reproduce the behavior:

  1. osc co /Virtualization:containers/buildkit
  2. there's now a single file buildkit with xml contents

Expected behavior
An error