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
You should be putting it higher up, in the
At the moment I dont want to do the whole project though, I’d like to just handle the scripts.
You’ll have to handle this with
.gitignore or something right now, then.
Right now part of the the project system thinks .git is a folder resource and another is having a fit over the name.
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)
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
Nightly Changelog: 8.1.15-b2022020216
5375: Allow an Ignition project to be used as a Git repo (ignore .git folder)
Now automatically excluding .git, .hg, and .svn folders when scanning project files for changes.