Skip to content

Conversation

@lykimq
Copy link
Contributor

@lykimq lykimq commented Nov 13, 2025

This PR depends on the #358

The goal of this PR is to replace hardcoded values of rocq with configurable settings in coqbot-config.toml and have a backward compatibility. There are also added Alcotest for it as well.

What new:

  • Added src/config/repo_config.ml: this is for parsing and managing repo-specific settings
  • In coqbot-config.toml added [repositories.*] to config per-repo settings
  • Also added in coqbot-config.toml: CI, labels, jobs, documentation paths, GitLab mappings, GitHub installation ID, minimizer URL
  • Replace hardcoded in src and maintain fallback to original hardcoded values when repo config is not present
  • Test suit for config parsing repo_config_test.ml, property-based tests test-config.ml (for integer), error case tests for invalid configurations, integration tests for config lookup and validation

kim.ly and others added 26 commits November 14, 2025 10:59
…fig,

fallback to the original hardcoded for backward compability
@lykimq lykimq force-pushed the quyen@abstract_coq_2 branch from 5ef75cd to f7cb270 Compare November 14, 2025 11:29
@lykimq lykimq changed the title Refactor bot to use a repo-specific config system Draft: Refactor bot to use a repo-specific config system Nov 25, 2025
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.

3 participants