Removing binaries from transducer repo

From LING073
Jump to: navigation, search

You shouldn't have compiled files in your repository.

You also shouldn't have temporary files from your editor committeed.

In principle, these days the .gitignore file will be specified to ignore any compiled or binary files. But it's worth a quick glance to make sure nothing's slipped past it.

  1. Bootstrap a fresh transducer directory
  2. Examine the contents of that directory and your repo (either a fresh clone or the listing on github) side-by-side and compare. Make sure to use ls -la so that you can see "hidden" files (i.e., ones that start with .)
    • Obvious unwanted files are anything ending in .bin, .hfst, .gz, anything in the .deps or autom4te.cache directories (and the directories themselves, though git doesn't track directories explicitly, so removing all files in them is sufficient), vim swap files (starting with . and ending with .swp or similar), anything with a ~ in it, etc.
    • You'll also want to remove files in test/ that contain output in the filename. For each test, you should only have at most input, gold, and expected.
  3. Use git rm --cached [filename1 filename2 .deps/* etc.] to remove any unwanted files from the repo and leave them on your local system.
  4. Use git commit and git push to commit and push the changes.