holman / hopper Goto Github PK
View Code? Open in Web Editor NEWCollection, Analyzation, and BBQing of Ruby community statistics.
Home Page: http://zachholman.com/talk/aggressively-probing-ruby-projects
Collection, Analyzation, and BBQing of Ruby community statistics.
Home Page: http://zachholman.com/talk/aggressively-probing-ruby-projects
Do it.
Now that probe tests have shaken out a little bit, let's effectively remove most of the setup
block. Add a helper (maybe in the fixture
call) that:
@project
@probe
(based on current file's target probe, if possible)Right now we tuck repo
in as a method on a Source
. This is horrible because it's already getting crowded- methods on GitHub (the Source) are getting intermixed with Git operations.
On top of this, when we start using other things like Subversion repos, we can't do things like we're currently doing in Probes- i.e., Rugged-specific tree walking and blob access.
We need a Repo
(or Repository
) model that can model our on-disk data. We can put all of our generalized file access here. I haven't thought it through much, but contenders are:
You know, things that would help out in, say, every single Probe we ever write.
We also will need to abstract this out like we do Sources and Probes- define the common interface and then override those methods in each subclass. Subclasses:
Git
(via Rugged::Repository
)Subversion
(via Who::The::Fuck::Knows
)Disk
(via stdlib, just a wrapper over a bare filesystem download if something's not in version control)Disk
could be tricky- since we wouldn't have any version control history, the whole concept of snapshots falls down. We might want a way to bypass snapshotting and only report one (the HEAD) number.
Look for swearing in commits, too.
Let's face it, this shit can be fuckin' frustrating.
Maybe swearing will be statistically significant for determining the popularity of a project, who knows.
Like Flog, don't shell out to Flay. Seems like it may be possible (especially with the new Repository
stuff). If it's not doable, that means we can't really run versioned Flay runs, so we should just rip it out.
Compare number of comments versus LOC
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.