Trying to get all of our projects on the same page, and our shared scripts seemed like a good place to start. I created a git repository in C:\Program Files\Inductive Automation\Ignition\data\projects\project name\ignition\script-python, but the designer/gateway throws an error about the .git folder that is created there. Is there anyway to ignore “.git”? I know that the exposure of those folders was meant for version control. Thanks.
IllegalArgumentException: com.inductiveautomation.ignition.common.project.resource.NameInvalidException: Name '.git' is invalid
caused by NameInvalidException: Name '.git' is invalid
Ignition v8.0.4 (b2019091612)
Java: Azul Systems, Inc. 11.0.4
I try to use git with one git repository for one project Ignition.
Instead of a git repository for the whole ignition projects folder.
I don’t wan’t to go deeper like a repo for script only, but for me it make sense that 1 Ignition projet = 1 git repository.
/data/project/global/.git (.git is the directory)
/data/project/global/.gitgnore
/data/project/myProj1/.git
/data/project/myProj2/.git
…
This works fine, except 2 remarks:
when .git folder content change, Ignition Client receive an update message (It must be because anything change in Ignition gateway projects/myProj folder)
when I restore a project from the gateway .git folder is deleted …
If possible, it would be very usefull that Ignition project management system ignore .git folder and .gitignore files ! in the project/myProject folders