You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 82a39e5
Browse filesBrowse the repository at this point in the historyBrowse files
Initialization defaults to AGPL for new repositories. Synchronization defaults
40
+
to `--license preserve`, so an existing repository's license is never replaced
41
+
unless you explicitly select a license or provide `--license-file`.
42
+
31
43
## Setup
32
44
33
45
1. Install [mise](https://mise.jdx.dev/).
@@ -36,10 +48,13 @@ Use `code-foundry sync` to update an existing repository and
36
48
37
49
## Applying the baseline to an existing repository
38
50
39
-
Run the sync script from the repository root. It updates shared workflows, GitHub forms, hooks, policy files, and tool configuration while preserving the repository's README, `.mise.toml` selections, extra workflows, and application code.
51
+
Run the package entrypoint from the repository root. It updates shared
52
+
workflows, GitHub forms, hooks, policy files, and tool configuration while
53
+
preserving the repository's README, `.mise.toml` selections, extra workflows,
54
+
licenses, and application code.
40
55
41
56
```bash
42
-
bash .github/scripts/init-repo.sh
57
+
npx code-foundry init
43
58
```
44
59
45
60
Use `bash .github/scripts/sync-template.sh --source ... --check` to preview differences. For local template development, pass the template checkout as `--source` and `--ref staging`.
0 commit comments