Skip to content

Make guide service centric - #499

Merged
softwarefactory-project-zuul[bot] merged 15 commits into
packit:mainfrom
lachmanfrantisek:make-guide-service-centric
Jul 25, 2022
Merged

softwarefactory-project-zuul[bot] merged 15 commits into
packit:mainfrom
lachmanfrantisek:make-guide-service-centric

Conversation

@lachmanfrantisek

@lachmanfrantisek lachmanfrantisek commented Jul 14, 2022 •

Copy link
Copy Markdown
Member

Acceptance criteria from the issue:

  • Onboarding guide can be used as the first page we can provide to the users.
    • No extra context is needed before reading this guide.
    • CLI is shown as a validation/debug tool.
  • Relation with Packit Service page is resolved.
    • Either by merging those two together or clear split with good linking.
  • The onboarding clearly shows how to set up Packit on GitHub/GitLab.
  • Relevant config options are linked (related to The list of config options is too long #467)
  • The jobs concept is well-described. Users can find and pick the relevant jobs. Also, it's easy to find more details and instructions.
  • The guide is easy to follow and not overwhelming (e.g. use screenshots and link the unimportant information).
  • Don't collide or merge with the release workflow guide: provide a clear, step-by-step guide for doing releases with Packit #351

Fixes: #480

@softwarefactory-project-zuul

Copy link
Copy Markdown
Contributor

Build succeeded.

✔️ pre-commit SUCCESS in 1m 32s
✔️ hugo SUCCESS in 1m 00s

@softwarefactory-project-zuul

Copy link
Copy Markdown
Contributor

Build succeeded.

✔️ pre-commit SUCCESS in 1m 32s
✔️ hugo SUCCESS in 1m 06s

@jpopelka jpopelka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK to me so far 👍

Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Outdated
upstream_package_name: directory
# downstream (Fedora) RPM package name
downstream_package_name: packit.dev
downstream_package_name: directory

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the second time we show the output of packit init on this page, but I can't decide which one to remove, so I think I'm fine with it.
So just heads up to make sure you are aware of it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I am on the same boat with this. I can't decide..;)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well at this point, folks should already have their packit.yamls prepared, so I'd drop this one.

@lbarcziova lbarcziova left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice write-up so far, much clearer!

Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md
Take a look at the tables [here](/docs/actions/) to know what actions are available for each job.


### How to try that for real

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since this is mainly about testing the RPM builds locally, would it make sense to rename this and be more specific?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was aimed to verify the build went well locally and that there is a high chance it will work in the service. At least, that was the goal. (I don't want to focus on using CLI for actual usage, just as a way how to reproduce/debug problems...)

I am still not satisfied with that -- at least, there is that duplicate packit init output...

Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
This is intentionally really basic.
This does not cover the authentication.

Fixes: packit#470
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Fixes: packit#468
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
@lachmanfrantisek
lachmanfrantisek force-pushed the make-guide-service-centric branch from a200c23 to 8b92038 Compare July 20, 2022 07:25
@softwarefactory-project-zuul

Copy link
Copy Markdown
Contributor

Build succeeded.

✔️ pre-commit SUCCESS in 1m 27s
✔️ hugo SUCCESS in 1m 06s

@lachmanfrantisek
lachmanfrantisek marked this pull request as ready for review July 21, 2022 07:10

@FrNecas FrNecas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The content and structure overall looks very good! I've just added a couple of nitpicks regarding grammar, readability and similar things, otherwise LGTM

Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md

## 3. Configuration

Packit uses a configuration file to let Packit know what to do, when to do it and how.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: Packit uses a configuration file for specifying what to do, when and how to do it.

Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Co-authored-by: František Nečas <fnecas@redhat.com>
@lachmanfrantisek

Copy link
Copy Markdown
Member Author

@FrNecas Thanks for such a detailed grammar&consistency check!

@softwarefactory-project-zuul

Copy link
Copy Markdown
Contributor

Build succeeded.

✔️ pre-commit SUCCESS in 1m 41s
✔️ hugo SUCCESS in 1m 46s

@FrNecas FrNecas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last nitpicks, otherwise LGTM!

Comment thread content/docs/_index.md

* [About]({{< ref "about" >}}) - Key principles of Packit.
* [Onboarding Guide]({{< ref "guide" >}}) - How to start using Packit.
* [Packit Service]({{< ref "packit-service" >}}) - GitHub App that helps you continuously ensure that your project work in Fedora OS.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This link is still valid, is it not? So it should probably be kept here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But it's a duplicate of the one above. (There are no longer two pages.)

Comment thread content/docs/guide.md Resolved

@lbarcziova lbarcziova left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Co-authored-by: František Nečas <fnecas@redhat.com>
@softwarefactory-project-zuul

Copy link
Copy Markdown
Contributor

Build failed.

❌ pre-commit NODE_FAILURE in 0s
❌ hugo NODE_FAILURE in 0s

@TomasTomecek TomasTomecek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is such a great improvement, I love this!

Just a few small suggestions.

Comment thread content/docs/CLI/_index.md Resolved
Comment thread content/docs/CLI/_index.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Resolved
Comment thread content/docs/guide.md Outdated
upstream_package_name: directory
# downstream (Fedora) RPM package name
downstream_package_name: packit.dev
downstream_package_name: directory

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well at this point, folks should already have their packit.yamls prepared, so I'd drop this one.

It's hard to maintain up-to-date state and
it's not relevant to users.

Signed-off-by: Frantisek Lachman <flachman@redhat.com>
@softwarefactory-project-zuul

Copy link
Copy Markdown
Contributor

Build failed.

❌ pre-commit NODE_FAILURE in 0s
❌ hugo NODE_FAILURE in 0s

@morucci

morucci commented Jul 22, 2022

Copy link
Copy Markdown

recheck

@softwarefactory-project-zuul

Copy link
Copy Markdown
Contributor

Build succeeded.

✔️ pre-commit SUCCESS in 1m 17s
✔️ hugo SUCCESS in 51s

…vice

Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
@softwarefactory-project-zuul

Copy link
Copy Markdown
Contributor

Build succeeded.

✔️ pre-commit SUCCESS in 1m 25s
✔️ hugo SUCCESS in 1m 03s

Co-authored-by: Tomas Tomecek <tomas@tomecek.net>
@lachmanfrantisek

Copy link
Copy Markdown
Member Author

@jpopelka @lbarcziova @FrNecas @TomasTomecek Thanks for the reviews!

Anything else I should resolve/cover/add/update?

@softwarefactory-project-zuul

Copy link
Copy Markdown
Contributor

Build succeeded.

✔️ pre-commit SUCCESS in 1m 36s
✔️ hugo SUCCESS in 1m 02s

@lachmanfrantisek

lachmanfrantisek commented Jul 25, 2022 •

Copy link
Copy Markdown
Member Author

I am going to merge this but let me know (or create a new issue) in case of any additional suggestions/notes/...

Thanks for the reviews!

@lachmanfrantisek lachmanfrantisek added the mergeit Merge via Zuul label Jul 25, 2022
@softwarefactory-project-zuul

Copy link
Copy Markdown
Contributor

Build succeeded (gate pipeline).

✔️ pre-commit SUCCESS in 1m 15s

@softwarefactory-project-zuul
softwarefactory-project-zuul Bot merged commit 454ba4c into packit:main Jul 25, 2022
@lachmanfrantisek
lachmanfrantisek deleted the make-guide-service-centric branch July 25, 2022 13:24
lachmanfrantisek added a commit to lachmanfrantisek/packit.dev that referenced this pull request Jul 27, 2022
Should have been removed in packit#499

Signed-off-by: Frantisek Lachman <flachman@redhat.com>
lachmanfrantisek added a commit to lachmanfrantisek/packit.dev that referenced this pull request Jul 28, 2022
Should have been removed in packit#499

Signed-off-by: Frantisek Lachman <flachman@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mergeit Merge via Zuul

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the onboarding guide more service-centric

6 participants