foundweekends/giter8
55.6
Adequate · 14 November 2026
2.1k
lines of production code
Scala
primary language
7
measurements over time
What this system is
Features
Initial git-based template support with SSH and credential handling
This change introduces the core infrastructure for fetching templates from Git repositories, including support for local paths, remote URLs, and GitHub shorthand. It adds a new command-line interface with options to specify branches (-b), tags (-t), subdirectories (-d), and output locations (-o), along with a --known-hosts flag for custom SSH configurations. Authentication is handled via an interactive console provider for usernames and passwords, and SSH connections utilize a custom session factory that respects known hosts files, enabling secure cloning of private repositories.
cli-git/src/main · high confidence
Introduce core library components for template rendering and version handling
This change adds the foundational source files for the Giter8 library, including \VersionNumber\ for parsing and ordering semantic versions, \Truthy\ and \AugmentedString\ for template value evaluation, \JGitIgnore\ for applying \.gitignore\-style exclusion rules to generated files, \MavenHelper\ for fetching artifact metadata from Maven Central, \Ls\ for parsing repository specifications, and \TemplateRenderer\ as the interface for executing template generation. These components collectively enable the core functionality of resolving dependencies, filtering files, and rendering project templates.
library/src/main/scala/giter8 · high confidence
Introduces new LauncherMain entry point for Giter8
A new LauncherMain object has been added to the launcher module, serving as the explicit entry point for the application. It initializes the logging level to SEVERE and delegates execution to a LauncherProcessor, which handles template processing, artifact resolution via Coursier, and classloader-based execution of the Giter8 core logic.
launcher/src/main · high confidence
Introduction of Giter8 launcher and processor components
The application now includes a new \Giter8\ class that serves as the main entry point for both the sbt plugin interface (implementing \xsbti.AppMain\) and the command-line runner. This component initializes the \AppProcessor\, which delegates template rendering tasks to \G8TemplateRenderer\. This change establishes the core wiring for executing templates from a specified directory with provided arguments and output settings.
app/src · high confidence
Introduction of Maven metadata resolution and core G8 template engine
The library now supports resolving template properties from Maven repositories using a new \maven()\ syntax (e.g., \maven(org,name,stable)\) defined in \maven.scala\, which parses \maven-metadata.xml\ to find latest or stable versions. This replaces the deprecated \ls()\ function. The core \g8.scala\ file establishes the template application logic, including property resolution via \ValueF\, StringTemplate 4 integration with custom renderers, and file writing that preserves POSIX permissions and executable flags.
library/src/main/scala · high confidence
Removals
Removal of legacy GitHub API-based template fetching
The \Giter8\ class, which previously implemented template retrieval by directly calling the deprecated GitHub API v2, has been removed from the codebase. This eliminates the functionality that allowed users to fetch and apply templates by specifying a repository name (optionally with a \.g8\ suffix) via the old JSON-based HTTP interface.
src/main/scala · high confidence
Behavioural changes
Default Giter8 launch configuration updated
The default launch configuration for Giter8 templates has been updated to use version 0.18.0 of the giter8 application, targeting Scala 2.12.21, and configured to resolve dependencies from local and Maven Central repositories.
src/main/conscript · high confidence
Project infrastructure and licensing updates
The project license has been changed to Apache 2.0, and the README has been updated to reflect the new foundweekends ownership and the Apache 2.0 license terms. Development tooling has been standardized by adding a .scalafmt.conf file (configuring Scala 2.13/3 dialects and 120-column width) and a .scala-steward.conf file (managing dependency update cooldowns, limits, and pinned versions for jgit and slf4j). Additionally, the .gitignore has been expanded to exclude modern IDE and build tool artifacts (IntelliJ, Metals, Bloop, VS Code), and .git-blame-ignore-revs has been introduced to ignore automated scalafmt reformatting commits.
(repo-wide) · high confidence
Removal of legacy SBT build definition
The legacy SBT 0.11 build definition file (project/build/project.scala) has been removed. This file previously configured the project to depend on the SBT launcher interface and the Dispatch library for JSON handling. Its removal indicates a shift away from this specific build configuration, likely as part of the broader migration to a newer build system or project structure.
project/build · medium confidence
Reworked SBT plugin structure with Scala 2/3 compatibility and scaffold support
The plugin source has been reorganized to support both Scala 2 and Scala 3 through dedicated compatibility objects (\Giter8PluginCompat\), while consolidating the main plugin logic into \Giter8Plugin.scala\. This change introduces support for copying scaffold files from the \scaffolds\ directory during template generation and refines the test script resolution logic to prioritize specific file names like \test.script\ or \g8.test\. Additionally, deprecated compatibility shims (\SBTCompat\, \g8ScriptedCompat\) are retained for backward compatibility but marked for removal, and property reading now explicitly uses \JavaConverters\.
plugin/src/main · high confidence
Scaffold plugin now supports overwriting existing files
The \g8Scaffold\ command in the \scaffold\ module now accepts a \--force\ flag, allowing users to overwrite existing generated files when running scaffolding templates. This behavioral change is implemented in \ScaffoldPlugin.scala\ and verified by scripted tests that confirm the \--force\ option successfully replaces existing controller files.
scaffold/src · high confidence
Updated root-layout template to use explicit main method
The root-layout template now generates a Scala entry point using an explicit \main\ method in the \Main\ object instead of extending \scala.App\. This change ensures compatibility with newer Scala versions that deprecate \scala.App\ and provides a more standard application structure for generated projects.
plugin/src/sbt-test/giter8/root-layout · high confidence
Updated simple template to use Apache 2.0 license and Maven-style dependency syntax
The simple Giter8 template located in the sbt-test plugin directory has been updated to use the Apache 2.0 license instead of the previous license. Additionally, the template's default properties now define dependencies using the new 'maven' syntax (e.g., \maven(net.databinder, unfiltered\_2.11)\), and the generated Scala source code has been adjusted to use an explicit \main\ method rather than extending \scala.App\.
plugin/src/sbt-test/giter8/simple/src · high confidence
Test coverage
Added comprehensive test suite for Giter8 library; Added integration tests for the launcher; Added property-based tests for string formatting conversions; Added scripted tests for the Giter8 plugin; Added test resources for file conditionals and simple SBT project templates; Added test template for Giter8 without name; Added unit tests for Git repository parsing and cloning logic.
Dependencies
Migrate build to sbt 2 and update core dependencies
The build system has been upgraded from sbt 0.7.4 to sbt 2.0.8, enabling support for Scala 3.8.4 alongside Scala 2.12.21 and 2.13.18. Core library dependencies have been updated, including JGit 5.13.5 (with sshd-sftp excluded to address security advisory [GHSA redacted]), Commons IO 2.22.0, and ScalaTest 3.2.20. The build structure was refactored into separate files (Dependencies.scala, G8SitePlugin.scala, Publish.scala) to manage versioning, site generation, and Sonatype publishing more cleanly.
project · high confidence
Update build.sbt to Scala 2.12 and sbt 1.x
The project's build definition has been updated to use Scala 2.12 as the primary version and sbt 1.x (specifically 1.9.9 for Scala 2.12) as the build tool version. This change affects the core build configuration and ensures compatibility with modern sbt versions, while maintaining support for Scala 3 and Scala 2.13 in specific modules.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 57 → 56 (-1.8)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 75 → 72 (-2.4)
- Architecture 98 → 97 (-0.5)
- Maturity 43 → 43 (+0.0)
- Readiness 61 → 59 (-1.5)
- Security 81 → 70 (-10.9)
Resolved (2)
- Off-boarding risk: anonymized user #1
- Outdated: org.scala-sbt:launcher-interface
New (3)
- Edited copy of a member (16 corresponding lines) (library/src/main/scala/giter8/MavenHelper.scala)
- Edited copy of a member (7 corresponding lines) (cli-git/src/main/scala/GitInteractor.scala)
- Off-boarding risk: anonymized user #1
Changes since last survey
- 5 commits — 5 feature/other, 0 fixes
By area
- project/Dependencies.scala — 2 commits
- project/build.properties — 2 commits
- .github/workflows — 1 commit
Notable commits
- change: Update io to 1.13.6
- change: Update launcher-interface to 1.7.1
- change: Update sbt to 2.0.11
- change: Update sbt to 2.0.12
- change: build(deps): bump coursier/cache-action from 8 to 9
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
foundweekends/giter8 was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit f25ed04d5717ea2f4ff500b1867397a1a9a5da0f — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-36d4cd83012f.