Uploaded image for project: 'Docs for Red Hat Developers'
  1. Docs for Red Hat Developers
  2. RHDEVDOCS-4765

PAC: (minus Shipra's part) Align UX for create repo CLI commands

XMLWordPrintable

    • devex docs #228 Nov 24-Dec 15, devex docs #229 Dec 15-Jan 5, devex docs #230 Jan 5-Jan 26, devex docs #231 Jan 26-Feb 16, devex docs #232 Feb 16-Mar 9, devex docs #233 Mar 9-Mar 30
    • 5
    • Documentation (Ref Guide, User Guide, etc.), User Experience
    • ---
    • ---

      Goal

      User requires to learn and use different CLI commands for adding a Git repo to the cluster depending on admin has configured a GitHub App or if webhooks should be used. From the user's perspective, all these flows are to achieve the same outcome which is adding a Git repo to the cluster. Therefore the goal is to unify the CLI follows behind a single command.

      Acceptance Criteria

      • pac create repo is the only command user needs to run in order to add a repository to the cluster with GitHub Apps as well as GitHub, GitLab and BitBucket webhooks
      • pac setup nnn-webhook only sets up webhooks for existing repositories

      Questions

      • How should user specify the git provider in create repo command?
        • Flags like `--gitlab-webhook`
        • Choose from drop down [GitHub Apps, GitHub Webhook, GitLab, BitBucket]
        • ?

            gtrivedi@redhat.com Gaurav Trivedi
            rhn-support-sosarkar Souvik Sarkar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: