Describe the bug
Can't delete or query packages with forward slash in their names
Steps to reproduce the behavior
List packages:
gh api /users/skarlso/packages\?package_type=container --jq '.[].name'
...
ocm/v0.0.1/component-descriptors/github.com/skarlso/ocm-test
ocm/v0.0.2/component-descriptors/github.com/skarlso/ocm-workflow-class
ocm-workflow-class/v0.0.1
ocm/v0.0.1/component-descriptors/github.com/skarlso/ocm-workflow-class
ocm-destination/v0.0.1/component-descriptors/github.com/skarlso/ocm-workflow-class
ocm/component-descriptors/github.com/skarlso/ocm-workflow-class
ocm-destination/component-descriptors/github.com/skarlso/ocm-workflow-class
ocm-replication-test/component-descriptors/github.com/skarlso/ocm-replication-test
ocm-replication-test-example/v0.0.1
ocm-replication/component-descriptors/github.com/skarlso/ocm-replication
ocm-destination/skarlso/ocm-replication-test-example/v0.0.1
ocm-destination/component-descriptors/github.com/skarlso/ocm-replication
ocm-delivery/weaveworksdemos/carts
ocm-delivery/gardener-project/test/jensh007/mongo
ocm-delivery/component-descriptors/github.com/weaveworks/carts
ocm-delivery/weaveworksdemos/catalogue
ocm-delivery/weaveworksdemos/catalogue-db
ocm-delivery/component-descriptors/github.com/weaveworks/catalogue
ocm-delivery/weaveworksdemos/front-end
ocm-delivery/component-descriptors/github.com/weaveworks/front-end
ocm-delivery/weaveworksdemos/orders
ocm-delivery/component-descriptors/github.com/weaveworks/orders
ocm-delivery/weaveworksdemos/payment
ocm-delivery/component-descriptors/github.com/weaveworks/payment
ocm-delivery/weaveworksdemos/queue-master
ocm-delivery/library/rabbitmq
ocm-delivery/kbudde/rabbitmq-exporter
ocm-delivery/library/redis
ocm-delivery/component-descriptors/github.com/weaveworks/queue-master
ocm-delivery/weaveworksdemos/shipping
Query:
gh api -H "Accept: application/vnd.github+json" /users/skarlso/packages/container/ocm-delivery/weaveworksdemos/shipping
...
gh: Not Found (HTTP 404)
{
"message": "Not Found",
"documentation_url": "https://docs.github.com/rest",
"status": "404"
}
## Or
gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/user/packages/container/ocm-delivery/weaveworksdemos/shipping
gh: Not Found (HTTP 404)
{
"message": "Not Found",
"documentation_url": "https://docs.github.com/rest",
"status": "404"
}
Expected vs actual behavior
A clear and concise description of what you expected to happen and what actually happened.
Logs
Paste the activity from your command line. Redact if needed.
Reactions are currently unavailable
Describe the bug
Can't delete or query packages with forward slash in their names
Steps to reproduce the behavior
List packages:
Query:
Expected vs actual behavior
A clear and concise description of what you expected to happen and what actually happened.
Logs
Paste the activity from your command line. Redact if needed.