gem-codesearch icon indicating copy to clipboard operation
gem-codesearch copied to clipboard

Cleanup feature without Ruby code

Open hsbt opened this issue 6 years ago • 3 comments

I added the feature of cleanup files without Ruby code. I removed the following files.

  • The vulnerable files detected by F-Secure Anti-Virus.
  • The files what used extension name without .rb, .rake and the majority of Ruby code.
  • The files that ruby -c raised error status.

I know this feature is slow down of rake unpack task.

@akr @mame How about this?

hsbt avatar Feb 19 '19 06:02 hsbt

Is it remove C files?

akr avatar Feb 19 '19 07:02 akr

Is it remove C files?

Maybe, Yes. But I know we hope to search for C function usage like rb_*. Should we store files that are .c, .h, .cpp and .hpp ?

hsbt avatar Feb 19 '19 12:02 hsbt

@akr I also ignored C/C++ source files. Can I merge this?

hsbt avatar Feb 25 '19 10:02 hsbt