- feedback geo-mirroring & hot patching
- GGG requirements letter
- conan.io
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 groovy | |
/** | |
* groovy script to migrate (export) GitHub.com repositories to GitHub Enterprise | |
* | |
* Automates steps in https://github.com/blog/2171-migrate-your-repositories-using-ghe-migrator | |
* | |
* Run 'groovy MigrateRepositories.groovy' to see the list of command line options | |
* | |
* First run may take some time as required dependencies have to get downloaded, then it should be quite fast |
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
#!/bin/bash | |
repoSize=`du -hsk | cut -f 1` | |
if [ $repoSize -gt "1500" ]; then | |
echo "Repository size is greater than 1500 kb : ${repoSize}" | |
exit 1 | |
fi |
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
import java.io.File | |
categories = ["DEV", "HW", "OTHER", "EDU", "WEB", "DATA", "DOCS"] as Set | |
def readInDataSet (dataSetName, categoryToRepo, repositories) { | |
categories.each { | |
categoryToRepo[it]= [] as Set | |
} | |
count = 1; |
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 groovy | |
/** | |
* groovy script to show all users that can access a given repository in a GitHub Enterprise instance | |
* | |
* | |
* Run 'groovy PrintRepoAccess.groovy' to see the list of command line options | |
* | |
* First run may take some time as required dependencies have to get downloaded, then it should be quite fast | |
* |
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 groovy | |
package org.kohsuke.github | |
@Grab(group='org.kohsuke', module='github-api', version='1.75') | |
import org.kohsuke.github.GitHub | |
class ListUsersInOrganizations extends GitHub { | |
static void main(args) { |
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 groovy | |
package org.kohsuke.github | |
@Grab(group='org.kohsuke', module='github-api', version='1.75') | |
import org.kohsuke.github.GitHub | |
class ListUsersInOrg extends GitHub { | |
static void main(args) { |
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 groovy | |
// run with groovy ListReposInOrg -t <personal access token> <org name> | |
package org.kohsuke.github | |
@Grab(group='org.kohsuke', module='github-api', version='1.75') | |
import org.kohsuke.github.GitHub | |
class ListReposInOrg extends GitHub { |
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 bash | |
# Client side script to trigger pre-receive hook and scan its output | |
# usage: diff-branches-client.sh <repo URL> <compare branch> [base branch] [magic trigger branch] | |
# Examples: | |
# diff-branches.client.sh https://jonico@octodemo.com/jonico/large-branch-diff-with-prereceive-hook.git compare-branch feature-branch # diffs compare-branch with feature branch | |
# diff-branches.client.sh https://jonico@octodemo.com/jonico/large-branch-diff-with-prereceive-hook.git compare-branch # diffs compare-branch with master | |
# diff-branches.client.sh https://jonico@octodemo.com/jonico/large-branch-diff-with-prereceive-hook.git f75b18abbb06 f75b18abbb06^1 # diffs commit f75b18abbb06 with its parent | |
# diff-branches.client.sh https://jonico@octodemo.com/jonico/large-branch-diff-with-prereceive-hook.git master master~2 # diffs latest commit on master with its grandparent |
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
<dashboard> | |
<label>Octodemo performance stats</label> | |
<row> | |
<panel> | |
<chart> | |
<title>Top fetched repos</title> | |
<search> | |
<query>index="octodemo" upload-pack user| top repo</query> | |
<earliest>@w0</earliest> | |
<latest>now</latest> |
OlderNewer