Skip to content

Core default settings: Update project folder structure to use AYON template keys#1644

Open
MustafaJafar wants to merge 4 commits intodevelopfrom
enhancement/1643-update-project-folder-structure-to-use-ayon-template-keys
Open

Core default settings: Update project folder structure to use AYON template keys#1644
MustafaJafar wants to merge 4 commits intodevelopfrom
enhancement/1643-update-project-folder-structure-to-use-ayon-template-keys

Conversation

@MustafaJafar
Copy link
Copy Markdown
Member

Changelog Description

  • Update project folder structure to use AYON template keys

Testing notes:

Create project structure web action should work as before when setting ayon+settings://core/project_folder_structure

@MustafaJafar MustafaJafar self-assigned this Jan 12, 2026
@MustafaJafar MustafaJafar added the type: maintenance Changes to the code that don't affect product functionality (Technical debt, refactors etc.)) label Jan 12, 2026
@ynbot ynbot added type: enhancement Improvement of existing functionality or minor addition size/XS labels Jan 12, 2026
@MustafaJafar MustafaJafar linked an issue Jan 12, 2026 that may be closed by this pull request
2 tasks
Copy link
Copy Markdown
Collaborator

@BigRoy BigRoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good to me. @iLLiCiTiT can you confirm?

For what it's worth - note that the __project_root__ key would've behaved slightly differently, because it'd have applied to EACH root key that may be in anatomy. Not sure that was a good thing, but it's a change I just wanted to note here.

@iLLiCiTiT iLLiCiTiT removed the type: maintenance Changes to the code that don't affect product functionality (Technical debt, refactors etc.)) label Jan 13, 2026
@iLLiCiTiT
Copy link
Copy Markdown
Member

As stated multiple times, this is setting used for 2 things.

  • create initial structure of a project (current only in ftrack)
  • create directories on disk

We probably should remove the ftrack action with these changes... But I don't know if there is anyone using it.

@BigRoy
Copy link
Copy Markdown
Collaborator

BigRoy commented Jan 23, 2026

We probably should remove the ftrack action with these changes... But I don't know if there is anyone using it.

I'd say so, yes. OR have any {root be considered __project_root__ in that action.

@MustafaJafar
Copy link
Copy Markdown
Member Author

MustafaJafar commented Jan 24, 2026

  • create initial structure of a project (current only in ftrack)

I think missed it. thanks for pointing that out.

I can see now __project_root__ mentions in https://github.com/ynput/ayon-ftrack/blob/develop/client/ayon_ftrack/event_handlers_user/action_create_project_structure.py

and also this
image

but most importantly this
https://github.com/ynput/ayon-ftrack/blob/47a971ddea74127b7b63b1dda50f33909cf6b5b5/client/ayon_ftrack/event_handlers_user/action_create_project_structure.py#L125-L127

Does it mean that when using {root[work]} in core addon setting project_folder_structure, it'll fail on ftrack side because it won't skip {root[work]} ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS type: enhancement Improvement of existing functionality or minor addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Project Folder Structure to use AYON template keys

4 participants