Convert gitgram/ and aitimemachine/ from embedded git repos (which showed as opaque submodule gitlinks on GitHub) into fully-tracked first-party content. AITM now merges its 7 vendored repos as first-party engines: - memory: beads (Go task DAG) + context7 (docs SDK), unified into saved_contexts - git: vendored C git (bundled binary) + gitnexus (in-process code intelligence) - agentic: a2a (@a2a-js/sdk) + pal (AITM-managed Python subprocess) Includes the full session's product build: Gitgram web/mobile/backend features, AITM website/CLI/MCP, the unified memory layer, engine build tooling (scripts/build-engines.sh, Dockerfile, CI), docs (README, ENGINES.md, ARCHITECTURE.md), and extensive test suites. Build artifacts, node_modules, external/, and gemini-cli are gitignored. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
52 lines
1.0 KiB
Bash
Executable File
52 lines
1.0 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
test_description='cherry-pick can handle submodules'
|
|
|
|
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
|
|
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
|
|
|
|
. ./test-lib.sh
|
|
. "$TEST_DIRECTORY"/lib-submodule-update.sh
|
|
|
|
test_submodule_switch "cherry-pick"
|
|
|
|
test_expect_success 'unrelated submodule/file conflict is ignored' '
|
|
test_config_global protocol.file.allow always &&
|
|
|
|
test_create_repo sub &&
|
|
|
|
touch sub/file &&
|
|
git -C sub add file &&
|
|
git -C sub commit -m "add a file in a submodule" &&
|
|
|
|
test_create_repo a_repo &&
|
|
(
|
|
cd a_repo &&
|
|
>a_file &&
|
|
git add a_file &&
|
|
git commit -m "add a file" &&
|
|
|
|
git branch test &&
|
|
git checkout test &&
|
|
|
|
mkdir sub &&
|
|
>sub/content &&
|
|
git add sub/content &&
|
|
git commit -m "add a regular folder with name sub" &&
|
|
|
|
echo "123" >a_file &&
|
|
git add a_file &&
|
|
git commit -m "modify a file" &&
|
|
|
|
git checkout main &&
|
|
|
|
git submodule add ../sub sub &&
|
|
git submodule update sub &&
|
|
git commit -m "add a submodule info folder with name sub" &&
|
|
|
|
git cherry-pick test
|
|
)
|
|
'
|
|
|
|
test_done
|