|
| 1 | +# Copied Files Tracking |
| 2 | + |
| 3 | +This document maps every original file that was copied into this domain to its copy location. |
| 4 | +It exists to support a future deprecation follow-up task that will remove or migrate the originals |
| 5 | +once this domain is the canonical implementation. |
| 6 | + |
| 7 | +> **Breaking change notice:** Output directory has changed from `reports/git-history-csv` to `reports/git-history`. |
| 8 | +> When the old `scripts/reports/GitHistoryCsv.sh` is eventually removed, a **major version bump** is required. |
| 9 | +
|
| 10 | +--- |
| 11 | + |
| 12 | +## Cypher Queries |
| 13 | + |
| 14 | +### Enrichment Queries (26 files) |
| 15 | + |
| 16 | +| Original | Copy | |
| 17 | +|----------|------| |
| 18 | +| `cypher/GitLog/Import_git_log_csv_data.cypher` | `queries/enrichment/Import_git_log_csv_data.cypher` | |
| 19 | +| `cypher/GitLog/Import_aggregated_git_log_csv_data.cypher` | `queries/enrichment/Import_aggregated_git_log_csv_data.cypher` | |
| 20 | +| `cypher/GitLog/Create_git_repository_node.cypher` | `queries/enrichment/Create_git_repository_node.cypher` | |
| 21 | +| `cypher/GitLog/Delete_git_log_data.cypher` | `queries/enrichment/Delete_git_log_data.cypher` | |
| 22 | +| `cypher/GitLog/Delete_plain_git_directory_file_nodes.cypher` | `queries/enrichment/Delete_plain_git_directory_file_nodes.cypher` | |
| 23 | +| `cypher/GitLog/Index_absolute_file_name.cypher` | `queries/enrichment/Index_absolute_file_name.cypher` | |
| 24 | +| `cypher/GitLog/Index_author_name.cypher` | `queries/enrichment/Index_author_name.cypher` | |
| 25 | +| `cypher/GitLog/Index_change_span_year.cypher` | `queries/enrichment/Index_change_span_year.cypher` | |
| 26 | +| `cypher/GitLog/Index_commit_hash.cypher` | `queries/enrichment/Index_commit_hash.cypher` | |
| 27 | +| `cypher/GitLog/Index_commit_parent.cypher` | `queries/enrichment/Index_commit_parent.cypher` | |
| 28 | +| `cypher/GitLog/Index_commit_sha.cypher` | `queries/enrichment/Index_commit_sha.cypher` | |
| 29 | +| `cypher/GitLog/Index_file_name.cypher` | `queries/enrichment/Index_file_name.cypher` | |
| 30 | +| `cypher/GitLog/Index_file_relative_path.cypher` | `queries/enrichment/Index_file_relative_path.cypher` | |
| 31 | +| `cypher/GitLog/Add_CHANGED_TOGETHER_WITH_relationships_to_code_files.cypher` | `queries/enrichment/Add_CHANGED_TOGETHER_WITH_relationships_to_code_files.cypher` | |
| 32 | +| `cypher/GitLog/Add_CHANGED_TOGETHER_WITH_relationships_to_git_files.cypher` | `queries/enrichment/Add_CHANGED_TOGETHER_WITH_relationships_to_git_files.cypher` | |
| 33 | +| `cypher/GitLog/Add_HAS_PARENT_relationships_to_commits.cypher` | `queries/enrichment/Add_HAS_PARENT_relationships_to_commits.cypher` | |
| 34 | +| `cypher/GitLog/Add_RESOLVES_TO_relationships_to_git_files_for_Java.cypher` | `queries/enrichment/Add_RESOLVES_TO_relationships_to_git_files_for_Java.cypher` | |
| 35 | +| `cypher/GitLog/Add_RESOLVES_TO_relationships_to_git_files_for_Typescript.cypher` | `queries/enrichment/Add_RESOLVES_TO_relationships_to_git_files_for_Typescript.cypher` | |
| 36 | +| `cypher/GitLog/Set_commit_classification_properties.cypher` | `queries/enrichment/Set_commit_classification_properties.cypher` | |
| 37 | +| `cypher/GitLog/Set_number_of_aggregated_git_commits.cypher` | `queries/enrichment/Set_number_of_aggregated_git_commits.cypher` | |
| 38 | +| `cypher/GitLog/Set_number_of_git_log_commits.cypher` | `queries/enrichment/Set_number_of_git_log_commits.cypher` | |
| 39 | +| `cypher/GitLog/Set_number_of_git_plugin_commits.cypher` | `queries/enrichment/Set_number_of_git_plugin_commits.cypher` | |
| 40 | +| `cypher/GitLog/Set_number_of_git_plugin_update_commits.cypher` | `queries/enrichment/Set_number_of_git_plugin_update_commits.cypher` | |
| 41 | + |
| 42 | +> **Note:** Only 23 enrichment query files are listed above. The remaining 5 files (Verify_*) were placed in `validation/`. |
| 43 | +> The total enrichment file count includes import, repository, deletion (2), indexes (8), relationships (5), properties (5) = 23 unique files. |
| 44 | +
|
| 45 | +### Statistics Queries (14 files) |
| 46 | + |
| 47 | +| Original | Copy | |
| 48 | +|----------|------| |
| 49 | +| `cypher/GitLog/List_ambiguous_git_files.cypher` | `queries/statistics/List_ambiguous_git_files.cypher` | |
| 50 | +| `cypher/GitLog/List_git_file_directories_with_commit_statistics.cypher` | `queries/statistics/List_git_file_directories_with_commit_statistics.cypher` | |
| 51 | +| `cypher/GitLog/List_git_files_by_resolved_label_and_extension.cypher` | `queries/statistics/List_git_files_by_resolved_label_and_extension.cypher` | |
| 52 | +| `cypher/GitLog/List_git_files_per_commit_distribution.cypher` | `queries/statistics/List_git_files_per_commit_distribution.cypher` | |
| 53 | +| `cypher/GitLog/List_git_files_that_were_changed_together.cypher` | `queries/statistics/List_git_files_that_were_changed_together.cypher` | |
| 54 | +| `cypher/GitLog/List_git_files_that_were_changed_together_all_in_one.cypher` | `queries/statistics/List_git_files_that_were_changed_together_all_in_one.cypher` | |
| 55 | +| `cypher/GitLog/List_git_files_that_were_changed_together_with_another_file.cypher` | `queries/statistics/List_git_files_that_were_changed_together_with_another_file.cypher` | |
| 56 | +| `cypher/GitLog/List_git_files_that_were_changed_together_with_another_file_all_in_one.cypher` | `queries/statistics/List_git_files_that_were_changed_together_with_another_file_all_in_one.cypher` | |
| 57 | +| `cypher/GitLog/List_git_files_with_commit_statistics_by_author.cypher` | `queries/statistics/List_git_files_with_commit_statistics_by_author.cypher` | |
| 58 | +| `cypher/GitLog/List_pairwise_changed_files.cypher` | `queries/statistics/List_pairwise_changed_files.cypher` | |
| 59 | +| `cypher/GitLog/List_pairwise_changed_files_top_selected_metric.cypher` | `queries/statistics/List_pairwise_changed_files_top_selected_metric.cypher` | |
| 60 | +| `cypher/GitLog/List_pairwise_changed_files_with_dependencies.cypher` | `queries/statistics/List_pairwise_changed_files_with_dependencies.cypher` | |
| 61 | +| `cypher/GitLog/List_unresolved_git_files.cypher` | `queries/statistics/List_unresolved_git_files.cypher` | |
| 62 | +| `cypher/Overview/Words_for_git_author_Wordcloud_with_frequency.cypher` | `queries/statistics/Words_for_git_author_Wordcloud_with_frequency.cypher` | |
| 63 | + |
| 64 | +### Validation Queries (5 files) |
| 65 | + |
| 66 | +| Original | Copy | |
| 67 | +|----------|------| |
| 68 | +| `cypher/GitLog/Verify_code_to_git_file_unambiguous.cypher` | `queries/validation/Verify_code_to_git_file_unambiguous.cypher` | |
| 69 | +| `cypher/GitLog/Verify_git_missing_CHANGED_TOGETHER_WITH_properties.cypher` | `queries/validation/Verify_git_missing_CHANGED_TOGETHER_WITH_properties.cypher` | |
| 70 | +| `cypher/GitLog/Verify_git_missing_create_date.cypher` | `queries/validation/Verify_git_missing_create_date.cypher` | |
| 71 | +| `cypher/GitLog/Verify_git_to_code_file_unambiguous.cypher` | `queries/validation/Verify_git_to_code_file_unambiguous.cypher` | |
| 72 | +| `cypher/Validation/ValidateGitHistory.cypher` | `queries/validation/ValidateGitHistory.cypher` | |
| 73 | + |
| 74 | +--- |
| 75 | + |
| 76 | +## Import Scripts (3 files) |
| 77 | + |
| 78 | +| Original | Copy | Changes | |
| 79 | +|----------|------|---------| |
| 80 | +| `scripts/importGit.sh` | `import/importGit.sh` | Updated `GIT_LOG_CYPHER_DIR` to `../queries/enrichment/`; updated sourced script paths | |
| 81 | +| `scripts/createGitLogCsv.sh` | `import/createGitLogCsv.sh` | No changes | |
| 82 | +| `scripts/createAggregatedGitLogCsv.sh` | `import/createAggregatedGitLogCsv.sh` | No changes | |
| 83 | + |
| 84 | +--- |
| 85 | + |
| 86 | +## Jupyter Notebooks (2 files) |
| 87 | + |
| 88 | +| Original | Copy | Metadata Change | |
| 89 | +|----------|------|-----------------| |
| 90 | +| `jupyter/GitHistoryGeneral.ipynb` | `explore/GitHistoryGeneralExploration.ipynb` | Added `"ValidateAlwaysFalse"` metadata; updated cypher paths; changed title | |
| 91 | +| `jupyter/GitHistoryExploration.ipynb` | `explore/GitHistoryCorrelationExploration.ipynb` | Added `"ValidateAlwaysFalse"` metadata; updated cypher paths; changed title | |
| 92 | + |
| 93 | +--- |
| 94 | + |
| 95 | +## Scripts Referenced but NOT Copied (Central Pipeline) |
| 96 | + |
| 97 | +These scripts are sourced from the central `scripts/` directory and are not duplicated: |
| 98 | + |
| 99 | +| Script | Domain Usage | |
| 100 | +|--------|-------------| |
| 101 | +| `scripts/executeQueryFunctions.sh` | Sourced by all entry point scripts | |
| 102 | +| `scripts/cleanupAfterReportGeneration.sh` | Sourced by CSV entry point after report generation | |
| 103 | +| `scripts/markdown/embedMarkdownIncludes.sh` | Sourced by summary script for Markdown assembly | |
0 commit comments