Skip to content

bug: sitemap generator does not preserve files modification time #853

Description

@SemyonSinchenko

Describe the bug

At the moment modification time equal to checkout time that is de-facto is a build time.

Generating sitemap entry for https://graphframes.io/01-about/01-index.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/01-about/02-architecture.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/01-about/03-benchmarks.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/02-quick-start/02-quick-start.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/03-tutorials/01-tutorials.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/03-tutorials/02-motif-tutorial.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/04-user-guide/01-creating-graphframes.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/04-user-guide/02-basic-operations.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/04-user-guide/03-centralities.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/04-user-guide/04-motif-finding.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/04-user-guide/05-traversals.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/04-user-guide/06-graph-clustering.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/04-user-guide/07-subgraphs.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/04-user-guide/08-saving-and-loading.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/04-user-guide/09-aggregate-messages.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/04-user-guide/10-pregel.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/04-user-guide/11-property-graphs.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/04-user-guide/12-graphx-conversion.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/04-user-guide/13-configurations.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/04-user-guide/14-special-columns.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/04-user-guide/15-graph-ml.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/05-blog/01-index.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/05-blog/1000-graphframes-is-back.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/05-blog/997-graphframes-011-release.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/05-blog/998-graphframes-010-release.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/05-blog/999-graphframes-093-release.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/06-contributing/01-contributing-guide.html (lastmod=2026-06-09)
Generating sitemap entry for https://graphframes.io/06-contributing/02-community.html (lastmod=2026-06-09)
Sitemap written to /home/runner/work/graphframes/graphframes/docs/src/sitemap.xml with 28 entries

To Reproduce

https://github.com/graphframes/graphframes/actions/runs/27234281033/job/80422108611

Expected behavior

Real modification time.

System [please complete the following information]:

  • OS: e.g. [Ubuntu 18.04]
  • Python Version (if applied): [e.g. Python 3.8]
  • Spark / PySpark version: [e.g. PySpark 3.5.1]
  • GraphFrames version: [e.g. graphframes-0.9.0]

Component

  • Scala Core Internal
  • Scala API
  • Spark Connect Plugin
  • PySpark Classic
  • PySpark Connect

Additional context

Option 1: update Laika to use git commands (git ls?)
Option 2: use this https://github.com/chetan/git-restore-mtime-action

I would prefer do not add an additional action tbh.

Are you planning on creating a PR?

  • I'm willing to make a pull-request

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions