Giter VIP home page Giter VIP logo

gitgetinfo's Introduction

gitgetinfo

Tool for finding STRING in FILENAME in github ORG or USERNAME repos.

Dependencies

BeautifulSoup

pip install beautifulsoup

limits

The org query just does an http get - so the following limits do not apply.

For user repo queries:

  • api.github.com allows 1 request per minute for non-authenticated users
  • only returns first 100 repos

Usage

usage: gitgetinfo.py [-h] [-s, --search SEARCH] [-b, --branch BRANCH]
                     [-o, --org ORG] [-u, --user USER]
                     [-f, --filename FILENAME]

Search juju-solutions repos for layers and interfaces

optional arguments:
  -h, --help            show this help message and exit
  -s, --search SEARCH   layer or interface name (or substring)
  -b, --branch BRANCH   specify additional branch names (default is master)
  -o, --org ORG         specify additional github org names to scan
  -u, --user USER       specify additional github user repos to scan
  -f, --filename FILENAME
                        filename to scan in repo for search string

org, user and branch are all appended arguments, e.g.: 

gitgetinfo.py -s basic -b master -b featurebranch1 -b featurebranch2 -u bobsmith -u mikepeters -o org1 -o org2 -f layer.yaml

or a simpler example:

gitgetinfo.py -s hadoop-client -b ha -b master -o org1 -u johndoe -f layer.yaml

gitgetinfo's People

Contributors

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