GithubHelp home page GithubHelp logo

salt-study's Introduction

saltstack source code library

Study the latest source code of open source projects.

If this is causing you an error or you have a feature request file an issue.

Start learning Salt today!

Features

  • Clone / checkout open source projects en masse, seperated by programming language
  • Update all projects at once
  • VCS support: git, hg (should work with svn, cvs too). Have a pkg dependency you need to include? add it via the pillar file (for python only as of 2013-08-13)
  • Python only: automatically creates virtualenvwrapper compatible environments for code. So you can workon the same code you are studying.

Setup

git clone https://github.com/tony/salt-study.git /srv/salt/tony-study

Edit master file /etc/salt/master and / or /etc/salt/minion file:

pillar_roots:
    base:
        - .. your current pillars
        - /srv/salt/tony-study/pillar

file_roots:
    base:
        - .. your current file_roots
        - /srv/salt/tony-study

Add study_repos to your highest pillar top.sls file.

Copy pillar/study_repos.sls.example to pillar/study_repos.sls.

Config variables

Variable Use
study_username User and Group for file ownership
study_dir The directory with the study repos will be cloned to. I use /home/tony/study/. Remember trailing slash.
vcs_pkg_sls List of vcs sls packages to include as dependencies
python_sls Name of python sls package to include if you have dependencies for python / virtualenv / virtualenvwrapper.
study repos Categorized by subject -> vcs -> { projectname: 'repo url' }

To do

  • Convert the rest of the sample subjects to the pillar data format (c.sls and c++.sls isn't yet.
  • Allow the other pillars to have package dependencies from pillar config, study_sls_pkg for all study sls subjects.
  • hg to require a pkg mercurial.

salt-study's People

Contributors

tony avatar

Watchers

 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.