Jira (PDB-2480) Spike an exploratory CLI solution

1 view
Skip to first unread message

Ryan Senior (JIRA)

unread,
Feb 29, 2016, 5:56:03 PM2/29/16
to puppe...@googlegroups.com
Ryan Senior created an issue
 
PuppetDB / New Feature PDB-2480
Spike an exploratory CLI solution
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2016/02/29 2:55 PM
Fix Versions: PDB CLI 0.2.0
Priority: Normal Normal
Reporter: Ryan Senior

The specifics I think are a little squishy here. The goal of the feature ultimately is to allow a user to explore their way to constructing a PQL query. The idea would be something along the lines of a user typing:

puppet query <tab>

And the "auto suggest" would be a list of queryable entites

(nodes|resources|facts|reports|...)

Then the user would type n<tab> and get something like:

puppet query nodes { (certname|last_report_timestamp|catalog_timestmap|...) }

Although this interaction isn't the exact target, the target is for a user somewhat familiar with puppet terminology to be able to construct a query similar to how they would via a UI based PQL query builder, but from the command line.

Something autocomplete-ish might be a good start, but we'd need to figure out if it would provide enough for this. The other end of the spectrum here would be a REPL that would give us better hooks into the user interaction.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc)
Atlassian logo

Andrew Roetker (JIRA)

unread,
Mar 9, 2016, 11:55:05 AM3/9/16
to puppe...@googlegroups.com
Andrew Roetker updated an issue
Change By: Andrew Roetker
Sprint: PuppetDB 2016- 03 04 - 23 06

Susan McNerney (JIRA)

unread,
Mar 23, 2016, 12:15:06 PM3/23/16
to puppe...@googlegroups.com
Susan McNerney updated an issue
Change By: Susan McNerney
Sprint: PuppetDB 2016-04- 06 20
This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Atlassian logo

Susan McNerney (JIRA)

unread,
Mar 23, 2016, 12:15:07 PM3/23/16
to puppe...@googlegroups.com
Susan McNerney updated an issue
Change By: Susan McNerney
Story Points: 3

Ryan Senior (JIRA)

unread,
Apr 6, 2016, 12:18:06 PM4/6/16
to puppe...@googlegroups.com
Ryan Senior updated an issue
Change By: Ryan Senior
Sprint: PuppetDB 2016-04-20 Funnel

Ryan Senior (JIRA)

unread,
Jun 21, 2016, 12:32:09 PM6/21/16
to puppe...@googlegroups.com
Ryan Senior updated an issue
Change By: Ryan Senior
Sprint: Hopper

Andrew Roetker (JIRA)

unread,
Jul 20, 2016, 2:37:04 PM7/20/16
to puppe...@googlegroups.com
Andrew Roetker updated an issue
Change By: Andrew Roetker
Fix Version/s: PDB CLI 1.1.0

Ryan Senior (JIRA)

unread,
Mar 22, 2017, 8:03:02 PM3/22/17
to puppe...@googlegroups.com
Ryan Senior commented on New Feature PDB-2480
 
Re: Spike an exploratory CLI solution

AJ Roetker spiked this out using autocompletion and it wasn't powerful enough, the "real fix" here will be a more complex/expensive sort of solution (curses?)

This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Claudia Petty (Jira)

unread,
Jun 21, 2023, 10:57:05 AM6/21/23
to puppe...@googlegroups.com
Claudia Petty updated an issue
 
Change By: Claudia Petty
Labels: new-feature
This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages