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

Porting guide modernization #626

Open
wants to merge 49 commits into
base: master
Choose a base branch
from

Conversation

abkro
Copy link
Collaborator

@abkro abkro commented Dec 4, 2024

This PR contains the updated and extended UBports Porting Guide.

The guide has been reworked by Ari Börde Kröyer based on the current guide and the contents of the Halium Generic Build Tools scripts using AI assistance. Although the contents are by and large accurate, it is possible that some details need adjustment. The guide therefore needs to be examined by experienced developers/porters to confirm accuracy.

Ari Börde Kröyer added 30 commits November 19, 2024 19:12
Create initial directory structure and basic index files for
the modernized porting guide. This includes:
- Quick start section
- Fundamentals section
- Modern porting methods
- Debugging guides
- Vendor-specific information
- Legacy porting information
- Additional resources
permit building html from the porting-guide-work directory
…tressing clear pathways for different expertise levels.
@doniks
Copy link
Collaborator

doniks commented Dec 4, 2024

image
is this supposed to look like this?

@abkro
Copy link
Collaborator Author

abkro commented Dec 4, 2024

No. That's what the mermaid module is for. It creates a flow chart.

@doniks
Copy link
Collaborator

doniks commented Dec 4, 2024

ah. ugh. damn. probably the jenkins setup ... for some reason the jenkins builds always look a bit different 🙈 we really need to fix this 😒 sorry

@doniks
Copy link
Collaborator

doniks commented Dec 4, 2024

So. I'm trying to read this, but my first impression to be honest is I get lost all the time. I never know where I end up after I click on a suggested step and end up going back to the start page and trying all over.

It seems to me the new organisation is making a lot of accomodations for an "expert" and tries to anticipate what that expert needs, while still writing all the content. And I have the feeling the result is so full of "hey maybe you want to go here or there"-pointers and "this is for experts"-disclaimers that it just becomes hard to read for ... I think for everyone. I'm wondering whether it's worth it to invest so much in this non-linear structure for some "expert" ... I'd say if they are experts then they will have no problem scanning and skipping to get to what they need. And if they are not able to scan and skip because they don't understand the content and the relevance ... well, then they are probably not actually experts, just impatient.

@doniks
Copy link
Collaborator

doniks commented Dec 4, 2024

ok. I'm slowly getting somewhere. I start from fundamentals. Always ignore any "maybe you want to" parts. Read top to bottom. At the bottom click "next"

I really like the content! it gives much clearer overview of what's the purpose of which part. I love the summaries on the top! with the navigation I still feel a bit challenged

@abkro
Copy link
Collaborator Author

abkro commented Dec 4, 2024

I could probably tone down the "expert/novice" pathways a bit without too much trouble, but I do think it wise to let the different sections start with the main steps in brief, whatever one wishes to call it. "Quick start" or "Steps in brief" or just "In brief" or any better suggestion you might have?

But maybe we can try it out this way first while completing what is still missing and then adapt it?

Still missing:

  • The section on finalizing the port. I need either reliable sources for this, or a reliable source (person) to discuss it with.
  • The section on transitioning a xenial port to focal. Ideally written as generically as possible (if possible), to allow for subsequent releases,
  • And less crucial: Adding relevant links/sources to the additional resources section at the end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants