I mentioned before how the binaries were being pushed up to the repository despite the --skip-binaries flag on arc diff, and @epriestley mentioned using a .gitignore file. I created one and commited it, also untracking and removing the binaries from before, as per standard Git protocol (I RTD'd.)
*.a *.o *.exe **/bin **/obj pawlib/
I also waited for a couple of months to make sure that it wasn't a lagging bug fix or some repository weirdness. Yet, on all of our repositories, including the one the above file is from, the binaries continue to be pushed up to both the repos and to Files. These are all repos hosted on Phabricator.
Side note, this also brings up again the other problem that there is no way to remove files in bulk from Files (T9514). If I wanted to nuke all these binaries (of which there are currently thousands), I would have to do so one. at. a. time.
- Ensure .gitignore is present, committed, and properly configured to ignore binary file types. (Also, ensure there are some such binary files added to the local folder but not yet "added".)
- I make changes to my repository (i.e. to code files).
- In a Terminal, I run git add . and arc diff.
- I fill out the arc diff form. (It makes no difference if creating or updating a diff.)
- Note that Arcanist is listing all the binaries in the repository as "Uploaded". They similarly appear in the Differential.