Giter VIP home page Giter VIP logo

oyster's Introduction

oysteR

CircleCI

Create purls from the filtered sands of your dependencies, powered by OSS Index

Usage

If this project is run independently, one can run:

Rscript R/main.R

main.R has a call to audit_deps_with_oss_index() by default, as a convenience.

If installed, you can do:

library(oysteR)
oysteR::audit_deps_with_oss_index()

This will accomplish the same behavior as running main.R.

Authentication

Heavy use against OSS Index will likely run you into rate limiting (yikes!), but you can:

  • Register an account on OSS Index
  • Get your username and API Token after registering

Set the following environment variables:

OSSINDEX_USER OSSINDEX_TOKEN

These will be used by oysteR to authenticate with OSS Index, bumping up the amount of requests you can make.

Development

Generally, you are going to need:

  • R installed (we all used 3.6.x)

After you have cloned this repo:

  • R -e "devtools::install_deps(dep = TRUE)"
  • R CMD build .

You can test that everything works by running:

  • Rscript R\main.R

This should list and audit your local dependencies, if all has gone well!

Tests

Our tests are in:

  • tests/testthat

You can run tests in R like so:

devtools::test()

CircleCI

Any commit should be run in CircleCI, which will check that:

  • Project builds
  • CRAN Check (R CMD check) runs

Successful builds on CircleCI are generally good, make sure to check for WARNINGS or NOTES from R CMD check, however!

Contributing

We care a lot about making the world a safer place, and that’s why we continue to work on this and other plugins for Sonatype OSS Index. If you as well want to speed up the pace of software development by working on this project, jump on in! Before you start work, create a new issue, or comment on an existing issue, to let others know you are!

The Fine Print

It is worth noting that this is NOT SUPPORTED by Sonatype, and is a contribution of ours to the open source community (read: you!)

Remember:

  • Use this contribution at the risk tolerance that you have
  • Do NOT file Sonatype support tickets related to oysteR
  • DO file issues here on GitHub, so that the community can pitch in

Phew, that was easier than I thought. Last but not least of all:

Have fun creating and using this extension and the Sonatype OSS Index, we are glad to have you here!

Getting help

Looking to contribute to our code but need some help? There’s a few ways to get information:

oyster's People

Contributors

adrianpowell avatar bhamail avatar brittanybelle avatar darthhater avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.