Track gitignored Changes

I work on a software where the base product is an off the shelf vendor product and we have added customizations on top of it. Our git repository only includes the customizations we have made, not the base files for the base install which is all ignored in a .gitignore. It works great... However, our security team keeps running crap that deletes files off our local machines killing our local environments. What is the best way to track all the changes in our local environments that are ignored by the repo so we can tell when and what security changed on us (so we can bitch at them)?
44 Replies
ZacharyPatten
ZacharyPattenOP3y ago
Note: the base install of the vendor app is >2GB. It is a lot of files; not something I could easily track manually.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
the original base is not a git repo
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
only our custom code is in a git repo
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
we have a base install that is just a zip file (but unzips to a ton of crap). after we unzip it, we clone our repo on top of it which includes our customizations. I dont want to track the changes in our existing git repo, I just want some means of tracking changes to everything that is gitignored. I thought about making a seperate repo in a different directory and adding the file from the base install to it if that is possible
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Mayor McCheese
Why not create an orphan branch for your base?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
none of the base code is in the repo and we don't want it to be
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Mayor McCheese
Yeah I’m dumb, don’t know why I thought that works work tbh
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
yes
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
fairly often yes
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
well not all files from vendor are ignored most is
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
but anything we change is not we dont modify anything that is ignored
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
yes
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
They should yes
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
it is >2GB and I dont want to dump all that into Azure Dev Ops
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
and we are planning an upgrade in future
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
when we upgrade we replace the base install
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
i thought about using check sums, but then I wont get the actual change and roll back. checksums would only detect the change
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
does a gitignore in a parent folder override a gitignore in a child folder?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
fuck that would have fixed everything... I think im just going to have to find another tool outside of git or checksums it wouldnt be so bad if it didnt take 2 hours to unzip the base install files... 😦
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
maybe. is that OS dependent? we develop on windows but deploy to linux
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
will investigate thx
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
ZacharyPatten
ZacharyPattenOP3y ago
is there just a tool that will compare a directory to a zip file and get all the differences? im not aware of one off the top of my head
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server