Comments (2)
Bitbucket API access
IMHO, we should go with with got
, since:
- We're already using
got
- We can adapt its response (and errors) with existing code
Still unsure about hosted-git-info
: need to figure out whether we'll encounter uses cases in which we need to dynamically query based on:
// Psuedocode
const hostedGitInfo = require("hosted-git-info")
let gitHostInfo = hostedGitInfo.fromUrl(repoUrl, opts)
/* info looks like:
{
type: "github",
domain: "github.com",
user: "npm",
project: "hosted-git-info"
}
*/
// @internal factory method to generate the appropriate API?
readmeInspector.api = apiFactory.create(gitHostInfo)
// => Provides an api instance that readmeInspector can use
If we go the apiFactory
direction, we'll need to define an interface for the methods:
getReadme
(Octokit.prototype.repos.getReadme)
from readme-inspector.
Iceboxing this since:
- Bitbucket has low market-share
- GitLab support would be more useful
from readme-inspector.
Related Issues (11)
- feat(readme): detect and score GitHub (Enterprise) READMEs HOT 1
- defect(config): use dotenv-extended instead of dotenv HOT 2
- chore(release): publish v1.0.1 to NPM and GitHub HOT 2
- defect(readme-score): scoreData is always a NullObject (score === 0) HOT 2
- ci(pkg): enable Greenkeeper HOT 1
- defect(config): move .env* files to the product's root directory HOT 1
- feat(adr): add architecture decision record support
- An in-range update of eslint-plugin-prettier is breaking the build 🚨 HOT 1
- Add topic: documentation-quality
- ci(cii): implement CII Best Practices HOT 1
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 readme-inspector.