Comments (3)
I will give a try for this - specifically for the GitHub variant first. If that works, I'll move to GitLab.
from gimie.
If possible:
- Retrieve list of files from provider
- Match potential license files based on filenames.
- Download (raw blobs or api) specific license file(s)
- Match license locally
If this is fast, skip license retrieval from Git provider API and make this the default.
Else:
- Check if license was returned by git provider
- if license is missing, clone entire repo and scan for licenses locally
This is likely very slow for large repos and should be an option.
from gimie.
WIP
from gimie.
Related Issues (20)
- Incorrect value for codeRepository
- Licenses not being picked up correctly HOT 2
- provide generic file object
- Reduce extractor complexity
- Add Parser concept HOT 1
- [ IP] publishing date - not pulled out of gimie HOT 2
- Fix docker push CI HOT 5
- Implement license detection for GitExtractor
- make list_files recursive HOT 9
- write contribution guide
- enforce conventional PR titles
- prevent docs rebuild on non-default branches HOT 1
- Implement license matcher HOT 2
- Optimize Github Actions HOT 1
- Optimize gimie container size
- License identifier not matched correctly HOT 1
- License (SPDX) maintenance strategy HOT 1
- Move code out of __init__ files
- graphql error on some large repos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gimie.