Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-01-29 | just-lock: Search for archives to fetch also in Git cache | Paul Cristian Sarbu | |
...before trying remotes. | |||
2025-01-29 | just-lock: Run commit check command only on existing repositories | Paul Cristian Sarbu | |
While there, improve docstrings of methods operating on Git repositories to specify when the underlying Git repositories are expected to be present. | |||
2025-01-29 | just-lock: Add support for 'tree structure' roots | Paul Cristian Sarbu | |
Based on f0473730 and 22ef0a16 | |||
2025-01-29 | just-lock: Fix deduplication of 'computed' roots | Paul Cristian Sarbu | |
Based on 76ce2123 | |||
2025-01-29 | just-lock: Normalize subdir before checking if non-upward | Paul Cristian Sarbu | |
2025-01-29 | just-lock: Improve error handling for importing to Git | Paul Cristian Sarbu | |
2025-01-29 | just-lock: Ensure all commands use the run_cmd method | Paul Cristian Sarbu | |
2025-01-29 | just-deduplicate-repos: Fix formatting | Paul Cristian Sarbu | |
2025-01-29 | just-lock-config(5): Document the 'git tree' source type | Paul Cristian Sarbu | |
2025-01-29 | just-lock config: Make field names consistent with just-mr | Paul Cristian Sarbu | |
2025-01-29 | garbage collection: remove garbage recursively | Klaus Aehlig | |
When garbage collecting the oldest generation, we expect it to be a non-empty directory. Therefore, remove it recursively. | |||
2025-01-28 | Progress reporting: also report the primary action output | Klaus Aehlig | |
While reporting an origin target with action number within that target describes an action uniquely in a way meaningful to the user, it might not always be eay to unserstand which precise action is currently running. For example, for a library with many source files, we have a target generating a large number of actions and the association of source file to action number requires detailled knowledge of the build description. The name of the primary ouput of that action, on the other hand immediately identifies the file that is compiled. Therefore, report this as well. | |||
2025-01-27 | Update libfmt to 11.1.3 | Klaus Aehlig | |
2025-01-24 | Add native comparison of configured targets | Klaus Aehlig | |
... and use it when normalizing the origins of actions. For this task, any well-defined linear order is sufficient. Using a native comparision (rather than comparing the canonical serialisation) significantly speeds up that normalisation process, as the assumption that it would be rare that an action has more than one origin turned out to be false. In fact, we have seeen cases where this sorting used to take several seconds before this change, so that this change reduced analysis time by more than a factor of 5. | |||
2025-01-24 | Action equality test: only verify the set of origins | Klaus Aehlig | |
While our tool promises to generate a reproducible order of the action origins, we should not insist on a particular one. Therefore sort before comparing. | |||
2025-01-24 | Add test verifying the "generic" rule properly detecs staging conflicts | Klaus Aehlig | |
2025-01-24 | "generic" rule: verify staging conflicts on inputs | Klaus Aehlig | |
The "generic" rules deliberately resolves conflicts on identical paths in a latest-wins fashion (seeing all artifacts as later than all runfiles) to allow an easy way to define actions. However, the inputs stage obtained by this resolution can still contain conflicts and those are an error. Properly detect those. Also clarify in the documentation, that only conflicts on identical paths are resolved in the described priority, not semantic overlap. | |||
2025-01-23 | Add basic end-to-end test on progress reporting | Klaus Aehlig | |
2025-01-23 | Computed roots: add basic progress reporting | Klaus Aehlig | |
2025-01-23 | Add basic progress reporter on root evaluation | Klaus Aehlig | |
2025-01-23 | Remove unused library "root_utils" | Maksim Denisov | |
2025-01-23 | JustMr: Replace calls to CheckServeHasAbsentRoot with direct calls to serve | Maksim Denisov | |
2025-01-23 | PrecomputedRoot: Remove DownloadFromServe | Maksim Denisov | |
... and replace it with a direct call to serve. | |||
2025-01-23 | ServeApi: Implement DownloadTree | Maksim Denisov | |
2025-01-23 | PrecomputedRoots: Remove UploadToServe | Maksim Denisov | |
... and replace it with a direct call to serve. | |||
2025-01-23 | Remove function EnsureAbsentRootOnServe | Maksim Denisov | |
...since it is superseded by ServeApi's method. | |||
2025-01-23 | JustMr: ContentGitMap: Remove unused arguments. | Maksim Denisov | |
2025-01-23 | JustMr: ContentGitMap: Use serve calls | Maksim Denisov | |
...instead of EnsureAbsentRootOnServe. | |||
2025-01-23 | JustMr: ContentGitMap: Remove code duplication. | Maksim Denisov | |
2025-01-23 | JustMr: DistdirGitMap: Use serve calls | Maksim Denisov | |
...instead of EnsureAbsentRootOnServe. And remove unused arguments. | |||
2025-01-23 | JustMr: CommitGitMap: Remove unused arguments. | Maksim Denisov | |
2025-01-23 | JustMr: CommitGitMap: Use serve calls | Maksim Denisov | |
...instead of EnsureAbsentRootOnServe. | |||
2025-01-23 | JustMr: FilePathGitMap: Remove unused arguments. | Maksim Denisov | |
2025-01-23 | JustMr: FilePathGitMap: Use serve calls | Maksim Denisov | |
...instead of EnsureAbsentRootOnServe | |||
2025-01-23 | ServeApi: Implement UploadTree | Maksim Denisov | |
2025-01-23 | ServeApi: Capture ApiBundle and StorageConfig in the ctor. | Maksim Denisov | |
2025-01-23 | Call serve directly instead of EnsureAbsentRootOnServe. | Maksim Denisov | |
2025-01-23 | Document computed roots as implemented concept | Klaus Aehlig | |
... rather than as future design. While there, also add target-level caching as a service to the list of documentation pages. | |||
2025-01-22 | Git CAS access: reduce log level | Klaus Aehlig | |
Trying to access a git object return a recoverable failure, hence the failure to find the object in the git object database should be logged at warning level at most. Moreover, in some cases we should log that event at an even lower level, e.g., if we're just checking the presence of the object in the local git cas to avoid unnecessary network access. | |||
2025-01-22 | Add test verifying git cas is taken into account | Klaus Aehlig | |
2025-01-22 | local api: take git fallback seriously | Klaus Aehlig | |
... and, when asked if an artifact is available, also inspect the git cas. | |||
2025-01-22 | Add basic end-to-end test for absent computed roots | Klaus Aehlig | |
2025-01-22 | absent computed roots: obtain value from serve without fetching artifacts | Klaus Aehlig | |
2025-01-22 | just-mr: support absent computed roots | Klaus Aehlig | |
2025-01-22 | Computed roots: extend data structure to support the absent pragma | Klaus Aehlig | |
2025-01-22 | serve client: support keep_artifact_root | Klaus Aehlig | |
2025-01-22 | serve service: honor keep_artifact_root | Klaus Aehlig | |
2025-01-22 | Source-tree service: accept lock reference | Klaus Aehlig | |
... so that tagging in the associated git root can be synchronized with other services provided by just serve. | |||
2025-01-22 | Serve protocol: support keeping the artifact stage as root | Klaus Aehlig | |
In the serve protocol, extend ServeTargetRequest by a flag indicating that the client whishes the server to keep the artifact stage as an additional root. In this way, if a computed root is built on serve it can be used as an absent root without additional communication overhead. | |||
2025-01-21 | Test: Compute an absent tree structure of a local root | Maksim Denisov | |