Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-69405: Automate creation of idlelib/help.html from Doc/.../idle.html#132723

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

@StanFromIreland
Copy link
Member

@StanFromIrelandStanFromIreland commentedApr 19, 2025
edited
Loading

I think this would be the best way to keep it consistently synced.

secrets should already be set up as it is used instale.yml

Pushing to PR's won't work. Two other options

  • Push to main after idle.rst is modified (current)
  • Fail if idle.rst is modified and help.html is not in sync
2nd Option POC
name: Check if Lib/idlelib/help.html is in sync with Doc/library/idle.rston:  push:    paths:-"Doc/library/idle.rst"jobs:  check-help-html:    runs-on: ubuntu-latest    steps:- uses: actions/checkout@v4        with:          fetch-depth:0          persist-credentials:false- uses: actions/setup-python@v5        with:          python-version: '3.x'- name: Bild and copy        run: |          cd Doc          make venv          make html          cd..          python-c"from Lib.idlelib.help import copy_strip; copy_strip()"- run: |          if! git diff--quiet Lib/idlelib/help.html; then            exit1

Requesting:@terryjreedy


Test run 0:https://github.com/python/cpython/actions/runs/14548774396/job/40817476539?pr=132723
Test run 1:https://github.com/python/cpython/actions/runs/14548788199/job/40817507527?pr=132723


Wulian233 reacted with thumbs up emoji
@StanFromIreland
Copy link
MemberAuthor

@terryjreedy What do you think? An action that fails if the file is out of sync and it would be on the submitter to modify it, like is expected for clinic, config etc.?

@StanFromIrelandStanFromIreland deleted the sync-idle-help branchSeptember 27, 2025 08:31
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@terryjreedyterryjreedyAwaiting requested review from terryjreedyterryjreedy will be requested when the pull request is marked ready for reviewterryjreedy is a code owner

@ezio-melottiezio-melottiAwaiting requested review from ezio-melottiezio-melotti will be requested when the pull request is marked ready for reviewezio-melotti is a code owner

@hugovkhugovkAwaiting requested review from hugovkhugovk will be requested when the pull request is marked ready for reviewhugovk is a code owner

@AA-TurnerAA-TurnerAwaiting requested review from AA-TurnerAA-Turner will be requested when the pull request is marked ready for reviewAA-Turner is a code owner

@webknjazwebknjazAwaiting requested review from webknjazwebknjaz will be requested when the pull request is marked ready for reviewwebknjaz is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@StanFromIreland

[8]ページ先頭

©2009-2026 Movatter.jp