This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
# the resulting image won't be 64 bit, | |
# so adding that into the mix just makes life painful | |
config.vm.box = "ubuntu/trusty32" | |
config.vm.boot_timeout = 3600 | |
config.vm.provider "virtualbox" do |vb| |
This file contains 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
package: systemd-installer | |
import: | |
- package: github.com/coreos/go-systemd | |
version: v15 | |
- package: github.com/godbus/dbus | |
version: v4.0.0 |
This file contains 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 python | |
# -*- coding: utf-8 -*- | |
from __future__ import absolute_import, print_function, unicode_literals | |
__docformat__ = 'reStructureText' | |
import logging | |
import re | |
import sys | |
import html5lib | |
from xml.etree.ElementTree import tostring |
This file contains 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/sh | |
set -e | |
set -x | |
## this script is run as `sudo /tmp/vagrant-shell` by ~vagrant | |
#echo '[USER]' | |
#id -a | |
#echo '[ENV]' | |
#env |
This file contains 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 python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function, unicode_literals | |
from bs4 import BeautifulSoup | |
import hashlib | |
import logging | |
import json | |
import os | |
import sys | |
import re |
This file contains 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 | |
# can't -e because of all the potentially missing files/dirs | |
# and rm(dir) executions | |
set -u | |
args=`getopt dfn $*` | |
if [ $? != 0 ]; then | |
echo "Usage: $0 [-n] [-f|-d[d]] pkg-id" >&2 | |
exit 1 |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = '2' | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = 'precise' | |
config.vm.hostname = 'sentry1' | |
config.vm.network :private_network, ip: '192.168.56.105' |
This file contains 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 python | |
# -*- coding: utf-8 -*- | |
from __future__ import absolute_import, print_function, unicode_literals | |
import json | |
import re | |
import sys | |
import yaml | |
This file contains 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
This patch was tested against every 2.x release tag in https://github.com/gradle/gradle.git and applies cleanly to all of them, | |
except for the following error message: | |
> warning: inexact rename detection was skipped due to too many files. | |
> warning: you may want to set your merge.renamelimit variable to at least 4384 and retry the command. | |
diff --git a/subprojects/core/src/main/groovy/org/gradle/api/internal/AsmBackedClassGenerator.java b/subprojects/core/src/main/groovy/org/gradle/api/internal/AsmBackedClassGenerator.java | |
index abbb13b..6e9f26d 100644 | |
--- a/subprojects/core/src/main/groovy/org/gradle/api/internal/AsmBackedClassGenerator.java | |
+++ b/subprojects/core/src/main/groovy/org/gradle/api/internal/AsmBackedClassGenerator.java |
This file contains 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 python | |
# -*- coding: utf-8 -*- | |
from __future__ import absolute_import, print_function, unicode_literals | |
import json | |
import sys | |
from getopt import getopt | |
from getpass import getpass | |
# this is a factory method that one can find in "keychain.patch" below | |
from ..keychain import load_keychain |