Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move LicenseMatcher into own project #59

Open
timgluz opened this issue Jul 3, 2017 · 3 comments
Open

Move LicenseMatcher into own project #59

timgluz opened this issue Jul 3, 2017 · 3 comments
Assignees

Comments

@timgluz
Copy link
Contributor

timgluz commented Jul 3, 2017

It's one of reasons why specs are slow - it must rebuild the token index each time and it takes time;

Fastest solutions is to move everything into own repo; But it doesnt speed up creation of index;

Better approach: use proper tools, refactor it into 2 processes: training/match, where the training-process will build and save model; and match-process will re-use already existing model;

@reiz
Copy link
Member

reiz commented Jul 6, 2017

@timgluz That sounds good. We could store the trained index in DB or in a git repo.

@timgluz timgluz self-assigned this Jul 31, 2017
@timgluz
Copy link
Contributor Author

timgluz commented Jul 31, 2017

Currently doing research - going to checkout which tools are possible to use and which them are the best option;

@timgluz
Copy link
Contributor Author

timgluz commented Sep 30, 2017

Done: all the relating packages can be found here: https://github.com/Fosslim

Steps for refactoring:

  • add gem "license_matcher", "~> 0.3" into Gemfile

i wrote a simple ROR app fosslim/lmweb to demonstrate the usage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants