finish adapt old structure

- Removed Mocap 1 Recording 2 Export Subfolders
- Relinked NewDaily to Renders
- NewDaily no longer references MoveToCurrent
This commit is contained in:
2025-08-08 16:54:18 -06:00
parent fff79dd943
commit ace07f6643
3 changed files with 70 additions and 7 deletions

View File

@@ -361,7 +361,73 @@ Read file: undefined
---
<think><details><summary>Thought Process</summary>**Adjusting script for project structure**
I need to modify the script to avoid copying the entire components folder since the user doesn't want it in the new project. So, Ill delete lines 46-50 that do the xcopy. We had originally created a components folder but removed it, now I just want to ensure we only copy the two specific files needed to the project root. Ill also make sure to copy the contents of `.gitattributes` and `.gitignore` as provided by the user.
**Implementing code changes**
I need to keep track of what should stay and think about whether we should run `git lfs track` based on `.gitattributes`, though that's not strictly necessary. Following developer instructions, I'm set to implement the removal of the xcopy using apply_patch. The user specified adaptations for NewProject.bat, and Ive made those edits. Also, I have to include brief status updates before any tool calls and a summary afterward. Now, I'll proceed with applying the patch and summarize the changes clearly.</details></think>
---
Removing the logic that copied the entire `components` folder so only `.gitignore` and `.gitattributes` are copied into the new project.
---
---
- Removed the code that copied the whole `components` folder. The script now only copies `components/gitignore` and `components/gitattributes` into the new project root, so no `components` directory gets created inside projects.
- `Renders` creation, `.gitignore`/`.gitattributes` copying, and git/LFS initialization remain intact.
If you want to rename the template folder from `components` to something else (e.g., `_templates`), I can update the paths.
---
_**User**_
I just updated NewDaily, let's have NewProject put NewDaily.bat and UpdateSequences.bat into Renders.
---
_**Assistant**_
<think><details><summary>Thought Process</summary>**Updating project script**
I need to modify NewProject.bat to copy NewDaily.bat and UpdateSequences.bat into the Renders folder for the new project. The current script initializes git and creates the Renders directory, so we need to ensure those two files from the repo root are copied to "%projectRoot%\Renders\".
I'll add conditional statements to check if the files exist before copying them. Following the user's request, we should keep the code concise and avoid additional commentary while implementing this change with apply_patch.
**Implementing script changes**
I need to add lines for copying files right after creating the Renders directory or the other copy steps, ideally after the "Add project root additions" block. This will keep the batch style consistent. There's a step for creating a Google Drive shortcut later, so I'll make sure the copy lines are inserted before that.
I also need to ensure there's a trailing newline at the end of the file. Time to apply the patch!</details></think>
---
I'll add logic in `NewProject.bat` to copy `NewDaily.bat` and `UpdateSequences.bat` from the repo root into the new project's `Renders` folder.
---
---
<think><details><summary>Thought Process</summary>**Summarizing project updates**
I need to respond concisely with a status update. The user asked for NewProject to incorporate NewDaily.bat and UpdateSequences.bat into Renders, which we've already done through apply_patch. I'll confirm this and describe its functionality briefly. Since its a batch file, theres no need to run linters. Ill mention that to use it, just run NewProject.bat, and it ensures Renders exists as intended. Keeping things minimal is key!</details></think>
---
- Added to `NewProject.bat`: it now copies `NewDaily.bat` and `UpdateSequences.bat` from the repo root into the new projects `Renders` folder (created if missing).
- It only copies them if the source files exist.
How to use:
- Run `NewProject.bat` as usual; `Renders\NewDaily.bat` and `Renders\UpdateSequences.bat` will be placed in the new project.
- Edits:
- Copies `NewDaily.bat` and `UpdateSequences.bat` into `Renders`.
---

View File

@@ -13,7 +13,4 @@ set yy=%yy:~-2%
mkdir "daily_%yy%%mm%%dd%"
echo Daily folder created: daily_%yy%%mm%%dd%
:: Copy A:\1 Amazon_Active_Projects\A:\1 Amazon_Active_Projects\0MoveToCurrent.bat from master .batches folder
copy "A:\1 Amazon_Active_Projects\A:\1 Amazon_Active_Projects\A:\1 Amazon_Active_Projects\0MoveToCurrent.bat" "daily_%yy%%mm%%dd%\A:\1 Amazon_Active_Projects\A:\1 Amazon_Active_Projects\0MoveToCurrent.bat"
pause

View File

@@ -31,10 +31,6 @@ mkdir "%projectRoot%\Blends\stills\img-BG"
:: Create Deliverable structure
mkdir "%projectRoot%\Deliverable\"
:: Create Mocap structure
mkdir "%projectRoot%\Mocap\1 Recording"
mkdir "%projectRoot%\Mocap\2 Export"
:: Create Pr structure
mkdir "%projectRoot%\Pr\RnR\RIFE"
@@ -45,6 +41,10 @@ mkdir "%projectRoot%\Reference\VO clips"
:: Add project root additions
if not exist "%projectRoot%\Renders" mkdir "%projectRoot%\Renders"
:: Place helper scripts into Renders
if exist "%CD%\NewDaily.bat" copy /Y "%CD%\NewDaily.bat" "%projectRoot%\Renders\NewDaily.bat" >nul
if exist "%CD%\UpdateSequences.bat" copy /Y "%CD%\UpdateSequences.bat" "%projectRoot%\Renders\UpdateSequences.bat" >nul
:: Create Translations Google Drive shortcut
echo [InternetShortcut] > "%projectRoot%\Reference\Translation Scripts\Translations Google Drive.url"
echo URL=https://drive.google.com/drive/folders/1lND5207vl-qf5RbTQ2eejeXJCc4r5rUo >> "%projectRoot%\Reference\Translation Scripts\Translations Google Drive.url"