TritonDataCenter / TritonDataCenter/node-triton
`triton package help list` supported fields not accurate
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 60
- Forks
- 36
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 1
Description
The list of supported fields as shown in the output of triton package help list do not match what node-triton considers valid filters or what is available to CloudAPI.
$ triton package help list
[snip]
Filters:
FIELD=VALUE Field equality filter. Supported fields:
account, owner, state, name, os, and type.
[snip]
Attempting to filter on account, owner, state, os, or type will return an "invalid filter name" error:
$ triton package list account=foo
triton package list: error (Usage): invalid filter name: "account" (must be one of "name", "memory", "disk", "swap", "lwps", "version", "vcpus", "group")
usage: triton package list [FILTERS]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect lib/do_package/do_list.js around the valid-filter definition and the help text near line 184. Compare both with the CloudAPI ListPackages fields, then run triton package help list and the package-list filter example to verify that the displayed supported fields match accepted filters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100