Skip to contentSkip to conversation

Sphinx 'backport' for Dunfell LTS

DISCUSSION Nicolas Dechesne 3 participants 6 messages Nov 20, 2020 – Dec 16, 2020

lore
Share & tools
lore
#0 lore raw

Steve, RP,

I think I am "done" with the 'backport' of Sphinx docs in both yocto-docs and bitbake. The backport process isn't straightforward.. here is what I did in each case:

1. take all sphinx commits from master branch and squash them into dunfell. that's a large commit that brings sphinx and removes docbook.
2. because of #1 there are changes that we 'imported' which needed to be undo'd (e.g. a doc change that was applied to master, but is not needed in dunfell). To get the list of such changes, I look at each patch in dunfell vs master.
3. in yocto-docs, I had to 'revert' some patches first before I could cherry-pick all the sphinx changes, and I have then 're-applied' the changes later in the branch (of course when I say re-apply, i mean i did it again in sphinx instead of docbook)
4. Then I took as many patches as possible from 'master' which apply to dunfell.

I understand this is a complex 'merge', and I must admit I have gone back and forth on whether we should do it.. I couldn't find a simpler way, but if we merge it and use Sphinx for the next LTS release (3.1.5), then all active releases docs would now be based on Sphinx.

I have pushed the branches here:
http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?h=sphinx&id=488a421fea826a2cff27dd009768430769f25ab0
and
https://git.openembedded.org/bitbake/commit/?h=sphinx&id=fe9dde75fa55da08fddd0cce778d3eb6303b2124

It's rather inconvenient to review the series by email (the first patch is huge), But we can discuss here..

enjoy... or not ;)

nico

#1 lore raw

Hi Nico,

This looks reasonable to me. I *really* appreciate all the effort you put into this. Thanks!

Steve

Quoted 35 lines · Nicolas Dechesne

Steve, RP,

I think I am "done" with the 'backport' of Sphinx docs in both yocto-docs and bitbake. The backport process isn't straightforward.. here is what I did in each case:

1. take all sphinx commits from master branch and squash them into dunfell. that's a large commit that brings sphinx and removes docbook.
2. because of #1 there are changes that we 'imported' which needed to be undo'd (e.g. a doc change that was applied to master, but is not needed in dunfell). To get the list of such changes, I look at each patch in dunfell vs master.
3. in yocto-docs, I had to 'revert' some patches first before I could cherry-pick all the sphinx changes, and I have then 're-applied' the changes later in the branch (of course when I say re-apply, i mean i did it again in sphinx instead of docbook)
4. Then I took as many patches as possible from 'master' which apply to dunfell.

I understand this is a complex 'merge', and I must admit I have gone back and forth on whether we should do it.. I couldn't find a simpler way, but if we merge it and use Sphinx for the next LTS release (3.1.5), then all active releases docs would now be based on Sphinx.

I have pushed the branches here:
http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?h=sphinx&id=488a421fea826a2cff27dd009768430769f25ab0
and
https://git.openembedded.org/bitbake/commit/?h=sphinx&id=fe9dde75fa55da08fddd0cce778d3eb6303b2124

It's rather inconvenient to review the series by email (the first patch is huge), But we can discuss here..

enjoy... or not ;)

nico

#2 lore raw
In reply to Nicolas Dechesne
Quoted 29 lines · Nicolas Dechesne

I think I am "done" with the 'backport' of Sphinx docs in both yocto-docs and bitbake. The backport process isn't straightforward.. here is what I did in each case:

1. take all sphinx commits from master branch and squash them into dunfell. that's a large commit that brings sphinx and removes docbook.
2. because of #1 there are changes that we 'imported' which needed to be undo'd (e.g. a doc change that was applied to master, but is not needed in dunfell). To get the list of such changes, I look at each patch in dunfell vs master.
3. in yocto-docs, I had to 'revert' some patches first before I could cherry-pick all the sphinx changes, and I have then 're-applied' the changes later in the branch (of course when I say re-apply, i mean i did it again in sphinx instead of docbook)
4. Then I took as many patches as possible from 'master' which apply to dunfell.

I understand this is a complex 'merge', and I must admit I have gone back and forth on whether we should do it.. I couldn't find a simpler
way, but if we merge it and use Sphinx for the next LTS release (3.1.5), then all active releases docs would now be based on Sphinx.

I have pushed the branches here:
http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?h=sphinx&id=488a421fea826a2cff27dd009768430769f25ab0
and
https://git.openembedded.org/bitbake/commit/?h=sphinx&id=fe9dde75fa55da08fddd0cce778d3eb6303b2124

Quoted 4 lines

It's rather inconvenient to review the series by email (the first patch is huge), But we can discuss here..

enjoy... or not ;)

Thanks for working on this. I'm in favour of merging and then handling any issues we find as they arise...

Steve: How/when do we want to do this?

Cheers,

Richard

#3 lore raw
Quoted 35 lines · Richard Purdie
Quoted 18 lines · Nicolas Dechesne

I think I am "done" with the 'backport' of Sphinx docs in both yocto-docs and bitbake. The backport process isn't straightforward.. here is what I did in each case:

1. take all sphinx commits from master branch and squash them into dunfell. that's a large commit that brings sphinx and removes docbook.
2. because of #1 there are changes that we 'imported' which needed to be undo'd (e.g. a doc change that was applied to master, but is not needed in dunfell). To get the list of such changes, I look at each patch in dunfell vs master.
3. in yocto-docs, I had to 'revert' some patches first before I could cherry-pick all the sphinx changes, and I have then 're-applied' the changes later in the branch (of course when I say re-apply, i mean i did it again in sphinx instead of docbook)
4. Then I took as many patches as possible from 'master' which apply to dunfell.

Quoted 8 lines

I understand this is a complex 'merge', and I must admit I have gone back and forth on whether we should do it.. I couldn't find a simpler
way, but if we merge it and use Sphinx for the next LTS release (3.1.5), then all active releases docs would now be based on Sphinx.

I have pushed the branches here:

http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?h=sphinx&id=488a421fea826a2cff27dd009768430769f25ab0

Quoted 2 lines

and

https://git.openembedded.org/bitbake/commit/?h=sphinx&id=fe9dde75fa55da08fddd0cce778d3eb6303b2124

Quoted 4 lines

It's rather inconvenient to review the series by email (the first patch is huge), But we can discuss here..

Quoted 7 lines
Quoted 1 line

enjoy... or not ;)

Thanks for working on this. I'm in favour of merging and then handling any issues we find as they arise...

Steve: How/when do we want to do this?

Let's do the merge right after the 3.1.4 release. I'll be sending the final pull request for that later today.

Steve

Quoted 5 lines

Cheers,

Richard

#4 lore raw

hi Steve,

Quoted 42 lines · Steve Sakoman
Quoted 37 lines · Richard Purdie
Quoted 18 lines · Nicolas Dechesne

I think I am "done" with the 'backport' of Sphinx docs in both yocto-docs and bitbake. The backport process isn't straightforward.. here is what I did in each case:

1. take all sphinx commits from master branch and squash them into dunfell. that's a large commit that brings sphinx and removes docbook.
2. because of #1 there are changes that we 'imported' which needed to be undo'd (e.g. a doc change that was applied to master, but is not needed in dunfell). To get the list of such changes, I look at each patch in dunfell vs master.
3. in yocto-docs, I had to 'revert' some patches first before I could cherry-pick all the sphinx changes, and I have then 're-applied' the changes later in the branch (of course when I say re-apply, i mean i did it again in sphinx instead of docbook)
4. Then I took as many patches as possible from 'master' which apply to dunfell.

Quoted 8 lines

I understand this is a complex 'merge', and I must admit I have gone back and forth on whether we should do it.. I couldn't find a simpler
way, but if we merge it and use Sphinx for the next LTS release (3.1.5), then all active releases docs would now be based on Sphinx.

I have pushed the branches here:

http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?h=sphinx&id=488a421fea826a2cff27dd009768430769f25ab0

Quoted 2 lines

and

https://git.openembedded.org/bitbake/commit/?h=sphinx&id=fe9dde75fa55da08fddd0cce778d3eb6303b2124

Quoted 5 lines

It's rather inconvenient to review the series by email (the first patch is huge), But we can discuss here..

enjoy... or not ;)

Quoted 9 lines
Quoted 5 lines

Thanks for working on this. I'm in favour of merging and then handling any issues we find as they arise...

Steve: How/when do we want to do this?

Let's do the merge right after the 3.1.4 release. I'll be sending the final pull request for that later today.

Where do we stand with this? Are you still planning to merge the Sphinx patches in dunfell branch (before 3.1.5)?

Quoted 10 lines

Steve

Quoted 5 lines

Cheers,

Richard

#5 lore raw

Hi Nicolas,

Quoted 4 lines
Quoted 1 line

Let's do the merge right after the 3.1.4 release. I'll be sending the final pull request for that later today.

Where do we stand with this? Are you still planning to merge the Sphinx patches in dunfell branch (before 3.1.5)?

Thanks for the reminder!

I'll pull your changes into stable/dunfell-next and send a pull request.

Steve