This issue proposes automating the process of copying modified English-language assignments from the main (bilingual) repository to a dedicated English-only repository. This will streamline maintenance and ensure consistency between the two repositories. The initial concept for this automation was developed with the assistance of an AI language model.
Goals:
Reduce manual effort in maintaining separate repositories.
Ensure the English-only repository is always up-to-date.
Improve accessibility for international students.
Proposed Implementation:
Repository Setup:
Create a separate repository for English-only assignments.
Set up access credentials (e.g., SSH keys, deploy keys) to allow automated pushes to the English-only repository.
Automation Script:
Write a Python script (copy_english_assignments.py) that performs the following:
Detects changes in English assignment files in the main repository.
Copies modified English files to the corresponding location in the English-only repository.
Commits and pushes the changes to the English-only repository.
Git Hook Integration:
Create a post-commit Git hook in the main repository that triggers the Python script after each commit.
Action Items:
[ ] Create English-only assignment repository.
[ ] Set up access credentials for the English-only repository.
Description:
This issue proposes automating the process of copying modified English-language assignments from the main (bilingual) repository to a dedicated English-only repository. This will streamline maintenance and ensure consistency between the two repositories. The initial concept for this automation was developed with the assistance of an AI language model.
Goals:
Proposed Implementation:
Repository Setup:
Automation Script:
Git Hook Integration:
post-commit
Git hook in the main repository that triggers the Python script after each commit.Action Items:
copy_english_assignments.py
script.git diff
, optional language check)shutil.copy
)post-commit
Git hook.Additional Considerations:
Credits:
The initial concept for this automation was motivated by feedback and developed with the assistance of an AI language model.