Compact publishing#12
Merged
Merged
Conversation
- 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.
Contributor
|
…ents and update related calculations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request removes the internal
tempoch-time-datacrate and migrates the codebase to use the externalsiderust-archivecrate 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 ontempoch-time-datawith a direct dependency onsiderust-archive, updates features, and enables theastrofeature forqtty. Theruntime-data-fetchfeature now usessiderust-archive/fetchinstead oftempoch-time-data/fetch. [1] [2]Cargo.toml: Removestempoch-time-dataandtempoch-time-data-updaterfrom 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 tosiderust-archive, removal of the internal data crates, and workflow changes..github/workflows/publish.yml: Updates comments to reflect that bothtempoch-ffiandtempoch-time-dataare no longer published.These changes simplify the codebase by delegating time data maintenance to the external archive and remove now-unnecessary automation and crates.