Skip to contentSkip to conversation

scripts/run-docs-build: remove gatesgarth

PATCH In review Michael Opdenacker 4 participants 6 messages Nov 24, 2021 – Nov 25, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts/run-docs-build: remove gatesgarth

Together with the corresponding Bitbake version, which are no longer supported.

---
 scripts/run-docs-build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/run-docs-build +2 -2
index 3db4a97..5e1d649 100755
@@ -35,7 +35,7 @@ mkdir $outputdir/bitbake/next
 cp -r ./_build/final/* $outputdir/bitbake/next
 
 # stable branches
-for branch in 1.46 1.48 1.50 1.52; do
+for branch in 1.46 1.50 1.52; do
     git checkout $branch
     make clean
     make publish
@@ -68,7 +68,7 @@ mkdir $outputdir/next
 cp -r ./_build/final/* $outputdir/next
 
 # stable branches
-for branch in dunfell gatesgarth hardknott honister; do
+for branch in dunfell hardknott honister; do
     cd $ypdocs
     git checkout $branch
     make clean
Signature · 1 line
2.25.1
#1 lore raw
Quoted 22 lines · Michael Opdenacker

Together with the corresponding Bitbake version, which are no longer supported.

---
 scripts/run-docs-build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/run-docs-build +1 -1
index 3db4a97..5e1d649 100755
@@ -35,7 +35,7 @@ mkdir $outputdir/bitbake/next
 cp -r ./_build/final/* $outputdir/bitbake/next
 
 # stable branches
-for branch in 1.46 1.48 1.50 1.52; do
+for branch in 1.46 1.50 1.52; do
     git checkout $branch
     make clean
     make publish

scripts/run-docs-build mkdir $outputdir/next · line 74

Quoted 8 lines
scripts/run-docs-build +1 -1
@@ -68,7 +68,7 @@ mkdir $outputdir/next
 cp -r ./_build/final/* $outputdir/next
 
 # stable branches
-for branch in dunfell gatesgarth hardknott honister; do
+for branch in dunfell hardknott honister; do
     cd $ypdocs
     git checkout $branch
     make clean

I'm a bit torn on this. They are no longer officially supported releases now but it may make sense to rebuild all the sphinx docs in this script rather than some subset?

Cheers,

Richard

#2 lore raw

Hi Richard,

Thanks for the review!

Quoted 25 lines · Richard Purdie
Quoted 24 lines · Michael Opdenacker

Together with the corresponding Bitbake version, which are no longer supported.

---
 scripts/run-docs-build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/run-docs-build +1 -1
index 3db4a97..5e1d649 100755
@@ -35,7 +35,7 @@ mkdir $outputdir/bitbake/next
 cp -r ./_build/final/* $outputdir/bitbake/next
 
 # stable branches
-for branch in 1.46 1.48 1.50 1.52; do
+for branch in 1.46 1.50 1.52; do
     git checkout $branch
     make clean
     make publish
@@ -68,7 +68,7 @@ mkdir $outputdir/next
 cp -r ./_build/final/* $outputdir/next
 
Quoted 9 lines

scripts/run-docs-build mkdir $outputdir/next · line 74

Quoted 6 lines
scripts/run-docs-build +1 -1
 # stable branches
-for branch in dunfell gatesgarth hardknott honister; do
+for branch in dunfell hardknott honister; do
     cd $ypdocs
     git checkout $branch
     make clean

I'm a bit torn on this. They are no longer officially supported releases now but it may make sense to rebuild all the sphinx docs in this script rather than some subset?

I understand. Your decision to make.
I just proposed this change for consistency with the current implementation.

Any other opinions?

Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw
In reply to Richard Purdie

Hi Michael, Richard,

Quoted 25 lines · Richard Purdie
Quoted 24 lines · Michael Opdenacker

Together with the corresponding Bitbake version, which are no longer supported.

---
 scripts/run-docs-build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/run-docs-build +1 -1
index 3db4a97..5e1d649 100755
@@ -35,7 +35,7 @@ mkdir $outputdir/bitbake/next
 cp -r ./_build/final/* $outputdir/bitbake/next
 
 # stable branches
-for branch in 1.46 1.48 1.50 1.52; do
+for branch in 1.46 1.50 1.52; do
     git checkout $branch
     make clean
     make publish
@@ -68,7 +68,7 @@ mkdir $outputdir/next
 cp -r ./_build/final/* $outputdir/next
 
Quoted 11 lines

scripts/run-docs-build mkdir $outputdir/next · line 74

Quoted 6 lines
scripts/run-docs-build +1 -1
 # stable branches
-for branch in dunfell gatesgarth hardknott honister; do
+for branch in dunfell hardknott honister; do
     cd $ypdocs
     git checkout $branch
     make clean

I'm a bit torn on this. They are no longer officially supported releases now but it may make sense to rebuild all the sphinx docs in this script rather than some subset?

I think we want to make sure we have all docs up-to-date, even for the branches that aren't maintained anymore. Especially since it's not taking a lot of CPU time to build them, it's fine IMO. We could always make minor changes to old docs. E.g. the releases.rst might get updates until we figure something out.

Cheers,
Quentin

#4 lore raw

Hi Quentin,

Quoted 38 lines · Quentin Schulz

Hi Michael, Richard,

Quoted 25 lines · Richard Purdie
Quoted 24 lines · Michael Opdenacker

Together with the corresponding Bitbake version, which are no longer supported.

---
 scripts/run-docs-build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/run-docs-build +1 -1
index 3db4a97..5e1d649 100755
@@ -35,7 +35,7 @@ mkdir $outputdir/bitbake/next
 cp -r ./_build/final/* $outputdir/bitbake/next
 
 # stable branches
-for branch in 1.46 1.48 1.50 1.52; do
+for branch in 1.46 1.50 1.52; do
     git checkout $branch
     make clean
     make publish
@@ -68,7 +68,7 @@ mkdir $outputdir/next
 cp -r ./_build/final/* $outputdir/next
 
Quoted 10 lines

scripts/run-docs-build mkdir $outputdir/next · line 74

Quoted 6 lines
scripts/run-docs-build +1 -1
 # stable branches
-for branch in dunfell gatesgarth hardknott honister; do
+for branch in dunfell hardknott honister; do
     cd $ypdocs
     git checkout $branch
     make clean

I'm a bit torn on this. They are no longer officially supported releases now but it may make sense to rebuild all the sphinx docs in this script rather than some subset?

Quoted 5 lines

I think we want to make sure we have all docs up-to-date, even for the branches that aren't maintained anymore. Especially since it's not taking a lot of CPU time to build them, it's fine IMO. We could always make minor changes to old docs. E.g. the releases.rst might get updates until we figure something out.

Thanks for casting your vote. It makes sense. I'll send another patch with this decision in the comments.
Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#5 lore raw
Quoted 43 lines · Michael Opdenacker

Hi Quentin,

Quoted 35 lines · Quentin Schulz

Hi Michael, Richard,

Quoted 32 lines · Richard Purdie
Quoted 22 lines · Michael Opdenacker

Together with the corresponding Bitbake version, which are no longer supported.

---
 scripts/run-docs-build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/run-docs-build +1 -1
index 3db4a97..5e1d649 100755
@@ -35,7 +35,7 @@ mkdir $outputdir/bitbake/next
 cp -r ./_build/final/* $outputdir/bitbake/next
 
 # stable branches
-for branch in 1.46 1.48 1.50 1.52; do
+for branch in 1.46 1.50 1.52; do
     git checkout $branch
     make clean
     make publish

scripts/run-docs-build mkdir $outputdir/next · line 74

Quoted 8 lines
scripts/run-docs-build +1 -1
@@ -68,7 +68,7 @@ mkdir $outputdir/next
 cp -r ./_build/final/* $outputdir/next
 
 # stable branches
-for branch in dunfell gatesgarth hardknott honister; do
+for branch in dunfell hardknott honister; do
     cd $ypdocs
     git checkout $branch
     make clean

I'm a bit torn on this. They are no longer officially supported

releases now but

Quoted 1 line
Quoted 1 line

it may make sense to rebuild all the sphinx docs in this script rather

than some

Quoted 2 lines
Quoted 2 lines

subset?

Quoted 9 lines
Quoted 5 lines

I think we want to make sure we have all docs up-to-date, even for the branches that aren't maintained anymore. Especially since it's not taking a lot of CPU time to build them, it's fine IMO. We could always make minor changes to old docs. E.g. the releases.rst might get updates until we figure something out.

Thanks for casting your vote. It makes sense. I'll send another patch with this decision in the comments.

I agree with Quentin here. Until we have a better mechanism (to rebuild only modified branches not all of them each time, ..) I think we should continue to build them all.

Quoted 20 lines

Cheers
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#2196):
https://lists.yoctoproject.org/g/docs/message/2196
Mute This Topic: https://lists.yoctoproject.org/mt/87285736/1279857
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-