Skip to content

Compact publishing#12

Merged
VPRamon merged 9 commits into
mainfrom
compact-publishing
May 30, 2026
Merged

Compact publishing#12
VPRamon merged 9 commits into
mainfrom
compact-publishing

Conversation

@VPRamon

@VPRamon VPRamon commented May 30, 2026

Copy link
Copy Markdown
Member

This pull request removes the internal tempoch-time-data crate and migrates the codebase to use the external siderust-archive crate for all time data. It updates dependencies, workspace membership, and documentation to reflect this change. The automated weekly data refresh workflow and related scripts are also deleted, as this maintenance now happens in the archive repository.

Migration to external time data source:

  • tempoch-core/Cargo.toml: Replaces the dependency on tempoch-time-data with a direct dependency on siderust-archive, updates features, and enables the astro feature for qtty. The runtime-data-fetch feature now uses siderust-archive/fetch instead of tempoch-time-data/fetch. [1] [2]
  • Cargo.toml: Removes tempoch-time-data and tempoch-time-data-updater from the workspace members list.

Removal of internal update infrastructure:

  • .github/workflows/update-time-data.yml: Deletes the workflow that handled weekly time data refresh and publishing.
  • .github/scripts/bump-versions.sh, .github/scripts/update-changelog.sh: Deletes scripts used for automated version bumping and changelog updates during data refresh. [1] [2]

Documentation and workflow updates:

  • CHANGELOG.md: Adds an "Unreleased" section documenting the migration to siderust-archive, removal of the internal data crates, and workflow changes.
  • .github/workflows/publish.yml: Updates comments to reflect that both tempoch-ffi and tempoch-time-data are no longer published.

These changes simplify the codebase by delegating time data maintenance to the external archive and remove now-unnecessary automation and crates.

VPRamon added 7 commits May 28, 2026 21:51
- Add archive/ as git submodule (https://github.com/Siderust/archive.git).
- Rewrite tempoch-time-data as thin re-export of siderust-archive-data::time.
- Delete tempoch-time-data/src/generated/eop_data.rs (19910 lines / 5.3 MB).
- Update all tempoch-core consumers (store.rs, eop.rs, utc_tai.rs, delta_t.rs,
  context.rs, provenance.rs, runtime_data/mod.rs, conversion.rs).
- Add qtty astro feature to tempoch-core for Arcsecond/MilliArcsecond types.
- Rewrite EOP tests to use inline fixtures; compiled bundle has no EOP by design.
- Update tempoch-ffi EOP tests to verify no-EOP-loaded behavior.
- Fix observed_end_mjd() panic on empty slice in siderust-archive-data.
- All 321 tests pass; fmt and clippy clean.
- CHANGELOG.md [Unreleased] updated.
- Remove archive/ git submodule and .gitmodules.
- tempoch-time-data now depends on siderust-archive = { version = "0.1",
  features = ["time"] }. Until siderust-archive is published, a
  [patch.crates-io] entry in the workspace root sources it from
  https://github.com/Siderust/archive.git on branch main.
- Delete tempoch-time-data-updater crate. Maintenance has moved to the
  archive repo (siderust-archive-update-time-data binary +
  update-time-data.yml workflow).
- Delete .github/workflows/update-time-data.yml and the supporting
  .github/scripts/ that drove the weekly IERS refresh; those duties now
  belong to the archive repository.
- All tests pass (cargo test --all). fmt + clippy clean.
- CHANGELOG.md updated under [Unreleased].
…ry to include DAYS_PER_JULIAN_CENTURY constant.
- Updated EopPoint and UtcTaiSegment structures to utilize the new quantity types from the `qtty` crate, replacing raw floating-point values with typed quantities such as `Second`, `Arcsecond`, and `Millisecond`.
- Modified related functions and tests to accommodate these changes, ensuring type safety and clarity in time and angle representations.
- Adjusted assertions in tests to compare the new quantity types correctly.
- Cleaned up imports and ensured consistent usage of the new types across the codebase.
@VPRamon VPRamon self-assigned this May 30, 2026
@github-actions

github-actions Bot commented May 30, 2026

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Complexity Health
tempoch-core.src.data 99% 0
tempoch-core.src.foundation 98% 0
tempoch-core.src.model 90% 0
tempoch-core.src.model.scale 93% 0
tempoch-core.src.period 95% 0
tempoch-core.src.earth 98% 0
tempoch-ffi.src 84% 0
tempoch-core.src.features 99% 0
tempoch-core.src 100% 0
tempoch-core.src.data.runtime_data 93% 0
tempoch-core.src.encoding 100% 0
tempoch-core.src.format 94% 0
Summary 92% (6054 / 6613) 0

@VPRamon VPRamon merged commit 760caa6 into main May 30, 2026
5 checks passed
@VPRamon VPRamon deleted the compact-publishing branch May 30, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant