GithubHelp home page GithubHelp logo

cf-graph's Introduction

cf-graph

Conda Forge dependency graph and auto ticker

Plan

There are four scripts:

  1. 00-find-feedstocks.py which finds all the names of the current feedstocks. (#feedstocks/30 GH api calls)
  2. 01-make_graph.py which makes the DAG of packages and their dependencies using networkx with each recipe represented by a node. Important data from the meta.yaml for each recipe stuffed into the node attrs. (single GH api call per feedstock)
  3. 02-graph-upstream.py finds versions for each recipe's upstream source. (potential 2 GH calls per feedstock (if on GH))
  4. 03-auto_tick.xsh takes each node which is out of date and creates a PR to bring the recipe up to date with the source. This requires xonsh and will skip CI for packages who's dependencies are also out of date. (multiple GH api calls)

These scripts will run on Travis from 4 different github repos as daily cron jobs and use doctr to write the output data (the list of all conda-forge packages and the dependency graph) to this repo.

GH rate limit may be a major concern for this as there are ~4000 feedstocks and only 5000 API calls per hour. This may require it's own conda-forge bot account to prevent it from taking all the API calls.

Next steps

  1. Test the auto ticking script.
  2. Iron out some kinks with getting the upstream and making the graph.
  3. Put into production with Travis + doctr.
  4. On accepting a new recipe to CF write to the dependency graph directly.
  5. On accepting a PR into a feedstock update the version in the graph.

cf-graph's People

Contributors

cj-wright avatar justcalamari avatar

Watchers

James Cloos avatar  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.