Skip to content

chore: track .icp/data/mappings via .gitkeep and clarify .gitignore#20

Merged
marc0olo merged 2 commits intomainfrom
chore/track-icp-data-directory
Mar 16, 2026
Merged

chore: track .icp/data/mappings via .gitkeep and clarify .gitignore#20
marc0olo merged 2 commits intomainfrom
chore/track-icp-data-directory

Conversation

@marc0olo
Copy link
Copy Markdown
Member

Add .icp/data/mappings/.gitkeep to all templates so the directory structure is visible from the start, signaling that .icp/data/ is meant to be committed.

Update .gitignore in all templates with clarifying comments that only .icp/cache/ should be ignored, not .icp/data/ which stores mainnet canister ID mappings.

Closes #19

Add .icp/data/mappings/.gitkeep to all templates so the directory
structure is visible from the start, signaling that .icp/data/ is
meant to be committed.

Update .gitignore in all templates with clarifying comments that
only .icp/cache/ should be ignored, not .icp/data/ which stores
mainnet canister ID mappings.

Closes #19
@marc0olo marc0olo requested a review from a team as a code owner March 16, 2026 10:33
The mappings subdirectory is created automatically by icp-cli.
Tracking .icp/data/ is sufficient to signal the directory should
be committed.
@marc0olo marc0olo merged commit 1a9b427 into main Mar 16, 2026
5 checks passed
@marc0olo marc0olo deleted the chore/track-icp-data-directory branch March 16, 2026 21:52
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.

Add .gitignore and .gitkeep for .icp directory structure

2 participants