Skip to content

Conversation

reakaleek
Copy link
Member

@reakaleek reakaleek commented May 26, 2025

Changes

  • Write the link-index.shapshot.json file to the checkout dir while cloning repositories with clone-all
  • During build-all copy the link-index.snapshot.json to the /docs output dir.

@reakaleek reakaleek self-assigned this May 26, 2025
@reakaleek reakaleek marked this pull request as ready for review May 26, 2025 11:33
@reakaleek reakaleek requested a review from a team as a code owner May 26, 2025 11:33
@reakaleek reakaleek added the automation packaging, ci/cd. label May 26, 2025
var builder = new AssemblerBuilder(logger, assembleContext, navigation, htmlWriter, pathProvider, historyMapper);
await builder.BuildAllAsync(assembleSources.AssembleSets, ctx);

if (checkoutResult.LinkRegistrySnapshot is { } linkRegistry)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this a method on AssemblerRepositorySourcer and use the read / write filesystems on AssemblerContext.

That way it will be easier to write tests for this at some point.

Copy link
Member Author

@reakaleek reakaleek May 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

09e1432

And here the git operations refactor I mentioned in our call: f39834d

@reakaleek reakaleek requested a review from Mpdreamz May 27, 2025 13:15
Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit, use the filesystems on context not the System.IO.* classes directly.

@reakaleek reakaleek requested a review from Mpdreamz May 27, 2025 21:50
Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@reakaleek reakaleek merged commit 78ae348 into main May 28, 2025
15 checks passed
@reakaleek reakaleek deleted the feature/create-and-upload-link-index-snapshot branch May 28, 2025 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation packaging, ci/cd.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants