Skip to content

Conversation

@tomschr
Copy link
Contributor

@tomschr tomschr commented Nov 28, 2025

Fixes #4. The PR contains:

  • Add option --exitfirst for subcommand docbuild metadata. This option fails the generation if there is something wrong with the daps call.
  • Correctly implement updating Git bare repo using git fetch origin +refs/heads/*:refs/heads/*. It updates all branches.
  • Create ManagedGitRepo class. Keeps track of all updated repositories and does update only once.
  • Use regex in Repo model to match ^(https?):// URLs.

@tomschr tomschr self-assigned this Nov 28, 2025
@tomschr tomschr force-pushed the toms/4-automate-json branch 3 times, most recently from f91f7e9 to 69fe58e Compare December 8, 2025 12:27
@tomschr tomschr force-pushed the toms/4-automate-json branch 2 times, most recently from 4a4a84f to c5d0afe Compare December 10, 2025 11:52
Avoids ugly outputs and makes the test line more accessible
* Exit on first failed deliverable
* Turn stderr red
Fix the issue in commit 4737ff27a
A "git fetch" isn't enough as it doesn't move the pointer.
The above command forces Git to update the local pointer (HEAD).
Using now "git fetch origin +refs/heads/*:refs/heads/* -v --prune". This is needed
to fetch updates of *all* branches, not only main.
* Patch docbuild.cli.cmd_metadata.asyncio.create_subprocess_exec
* Try another attempt with test_success (didn't work)
Using EnvConfig.from_dict() creates an EnvConfig object that
is not always preferable. The above method call creates a real
dict with all objects resolved to basic types like strings,
bools, int etc.
@tomschr tomschr force-pushed the toms/4-automate-json branch from c5d0afe to 5348ae8 Compare December 10, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automate JSON

2 participants