GithubHelp home page GithubHelp logo

homebysix / easy_rider Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sheagcraig/easy_rider

1.0 3.0 0.0 20 KB

Automatically create overrides for a list of AutoPkg recipes, using current production Munki pkginfo and templates to override final recipe.

Python 100.00%

easy_rider's Introduction

Why don't you cut your hair?

usage: easy_rider.py [-h] [-o OVERRIDE_DIR]
                     [-l RECIPE_LIST | -r RECIPES [RECIPES ...]]
                     [-k KEYS [KEYS ...]] [-p PKGINFO]

Create an override for each recipe listed in an Autopkg recipe-list. or a
supplied list of recipe identifiers. (Defaults to current user's AutoPkgr
recipe_list) . The 'Input' will be renamed to 'Input_Original', and a new
'Input' section will be populated with metadata from the most current
production version of that product, followed by metadata from the
'Input_Original' for any blank values. Finally, (optionally with
-p/--pkginfo), a plist of values is added to the 'Input' 'pkginfo' key.

optional arguments:
  -h, --help            show this help message and exit
  -o OVERRIDE_DIR, --override-dir OVERRIDE_DIR
                        Path to a location other than your autopkg override-
                        dir to save overrides.
  -l RECIPE_LIST, --recipe-list RECIPE_LIST
                        Path to a recipe list. If not specified, defaults to
                        use AutoPkgr's recipe_list at ~/Library/Application
                        Support/AutoPkgr.
  -r RECIPES [RECIPES ...], --recipes RECIPES [RECIPES ...]
                        One or more recipe identifiers for which to create
                        overrides.
  -k KEYS [KEYS ...], --keys KEYS [KEYS ...]
                        Input metadata key names (may specify multiple values)
                        to copy from newest production version to 'Input'.
                        Defaults to: ('category', 'description', 'developer',
                        'display_name', 'MUNKI_REPO_SUBDIR')
  -p PKGINFO, --pkginfo PKGINFO
                        Path to a plist file defining override values to
                        enforce. This plist should have a top-level dict
                        element named 'pkginfo'.

Please see the README for use examples and further description.

More information forthcoming.

easy_rider's People

Contributors

homebysix avatar sheagcraig avatar

Stargazers

 avatar

Watchers

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