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
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•3y ago
Message Not Public
Sign In & Join Server To View
the original base is not a git repo
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
only our custom code is in a git repo
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
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•3y ago
Message Not Public
Sign In & Join Server To View
Why not create an orphan branch for your base?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
none of the base code is in the repo and we don't want it to be
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Yeah I’m dumb, don’t know why I thought that works work tbh
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
yes
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
fairly often yes
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
well not all files from vendor are ignored
most is
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
but anything we change is not
we dont modify anything that is ignored
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
yes
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
They should yes
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
it is >2GB and I dont want to dump all that into Azure Dev Ops
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
and we are planning an upgrade in future
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
when we upgrade we replace the base install
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
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•3y ago
Message Not Public
Sign In & Join Server To View
does a gitignore in a parent folder override a gitignore in a child folder?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
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•3y ago
Message Not Public
Sign In & Join Server To View
maybe. is that OS dependent?
we develop on windows but deploy to linux
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
will investigate thx
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
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•3y ago
Message Not Public
Sign In & Join Server To View