Giter Site home page Giter Site logo

scotty's People

Contributors

jdennes avatar larsxschneider avatar pluehne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scotty's Issues

Support for GHE 2.11

Could these scripts be made to work with GHE 2.11?

I tested a couple reports,

users-find-inactive.sh
git-versions.sh
exceptions.sh

Which all work ok, after changing the REQUIRED_GHE_MAJOR_VERSION to 2.11

Add report script to show what repos a user pushed to last

    SELECT
        CONCAT('https://$GHE_HOST/', org.login, '/', repositories.name) AS repo,
        REPLACE(pushes.ref, 'refs/heads/', '') AS branch,
        pusher.login AS user,
        MAX(pushes.updated_at) AS 'last push date'
    FROM pushes, repositories, users AS org, users AS pusher
    WHERE
        pushes.pusher_id = pusher.id AND
        pushes.repository_id = repositories.id AND
        repositories.owner_id = org.id AND
        org.type = 'Organization' AND
        pusher.login = '$PUSHER'
    GROUP BY repositories.name, pusher.login, pushes.ref
    ORDER BY pushes.updated_at DESC, repositories.name, pushes.ref

Check GHE version

Before running a script, check the GHE version to ensure we run the script only on a supported GHE version.

/cc @jdennes

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.