Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make guide service centric #499

Conversation

lachmanfrantisek
Copy link
Member

@lachmanfrantisek lachmanfrantisek commented Jul 14, 2022

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
Contributor

Build succeeded.

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

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

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

Copy link
Member

@jpopelka jpopelka left a comment

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 👍

content/docs/guide.md Outdated Show resolved Hide resolved
# downstream (Fedora) RPM package name
downstream_package_name: packit.dev
downstream_package_name: directory
Copy link
Member

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
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
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.

Copy link
Member

@lbarcziova lbarcziova left a comment

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!

content/docs/guide.md Outdated Show resolved Hide resolved
content/docs/guide.md Outdated Show resolved Hide resolved
content/docs/guide.md Outdated Show resolved Hide resolved
content/docs/guide.md Show resolved Hide resolved
content/docs/guide.md Show resolved Hide resolved
content/docs/guide.md Show resolved Hide resolved
content/docs/guide.md Show resolved Hide resolved
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
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
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...

@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
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
Copy link
Contributor

@FrNecas FrNecas left a comment

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

content/docs/guide.md Outdated Show resolved Hide resolved
content/docs/guide.md Outdated Show resolved Hide resolved
content/docs/guide.md Outdated Show resolved Hide resolved
content/docs/guide.md Outdated Show resolved Hide resolved
content/docs/guide.md Outdated Show resolved Hide resolved

## 3. Configuration

Packit uses a configuration file to let Packit know what to do, when to do it and how.
Copy link
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.

content/docs/guide.md Outdated Show resolved Hide resolved
content/docs/guide.md Outdated Show resolved Hide resolved
content/docs/guide.md Outdated Show resolved Hide resolved
content/docs/guide.md Outdated Show resolved Hide resolved
@lachmanfrantisek
Copy link
Member Author

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

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

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

Copy link
Contributor

@FrNecas FrNecas left a comment

Choose a reason for hiding this comment

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

Last nitpicks, otherwise LGTM!

@@ -8,7 +8,6 @@ bookCollapseSection: true

* [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
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
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.)

content/docs/guide.md Outdated Show resolved Hide resolved
Copy link
Member

@lbarcziova lbarcziova left a comment

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 <[email protected]>
@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

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

Copy link
Member

@TomasTomecek TomasTomecek left a comment

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.

content/docs/CLI/_index.md Outdated Show resolved Hide resolved
content/docs/CLI/_index.md Show resolved Hide resolved
content/docs/guide.md Show resolved Hide resolved
content/docs/guide.md Show resolved Hide resolved
content/docs/guide.md Outdated Show resolved Hide resolved
content/docs/guide.md Outdated Show resolved Hide resolved
# downstream (Fedora) RPM package name
downstream_package_name: packit.dev
downstream_package_name: directory
Copy link
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 <[email protected]>
@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

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

@morucci
Copy link

morucci commented Jul 22, 2022

recheck

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

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

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

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

@lachmanfrantisek
Copy link
Member Author

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

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

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

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

@lachmanfrantisek
Copy link
Member Author

lachmanfrantisek commented Jul 25, 2022

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 When set, zuul wil gate and merge the PR. label Jul 25, 2022
@softwarefactory-project-zuul
Copy link
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 <[email protected]>
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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergeit When set, zuul wil gate and merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the onboarding guide more service-centric
6 participants