Skip to content

Cannot see project results when inside a git repository #2008

@AdamMajer

Description

@AdamMajer

Versions

  • Operating system: TW
  • Packages: osc-1.22.0-1.1.noarch

To Reproduce

You need to be inside of a git repository where the APIURL and project meta are set in git obs. Then,

autogits> osc r
openSUSE_Tumbleweed  x86_64     autogits                       succeeded
openSUSE_Tumbleweed  i586       autogits                       succeeded
16.0                 x86_64     autogits                       succeeded
15.7                 x86_64     autogits                       succeeded
15.6                 x86_64     autogits                       succeeded

autogits> osc r openSUSE:Factory:Staging:adi:14
Server returned an error: HTTP Error 404: unknown package 'autogits'

autogits> osc r openSUSE:Factory:Staging:adi:14 nodejs24
standard             x86_64     nodejs24                       succeeded*
usage:
    osc results                 # (inside working copy of PRJ or PKG)
    osc results PROJECT [PACKAGE[:FLAVOR]]

so passing any parameter to osc should treat it as a project. I'm not sure what it tried to do, but maybe it fills the package name automatically when it should be left blank?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions