Tags: misselvexu/mixmicro-coe
Tags
Add recipe examples to recipe and recipe descriptors (openrewrite#3081) Co-authored-by: Tim te Beek <[email protected]>
Support for git fecth with depth > 0 from BuildEnv (openrewrite#2916) * Support for git fecth with depth > 0 from BuildEnv In GitHub, you can fetch repositories with a particular "depth". This creates a .config file with the Git metadata required to publish repositories. Specially, this is useful for cases where the repository that is fetched is not the same than the one that runs GitHub Actions.
GitProvenance Support for non build environments without .git config (o… …penrewrite#2913) Currently, GitProvenance is mainly calculated using the information that is inside the .git config. Only there is a special behavior when Jenkins is the BuildEnvironment. However, there is no .git config in GitLab, GitHub and Drone when a repository is checkout and the required Git metadata is on environment variables. Therefore, this patch adds BuildEnvironment#buildGitProvenance() to force an implementation for CI BuildEnvironments. If they need .git config information, such as Jenkins or Travis, they throw IncompleteGitConfigException. A new CustomBuildEnvironment class has also been added to support the use case of fetching external repositories from a GitHub repository.
Use our log-less fork of object differ. Fixes openrewrite#2788
PreviousNext