Skip to content

Object not found error if project isn't named like its repo #83

Description

@qfritz

Describe the bug

My project cannot be scanned, because its path isn't exactly what is base path + its name are.

To Reproduce

Have a project name that isn't the path of its repository.

Expected behavior

Use the actual path instead of a construction to clone the project.

Code snippet

This line is probably the culprit. Building app clone path from Basepath + Name can lead to unexpected behaviors.

Path:   path.Join(c.config.BasePath, app.Metadata.Name),

Logs

{"time":"2025-03-17T14:15:38.025603331Z","level":"ERROR","msg":"fail to retrieve project xxx-yyy: object not found"}

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions