Matthias and I met today to go over some plans for a prototype. I wrote some notes[0] down. As part of the prototype, we'd propose two deliverables (one this week and one next week):
1. A set of ~2-3 click commands that use the bindings to interact with Pulp 2. Some openapi-generator templates that will be able to generate such commands from the schema There is a question we had about how the commands for typed resources will be structured in the CLI. To illustrate with two endpoints: # rpm.package content (/pulp/api/v3/content/rpm/packages/): - pulp-cli rpm content packages ... - pulp-cli content rpm packages ... - pulp-cli rpm packages content ... - ??? # file.file repositories (/pulp/api/v3/repositories/file/file/): - pulp-cli file repositories file ... - pulp-cli repositories file file ... - pulp-cli file file repositories ... - ??? [0] https://hackmd.io/aH9RqAS_TrGyxoi1UGRgig?view#Prototype David On Thu, Apr 30, 2020 at 1:42 PM David Davis <davidda...@redhat.com> wrote: > Today we met to discuss some ideas for a technical design for how the CLI > would work. Here's a copy of our notes: > > https://hackmd.io/aH9RqAS_TrGyxoi1UGRgig#Technical-discussion > > And there is a rough design in the document as well: > > https://hackmd.io/aH9RqAS_TrGyxoi1UGRgig#Design > > I have also entered the CLI user stories from our meeting last week into > redmine under the Pulp CLI project: > > https://pulp.plan.io/versions/93 > > And I've filed a user story that we talked about today that would handle > sync, publish, and distribution of repos. Feedback welcome: > > https://pulp.plan.io/issues/6626 > > Matthias and I are planning to meet next week to look at creating a proof > of concept that would provide 2-3 commands. If anyone is interested in > joining us, please let me know and I can add you. > > David > > > On Tue, Apr 28, 2020 at 8:06 AM David Davis <davidda...@redhat.com> wrote: > >> I've also started working on some questions about how the CLI will work. >> Feel free to add some of your own: >> >> https://hackmd.io/aH9RqAS_TrGyxoi1UGRgig?view#Technical-discussion >> >> David >> >> >> On Tue, Apr 28, 2020 at 8:05 AM David Davis <davidda...@redhat.com> >> wrote: >> >>> I have set up a meeting to discuss the CLI technical design. Below are >>> the details. I think a video conference might be easier for technical >>> discussion but am open to consider meeting on #pulp-meeting again. >>> >>> URL: https://meet.google.com/vgx-bzbb-wnh >>> Date/time: April 30, 2020 at 9:00am ET (1pm UTC) >>> >>> David >>> >>> >>> On Fri, Apr 24, 2020 at 10:29 AM David Davis <davidda...@redhat.com> >>> wrote: >>> >>>> Today we met in #pulp-meeting on freenode to discuss the user stories >>>> for a Pulp 3 CLI MVP. The document with the user stories is available >>>> below. I'd like to ask for any feedback from users or plugin writers. >>>> >>>> The goal of the CLI MVP is to cover the pulp_file happy path (sync, >>>> publish, distribute) and make it possible for plugin writers to generate >>>> and write their own commands. I'm imagining that plugins will release their >>>> own sets of CLI commands after we complete the initial MVP. >>>> >>>> https://hackmd.io/aH9RqAS_TrGyxoi1UGRgig >>>> >>>> Feedback is welcome. I plan to enter these user stories into redmine >>>> next week. >>>> >>>> David >>>> >>>
_______________________________________________ Pulp-dev mailing list Pulp-dev@redhat.com https://www.redhat.com/mailman/listinfo/pulp-dev