<div dir="ltr"><div><div>> - What commands or functionality in the CLI do you rely on the most?<br></div><div><span style="font-family:monospace,monospace">pulp-admin rpm repo sync status/run --repo-id=REPO</span><br></div><div><br></div><div>> - Are there things you wish the CLI had or did?<br></div><div>* A more <i>intelligent</i> cli? I am syncing a repo and I wanted to check status so I type:<br><span style="font-family:monospace,monospace"><i><br>  pulp-admin rpm repo sync status REPO </i><- error<br></span></div><div><span style="font-family:arial,helvetica,sans-serif">  oh right,</span><span style="font-family:monospace,monospace"><br>  <i><span style="font-family:monospace,monospace">pulp-admin rpm repo sync status --repo-id=REPO</span></i><br></span></div><div><br></div><div>  Would it be possible for the cli to catch the repo-id, task-id, something-something-id without need to specify?<br><br></div><div>* a modifier to print status in the end of the sync run<br></div><div>I kick-off jobs with jenkins, and every time the progress bar moves or RPM count is updated it creates a new line, making the jenkins console unreadable<br></div><div><br></div><div>> - Why do you use the CLI over using the REST API directly?<br></div><div>I learnt to use the CLI and when I discovered the REST API I was already used to the CLI.<br><br></div><div>> - Do you strictly use the CLI or do you use other things like Katello or the REST API?<br></div><div>I normally use with Katello<br></div><div>I use CLI for specific tasks<br></div><div>I tried to use Ansible but pulp_repo module fails for bit syncs and the CLI is solid<br></div><div>I use the REST API with jenkins to query sync results and send report to our chat-room<br></div><div><br></div><div>> - Would you prefer a CLI or a basic web UI?<br></div><div>I love the cli and the commands I already have muscle memorized. A basic web UI would be awesome but not as replacement.<br></div><br></div>Cheers,<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 23, 2018 at 10:39 PM, Matthew Montgomery (mattmont) <span dir="ltr"><<a href="mailto:mattmont@cisco.com" target="_blank">mattmont@cisco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On May 23, 2018, at 7:51 AM, David Davis <<a href="mailto:daviddavis@redhat.com">daviddavis@redhat.com</a>> wrote:<br>
> <br>
> As many of you know by now, we're working on Pulp 3.0. With this new rewrite of Pulp comes the opportunity to revisit our CLI. In doing so, we'd like some feedback from our users on how they use the CLI and how we can improve on the Pulp 2 CLI.<br>
> <br>
> Here are some questions we've come up with. General feedback is welcome as well.<br>
> <br>
> - What commands or functionality in the CLI do you rely on the most?<br>
<br>
</span>We mostly use the REST API with a custom Python CLI we have written to implement our workflows. That said, I'll still use pulp-admin from our master Pulp server for certain things e.g. examining a repo, manual orphan cleanup, repo and content deletes.<br>
<span class=""><br>
> - Are there things you wish the CLI had or did?<br>
<br>
</span>The grouping feature that was previously mentioned would be nice to have natively for syncing. We have Ansible playbooks that implement grouped syncing but it is still just iterating over a config file and syncing each individual member repo one after another.<br>
<br>
I'd also love to have the ability to set a repo to read only. There are times when we want to completely freeze updates to a release repo and have had developers accidentally publish new builds there.<br>
<span class=""><br>
> - Why do you use the CLI over using the REST API directly?<br>
<br>
</span>I'll use the CLI at times when I have a simple task I need to do. The tool we wrote that interacts with the REST API mainly composes different command steps for a specific goal. For example, we make a lot of repo snapshots which entails syncing the source repo, creating a new target repo named using a UTC timestamp and then copying the source repo into the new target repo. So our tool exposes things like this as a single command.<br>
<span class=""><br>
> - Do you strictly use the CLI or do you use other things like Katello or the REST API?<br>
<br>
</span>Just the CLI and the REST API.<br>
<span class=""><br>
> - Would you prefer a CLI or a basic web UI?<br>
<br>
</span>CLI is much more preferable than a basic web UI for us but I can certainly envision where a basic web UI might come in handy.<br>
<br>
--<br>
Matthew <br>
<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/pulp-list</a><br>
</div></div></blockquote></div><br></div>