This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| __author__ = 'schwa' | |
| import os | |
| import subprocess | |
| import glob | |
| from github import Github # pip install PyGithub | |
| from bitbucket.bitbucket import Bitbucket # pip install --user bitbucket-api | |
| GH_USERNAME = '[email protected]' | |
| GH_PASSWORD = '1234' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'fileutils' | |
| # Originally -- Dave Deriso -- [email protected] | |
| # Contributor -- G. Richard Bellamy -- [email protected] | |
| # If you contribute, put your name here! | |
| # To get your team ID: | |
| # 1. Go to your GitHub profile, select 'Personal Access Tokens', and create an Access token | |
| # 2. curl -H "Authorization: token <very-long-access-token>" https://api.github.com/orgs/<org-name>/teams | |
| # 3. Find the team name, and grabulate the Team ID |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use Struct.new(:app) { | |
| def call(env) | |
| env["rack.errors"] = $stdout | |
| app.call(env) | |
| end | |
| } | |
| use Rack::Logger, $your_log_level | |
| use Rack::CommonLogger | |
| run YourApp |