{"id":26555189,"url":"https://github.com/fasterthanlime/timelord","last_synced_at":"2025-03-22T10:25:20.398Z","repository":{"id":283680057,"uuid":"952493649","full_name":"fasterthanlime/timelord","owner":"fasterthanlime","description":"Save/restore timestamps when building Rust code in CI (to allow fresh checkouts but taking advantage of incremental builds)","archived":false,"fork":false,"pushed_at":"2025-03-21T14:38:53.000Z","size":32,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T14:59:55.824Z","etag":null,"topics":["cargo","ci","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fasterthanlime.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-21T11:19:49.000Z","updated_at":"2025-03-21T14:38:57.000Z","dependencies_parsed_at":"2025-03-21T15:00:08.923Z","dependency_job_id":"7b47f3f9-6057-4e8a-9463-73a4c5606c87","html_url":"https://github.com/fasterthanlime/timelord","commit_stats":null,"previous_names":["fasterthanlime/timelord"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasterthanlime%2Ftimelord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasterthanlime%2Ftimelord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasterthanlime%2Ftimelord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasterthanlime%2Ftimelord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fasterthanlime","download_url":"https://codeload.github.com/fasterthanlime/timelord/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244940053,"owners_count":20535543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cargo","ci","rust"],"created_at":"2025-03-22T10:25:19.936Z","updated_at":"2025-03-22T10:25:20.387Z","avatar_url":"https://github.com/fasterthanlime.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# timelord\n\nA Rust tool to preserve file timestamps (mtime) between CI builds, even with fresh git checkouts.\n\n## Features\n- Stores a database of file sizes and hashes\n- Restores old timestamps if file contents remain unchanged\n- Supports parallel processing for improved performance\n\n## Usage\n```\ntimelord --source-dir \u003cSOURCE_DIR\u003e --cache-dir \u003cCACHE_DIR\u003e\n```\n\n- `\u003cSOURCE_DIR\u003e`: The directory containing files to preserve timestamps for\n- `\u003cCACHE_DIR\u003e`: A persistent directory to store the timestamp database across CI builds\n\n## How it works\n1. Scans the source directory for files\n2. Compares file hashes and sizes with the previous run\n3. Restores timestamps for unchanged files\n4. Updates the cache for future runs\n\n## Use cases\n- Maintaining consistent file timestamps in CI/CD pipelines\n- Optimizing build processes that depend on file modification times\n- Ensuring reproducibility across different environments\n\n## Note\nThe cache file (`timelord.db`) is stored in the specified cache directory and should be preserved between runs for optimal functionality.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasterthanlime%2Ftimelord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffasterthanlime%2Ftimelord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasterthanlime%2Ftimelord/lists"}