All of lore.kernel.org
 help / color / mirror / Atom feed
From: Quentin Schulz <quentin.schulz@theobroma-systems.com>
To: michael.opdenacker@bootlin.com,
	YP docs mailing list <docs@lists.yoctoproject.org>
Subject: Re: [docs] Generated master docs not up to date - issue in run-docs-build?
Date: Wed, 3 Aug 2022 15:11:36 +0200	[thread overview]
Message-ID: <eb55af01-e73f-856d-e61b-3eb331504da9@theobroma-systems.com> (raw)
In-Reply-To: <ac5fc19e-3c47-edb2-b5f0-da408275c0f6@bootlin.com>

Hi Michael,

Sorry for Office365 mangling the URLs, I wish it wasn't on........

On 8/3/22 14:59, Michael Opdenacker via lists.yoctoproject.org wrote:
> Greetings
> 
> I've found issues with 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.yoctoproject.org_&d=DwICaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=omMbxGmNQJRezZOXvOUrTA_kKPNZV4A2oVcrJjd86fPT8aVHAs52Av4OvW3-7lse&s=pFIoanEyazz3qTtKZ31so443Fv7Vpfnj5fZnx3H14oQ&e= 
> , generated from the master branch:
> 
>   * The 4.0.1 and 4.0.2 release notes don't appear on
>     
> https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.yoctoproject.org_migration-2Dguides_index.html&d=DwICaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=omMbxGmNQJRezZOXvOUrTA_kKPNZV4A2oVcrJjd86fPT8aVHAs52Av4OvW3-7lse&s=8l5ZSIFCB5w2dI1Hi2WadpcRCQLbdi5_SgEaJQ9b9bw&e=  
> while they
>     are in the master branch
>     
> (https://urldefense.proofpoint.com/v2/url?u=https-3A__git.yoctoproject.org_yocto-2Ddocs_commit_-3Fid-3D027a58616db9f3e8ee5992b57fd99cb3c284ece9&d=DwICaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=omMbxGmNQJRezZOXvOUrTA_kKPNZV4A2oVcrJjd86fPT8aVHAs52Av4OvW3-7lse&s=Xhvjm3mSHW3Tv-1GKzIzVWMdX4ZsBOiGabMGhSbv_yc&e= 
>     and
>     
> https://urldefense.proofpoint.com/v2/url?u=https-3A__git.yoctoproject.org_yocto-2Ddocs_commit_-3Fid-3Da17bfe2636c11ce8e3266d9add804d795991e2ea&d=DwICaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=omMbxGmNQJRezZOXvOUrTA_kKPNZV4A2oVcrJjd86fPT8aVHAs52Av4OvW3-7lse&s=5RhBg7FSba6PsHFejKTGnq-KXoYKhPHU1xAMwsTZ5zg&e= 
> )

Because you're not looking at the master branch.
https://docs.yoctoproject.org/dev/migration-guides/index.html
has it.

>   * PEP517_BUILD_API is still documented on
>     
> https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.yoctoproject.org_ref-2Dmanual_variables.html-23term-2DPEP517-5FBUILD-5FAPI&d=DwICaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=omMbxGmNQJRezZOXvOUrTA_kKPNZV4A2oVcrJjd86fPT8aVHAs52Av4OvW3-7lse&s=Z72HE5ahwiHuHzuO6dkA0rbQQKwHM5BdD7A5YzUzMJU&e= 
>     while it was removed by
>     
> https://urldefense.proofpoint.com/v2/url?u=https-3A__git.yoctoproject.org_yocto-2Ddocs_commit_-3Fid-3Dafa895871e8ec18f4861f48f70b8a54cc2e4cb98&d=DwICaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=omMbxGmNQJRezZOXvOUrTA_kKPNZV4A2oVcrJjd86fPT8aVHAs52Av4OvW3-7lse&s=2DMYIlsNiG_tPJ9GRzF6XuEjTPbgP7CBO_TgZ8gmEgs&e= 
> 

Ditto.

> So, some commits in master doesn't seem to have been used for generating 
> the docs. However, the latest commit 
> (https://urldefense.proofpoint.com/v2/url?u=https-3A__git.yoctoproject.org_yocto-2Ddocs_commit_-3Fid-3D5004957d1c65d03d3e296bc9f0a00982457a27f8&d=DwICaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=omMbxGmNQJRezZOXvOUrTA_kKPNZV4A2oVcrJjd86fPT8aVHAs52Av4OvW3-7lse&s=cSKVy0IkfnU5lIiP7ywCf-i6RsLkyjrUcROT160Dn8M&e= 
> ) was used because you have the new hash server (hashserv.yocto.io:8687) 

No, commit f9a9c5cc721a79df7a39a6df8441739e3377fdc4 is actually used, 
because you're looking at the kirkstone branch and not master.

> on 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.yoctoproject.org_brief-2Dyoctoprojectqs_index.html-23building-2Dyour-2Dimage&d=DwICaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=omMbxGmNQJRezZOXvOUrTA_kKPNZV4A2oVcrJjd86fPT8aVHAs52Av4OvW3-7lse&s=ZscUeWWce0XqCZw86gXHzGP7krugyL07NWNnhuWGIVQ&e= 
> 
> On the contrary, 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.yoctoproject.org_next&d=DwICaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=omMbxGmNQJRezZOXvOUrTA_kKPNZV4A2oVcrJjd86fPT8aVHAs52Av4OvW3-7lse&s=9dr7-M7-VQ2FVie76y_7895g8beuIJolI-KxnYvDIMo&e=  
> generated from the master-next branch looks OK as it contains the 3 
> above changes, and the changes from the latest commit.
> 
> Weird, isn't it? Could there be an issue in 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__git.yoctoproject.org_yocto-2Dautobuilder-2Dhelper_tree_scripts_run-2Ddocs-2Dbuild&d=DwICaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=omMbxGmNQJRezZOXvOUrTA_kKPNZV4A2oVcrJjd86fPT8aVHAs52Av4OvW3-7lse&s=dkIKElbngTDiX6Iryp8iUHSfLeLX6T9R6-HZNv5SEL8&e= 
> , the scripts which generates our docs?
> 

Nope, expected.

> I started looking at the Autobuilder logs 
> (https://urldefense.proofpoint.com/v2/url?u=https-3A__autobuilder.yoctoproject.org_typhoon_-23_builders_114&d=DwICaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=omMbxGmNQJRezZOXvOUrTA_kKPNZV4A2oVcrJjd86fPT8aVHAs52Av4OvW3-7lse&s=O9gSB3rFAHS_gj5OGIzBEXjBpU5FLQjSjoCaO_PCbr4&e= 
> ), but haven't found anything suspicious yet. Investigations may take 
> time though.
> 

You won't find anything :)

So.. we decided some months ago to make the "default" branch of the docs 
on docs.yoctoproject.org point to the latest release to date instead of 
the master branch because we believe most people will use the latest 
release rather than the master branch and we don't want to misdocument 
variables, features or behaviors for them.

If we should actually redirect the "default" branch to the latest 
release branch from an HTTP point of view is a different topic. The idea 
would have https://docs.yoctoproject.org/ redirect to 
https://docs.yoctoproject.org/kirkstone until the next release and then 
redirect to langdale. I am not sure this is going to make web search 
engine SEO happy though...

Finally, you can see the branch of the documentation you're looking at 
from the dropdown menu at the top of the page.

Cheers,
Quentin


  reply	other threads:[~2022-08-03 13:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03 12:59 Generated master docs not up to date - issue in run-docs-build? Michael Opdenacker
2022-08-03 13:11 ` Quentin Schulz [this message]
2022-08-03 13:20   ` [docs] " Quentin Schulz
2022-08-03 13:35     ` Michael Opdenacker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eb55af01-e73f-856d-e61b-3eb331504da9@theobroma-systems.com \
    --to=quentin.schulz@theobroma-systems.com \
    --cc=docs@lists.yoctoproject.org \
    --cc=michael.opdenacker@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.