Skip to content

directory is not a distro (packages) or advisories repository (but it actually is) #1380

@dustinkirkland

Description

@dustinkirkland

I can't get the wolfictl command to operate. @jamie-albert helped me get started, but he was also unable to figure out what's wrong.

$ git clone [email protected]:wolfi-dev/os.git
$ cd os
$ pwd
/home/kirkland/src/wolfi/os
$ wolfictl advisory update
2024/12/29 16:02:57 ERRO distro repo dir and/or advisories repo dir was left unspecified, and distro auto-detection failed: unable to find advisories dir: unable to find repo dir
$ wolfictl advisory update

I'm in a clean clone of the wolfi-dev/os code. On a related note, I've tried running with "--log-level debug" per the in line instruction, but that doesn't work either:

$ wolfictl --log-level DEBUG advisory update
2024/12/29 16:09:42 ERROR log level out of range: -4

Here's my version info:

$ wolfictl version
 __        __   ___    _       _____   ___    ____   _____   _
 \ \      / /  / _ \  | |     |  ___| |_ _|  / ___| |_   _| | |
  \ \ /\ / /  | | | | | |     | |_     | |  | |       | |   | |
   \ V  V /   | |_| | | |___  |  _|    | |  | |___    | |   | |___
    \_/\_/     \___/  |_____| |_|     |___|  \____|   |_|   |_____|
wolfictl: A CLI helper for developing Wolfi

GitVersion:    devel
GitCommit:     797586bae957cee7ced398558290ccf5a6fc32c5
GitTreeState:  clean
BuildDate:     2024-09-17T12:17:20
GoVersion:     go1.23.1
Compiler:      gc
Platform:      linux/amd64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageapplied to all new customer/user issues. Removed after triage occurs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions