Page MenuHomeSoftware Heritage

docs: Fix redondant extlink link warnings on archive.s.o
ClosedPublic

Authored by ardumont on Jan 18 2022, 5:12 PM.

Details

Summary

This fixes build [1]

16:47:16  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/user/faq/index.rst:41: WARNING: hardcoded link 'https://archive.softwareheritage.org/save/' could be replaced by an extlink (try using ':swh_web:`save/`' instead)

[1] https://jenkins.softwareheritage.org/job/DDOC/job/dev/628/console

Related to T3829

Diff Detail

Event Timeline

Build has FAILED

Patch application report for D6967 (id=25269)

Rebasing onto 578f414aca...

Current branch diff-target is up to date.
Changes applied before test
commit 0df63d1ae7fa0f34fe594b71f35a23ea48927031
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Tue Jan 18 17:01:28 2022 +0100

    user/faq: Fix save code now link warning
    
    This fixes build [1]
16:47:16  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/user/faq/index.rst:41: WARNING: hardcoded link 'https://archive.softwareheritage.org/save/' could be replaced by an extlink (try using ':swh_web:`save/`' instead)
```

[1] https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/59/console
Link to build: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/62/
See console output for more information: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/62/console
Harbormaster returned this revision to the author for changes because remote builds failed.Jan 18 2022, 5:21 PM
Harbormaster failed remote builds in B26129: Diff 25269!

Fix some other warnings, it won't be enough as other modules impacts that build

Build has FAILED

Patch application report for D6967 (id=25274)

Rebasing onto 578f414aca...

Current branch diff-target is up to date.
Changes applied before test
commit 215a72e4f57b8553263e6b244a23d9e2ae0abeca
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Tue Jan 18 17:01:28 2022 +0100

    user/faq: Fix link warnings
    
    This fixes warning like [1] and attempt to fix the build [2]
    
    [1]
16:47:16  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/user/faq/index.rst:41: WARNING: hardcoded link 'https://archive.softwareheritage.org/save/' could be replaced by an extlink (try using ':swh_web:`save/`' instead)
```

[2] https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/59/console
Link to build: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/65/
See console output for more information: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/65/console
Harbormaster returned this revision to the author for changes because remote builds failed.Jan 18 2022, 6:22 PM
Harbormaster failed remote builds in B26133: Diff 25274!
ardumont retitled this revision from user/faq: Fix save code now link warning to docs: Fix redondant extlink link warnings on archive.s.o.Jan 19 2022, 10:31 AM

Build has FAILED

Patch application report for D6967 (id=25283)

Rebasing onto 578f414aca...

Current branch diff-target is up to date.
Changes applied before test
commit 2b07ff1d42d65393f0d16b70d46de8c7a61bf33a
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Tue Jan 18 17:01:28 2022 +0100

    docs: Fix redondant extlink link warnings on archive.s.o
    
    This fixes warning like [1] and attempt to fix the build [2]
    
    [1]
16:47:16  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/user/faq/index.rst:41: WARNING: hardcoded link 'https://archive.softwareheritage.org/save/' could be replaced by an extlink (try using ':swh_web:`save/`' instead)
```

[2] https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/59/console
Link to build: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/66/
See console output for more information: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/66/console
Harbormaster returned this revision to the author for changes because remote builds failed.Jan 19 2022, 10:43 AM
Harbormaster failed remote builds in B26143: Diff 25283!

Update diff from the good repository to try and fix ci.

Build is green

Patch application report for D6967 (id=25285)

Rebasing onto 40e227efac...

First, rewinding head to replay your work on top of it...
Fast-forwarded diff-target to base-revision-436-D6967.
Changes applied before test

See https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/436/ for more details.

Build has FAILED

Patch application report for D6967 (id=25286)

Rebasing onto 578f414aca...

Current branch diff-target is up to date.
Changes applied before test
commit 930a575c3826a1b4873a83ac9dcee164f847186d
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Tue Jan 18 17:01:28 2022 +0100

    docs: Fix redondant extlink link warnings on archive.s.o
    
    This fixes warning like [1] and attempt to fix the build [2]
    
    [1]
16:47:16  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/user/faq/index.rst:41: WARNING: hardcoded link 'https://archive.softwareheritage.org/save/' could be replaced by an extlink (try using ':swh_web:`save/`' instead)
```

[2] https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/59/console
Link to build: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/67/
See console output for more information: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/67/console
Harbormaster returned this revision to the author for changes because remote builds failed.Jan 19 2022, 11:15 AM
Harbormaster failed remote builds in B26146: Diff 25286!

Build has failed

Remaining warnings to fix:

11:13:53    import dash_html_components as html
11:14:05  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/docs/getting-started/api.rst:18: WARNING: Mismatch: both interpreted text role prefix and reference suffix.
11:15:01  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/.tox/sphinx-dev/lib/python3.7/site-packages/swh/loader/package/maven/loader.py:docstring of swh.loader.package.maven.loader.MavenLoader.origin:: WARNING: more than one target found for cross-reference 'Origin': swh.fuse.fs.artifact.Origin, swh.model.model.Origin
11:15:01  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/.tox/sphinx-dev/lib/python3.7/site-packages/swh/loader/package/nixguix/loader.py:docstring of swh.loader.package.nixguix.loader.NixGuixLoader.origin:: WARNING: more than one target found for cross-reference 'Origin': swh.fuse.fs.artifact.Origin, swh.model.model.Origin
11:15:01  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/.tox/sphinx-dev/lib/python3.7/site-packages/swh/loader/package/npm/loader.py:docstring of swh.loader.package.npm.loader.NpmLoader.origin:: WARNING: more than one target found for cross-reference 'Origin': swh.fuse.fs.artifact.Origin, swh.model.model.Origin
11:15:01  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/.tox/sphinx-dev/lib/python3.7/site-packages/swh/loader/package/opam/loader.py:docstring of swh.loader.package.opam.loader.OpamLoader.origin:: WARNING: more than one target found for cross-reference 'Origin': swh.fuse.fs.artifact.Origin, swh.model.model.Origin
11:15:01  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/.tox/sphinx-dev/lib/python3.7/site-packages/swh/loader/package/pypi/loader.py:docstring of swh.loader.package.pypi.loader.PyPILoader.origin:: WARNING: more than one target found for cross-reference 'Origin': swh.fuse.fs.artifact.Origin, swh.model.model.Origin
11:15:01  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/.tox/sphinx-dev/lib/python3.7/site-packages/swh/scheduler/cli/task.py:docstring of swh.scheduler.cli.task.iter_origins:: WARNING: more than one target found for cross-reference 'Origin': swh.fuse.fs.artifact.Origin, swh.model.model.Origin
11:15:01  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/.tox/sphinx-dev/lib/python3.7/site-packages/swh/vault/cookers/git_bare.py:docstring of swh.vault.cookers.git_bare.GitBareCooker.SUPPORTED_OBJECT_TYPES:: WARNING: more than one target found for cross-reference 'ObjectType': swh.model.model.ObjectType, swh.model.swhids.ObjectType
11:15:01  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/.tox/sphinx-dev/lib/python3.7/site-packages/swh/web/client/client.py:docstring of swh.web.client.client.WebAPIClient:3: WARNING: hardcoded link 'https://archive.softwareheritage.org/api/' could be replaced by an extlink (try using ':swh_web:`api/`' instead)
11:15:01  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/.tox/sphinx-dev/lib/python3.7/site-packages/swh/web/client/client.py:docstring of swh.web.client.client.WebAPIClient:8: WARNING: hardcoded link 'https://archive.softwareheritage.org/api/' could be replaced by an extlink (try using ':swh_web:`api/`' instead)

11:15:01 /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/.tox/sphinx-dev/lib/python3.7/site-packages/swh/web/client/client.py:docstring of swh.web.client.client.WebAPIClient:3: WARNING: hardcoded link 'https://archive.softwareheritage.org/api/' could be replaced by an extlink (try using ':swh_web:api/' instead)
11:15:01 /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/.tox/sphinx-dev/lib/python3.7/site-packages/swh/web/client/client.py:docstring of swh.web.client.client.WebAPIClient:8: WARNING: hardcoded link 'https://archive.softwareheritage.org/api/' could be replaced by an extlink (try using ':swh_web:api/' instead)

D6973 ^

Build has FAILED

Patch application report for D6967 (id=25286)

Rebasing onto 578f414aca...

Current branch diff-target is up to date.
Changes applied before test
commit 930a575c3826a1b4873a83ac9dcee164f847186d
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Tue Jan 18 17:01:28 2022 +0100

    docs: Fix redondant extlink link warnings on archive.s.o
    
    This fixes warning like [1] and attempt to fix the build [2]
    
    [1]
16:47:16  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/user/faq/index.rst:41: WARNING: hardcoded link 'https://archive.softwareheritage.org/save/' could be replaced by an extlink (try using ':swh_web:`save/`' instead)
```

[2] https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/59/console
Link to build: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/69/
See console output for more information: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/69/console

Build has FAILED

Patch application report for D6967 (id=25289)

Rebasing onto 43aa4769df...

First, rewinding head to replay your work on top of it...
Applying: docs: Fix redondant extlink link warnings on archive.s.o
Using index info to reconstruct a base tree...
M	user/faq/index.rst
Falling back to patching base and 3-way merge...
Changes applied before test
commit 298154f23251dfb6761861f22efd617b57603039
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Tue Jan 18 17:01:28 2022 +0100

    docs: Fix redondant extlink link warnings on archive.s.o
    
    This fixes warning like [1] and attempt to fix the build [2]
    
    [1]
16:47:16  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/user/faq/index.rst:41: WARNING: hardcoded link 'https://archive.softwareheritage.org/save/' could be replaced by an extlink (try using ':swh_web:`save/`' instead)
```

[2] https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/59/console
Link to build: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/72/
See console output for more information: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/72/console
Harbormaster returned this revision to the author for changes because remote builds failed.Jan 19 2022, 11:51 AM
Harbormaster failed remote builds in B26149: Diff 25289!

Build is green

Patch application report for D6967 (id=25292)

Rebasing onto 3a3fff1438...

Current branch diff-target is up to date.
Changes applied before test
commit c2a33de47e67e73cbf8a01d238e3036868827763
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Tue Jan 18 17:01:28 2022 +0100

    docs: Fix redondant extlink link warnings on archive.s.o
    
    This fixes warning like [1] and attempt to fix the build [2]
    
    [1]
16:47:16  /var/lib/jenkins/workspace/DDOC/build-on-diff/swh-docs/user/faq/index.rst:41: WARNING: hardcoded link 'https://archive.softwareheritage.org/save/' could be replaced by an extlink (try using ':swh_web:`save/`' instead)
```

[2] https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/59/console
See https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/75/ for more details.
This revision was not accepted when it landed; it landed in state Needs Review.Jan 19 2022, 12:11 PM
ardumont requested review of this revision.
This revision was automatically updated to reflect the committed changes.