Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Comments on How do we get Flare to stop modifying .gitignore?

Post

How do we get Flare to stop modifying .gitignore?

+1
−0

We use Madcap Flare for our documentation, and the project is checked into git. (In case this matters, this is a locally-hosted git server, not GitHub.) The project uses a .gitignore file to avert commits of output files and assorted Flare byproducts that don't belong in source control.

We do not use Flare's source-control interface and the project is unbound from git. People use git clients (mostly TortoiseGit) to interact with git, not Flare.

Yet, Flare sometimes modifies .gitignore. Sometimes people catch this before committing, which is a little frustrating, but sometimes they don't and it gets to a pull request before a reviewer catches it and the person has to remove it. We know we can use a git hook to block those commits, but we'd like to fix the root problem if we can.

In our group we have both Flare 2019 and Flare 2020 in use, and currently only the people using Flare 2020 are having this problem, but we've had the problem in the past too, and an unanswered support thread from 2018 suggests the problem is older too. (I also found related discussion from 2016.) Our group isn't large enough to really establish a pattern here; Flare version might be a red herring.

Is there something we can do in Flare to get it to stop modifying .gitignore? It shouldn't be touching files that aren't part of the project, but it is. Sometimes. Unpredictably.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (2 comments)
General comments
Olin Lathrop‭ wrote almost 4 years ago · edited almost 4 years ago

This isn't a real answer and I know nothing about Flare, but how about write-protecting .gitignore? That's not to solve the problem, but you might get more information about when and why Flare tries to write to it. Maybe it will barf up an illuminating error message or something.

Monica Cellio‭ wrote almost 4 years ago

@Olin thanks for the debugging tip! I hadn't thought of that.