Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix, deployment, page render or others #5

Open
SmilingWayne opened this issue Jul 29, 2024 · 2 comments
Open

Bugfix, deployment, page render or others #5

SmilingWayne opened this issue Jul 29, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@SmilingWayne
Copy link
Owner

  • Mainly some bugs during deployment on GitHub.io
@SmilingWayne SmilingWayne added the bug Something isn't working label Jul 29, 2024
@SmilingWayne SmilingWayne self-assigned this Jul 29, 2024
SmilingWayne added a commit that referenced this issue Jul 29, 2024
@SmilingWayne
Copy link
Owner Author

2024-07-29:

  • Problems occurred like This Link which seem to come from setuptools dependencies update with version 72.0.0.
  • Temporal bugfix procedure follows This repo, using by force setuptools==71.0.0 and add --no-build-isolation command in pip install command. see commit 6cc6aaa.

2024-08-05:

  • with setuptools == 72.1.0 release, bug fixed :), so the temporal fix --no-build-isolation is rolled back in commit ded0e73 .
  • Deployed successfully. ✅

SmilingWayne added a commit that referenced this issue Oct 12, 2024
SmilingWayne added a commit that referenced this issue Oct 12, 2024
SmilingWayne added a commit that referenced this issue Oct 12, 2024
SmilingWayne added a commit that referenced this issue Oct 12, 2024
SmilingWayne added a commit that referenced this issue Oct 12, 2024
@SmilingWayne
Copy link
Owner Author

New Problem resolved in Sunday, Oct 13, 2024 at 0:34. Causes:

  1. Yesterday, 2024.10.12, I updated Github workflow, add Github Robot into Github Actions. But forgot to set fetch-depth to 0 when using actions checkout.

Failed version:

      - uses: actions/checkout@v4
      - name: Configure Git Credentials
        run: |
          git config user.name github-actions[bot]
          git config user.email 41898282+github-actions[bot]@users.noreply.github.com

This would cause mkdocs-git-revision-date-localized-plugin plugin fail to retrieve "file creation time", instead, the "file creation time" would be the same as "Last Update Time", which is the closest commit. Details can be found here.

Success version:

      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - name: Configure Git Credentials
        run: |
          git config user.name github-actions[bot]
          git config user.email 41898282+github-actions[bot]@users.noreply.github.com

The new commit 6aeacb2 is tested and worked correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant