[PATCH yocto-autobuilder-helper] scripts: run-docs-build: do not extract eclipse directories from old docs


Quentin Schulz
 

From: Quentin Schulz <quentin.schulz@...>

For some reason, the old docs tarball includes many eclipse
subdirectories which are just cluttering the docs website up.

Therefore, let's just not extract eclipse directories from the tarball.

Cc: Quentin Schulz <foss+yocto@...>
Signed-off-by: Quentin Schulz <quentin.schulz@...>
---
scripts/run-docs-build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/run-docs-build b/scripts/run-docs-build
index f6b8ac4..b912ee9 100755
--- a/scripts/run-docs-build
+++ b/scripts/run-docs-build
@@ -35,7 +35,7 @@ docbookarchive=${docbookarchive:-/srv/autobuilder/autobuilder.yocto.io/pub/docbo
mkdir $outputdir
cd $outputdir
echo Extracing old content from archive
-tar -xJf $docbookarchive
+tar --exclude=eclipse -xJf $docbookarchive

cd $bbdocs
mkdir $outputdir/bitbake
--
2.35.3


Quentin Schulz
 

Hi all,

Any feedback to give on this patch?

Cheers,
Quentin

On 5/12/22 15:02, Quentin Schulz wrote:
From: Quentin Schulz <quentin.schulz@...>
For some reason, the old docs tarball includes many eclipse
subdirectories which are just cluttering the docs website up.
Therefore, let's just not extract eclipse directories from the tarball.
Cc: Quentin Schulz <foss+yocto@...>
Signed-off-by: Quentin Schulz <quentin.schulz@...>
---
scripts/run-docs-build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/run-docs-build b/scripts/run-docs-build
index f6b8ac4..b912ee9 100755
--- a/scripts/run-docs-build
+++ b/scripts/run-docs-build
@@ -35,7 +35,7 @@ docbookarchive=${docbookarchive:-/srv/autobuilder/autobuilder.yocto.io/pub/docbo
mkdir $outputdir
cd $outputdir
echo Extracing old content from archive
-tar -xJf $docbookarchive
+tar --exclude=eclipse -xJf $docbookarchive
cd $bbdocs
mkdir $outputdir/bitbake


Richard Purdie
 

On Tue, 2022-05-31 at 12:15 +0200, Quentin Schulz wrote:
Any feedback to give on this patch?
Looks good to me, merged. Sorry about the delay.

Cheers,

Richard