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
=== modified file 'schema.py' | |
--- schema.py 2012-12-05 15:38:38 +0000 | |
+++ schema.py 2013-02-05 21:02:18 +0000 | |
@@ -63,6 +63,9 @@ | |
if 'BadRequest' not in cfs: | |
workaround_1779(mgr.create_column_family, keyspace, 'BadRequest', | |
default_validation_class=CounterColumnType()) | |
+ if 'BucketSystems' not in cfs: | |
+ workaround_1779(mgr.create_column_family, keyspace, 'BucketSystems', | |
+ default_validation_class=UTF8_TYPE) |
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
=== modified file 'schema.py' | |
--- schema.py 2012-12-05 15:38:38 +0000 | |
+++ schema.py 2013-02-05 21:02:18 +0000 | |
@@ -63,6 +63,9 @@ | |
if 'BadRequest' not in cfs: | |
workaround_1779(mgr.create_column_family, keyspace, 'BadRequest', | |
default_validation_class=CounterColumnType()) | |
+ if 'BucketSystems' not in cfs: | |
+ workaround_1779(mgr.create_column_family, keyspace, 'BucketSystems', | |
+ default_validation_class=UTF8_TYPE) |
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
sudo: required | |
dist: trusty | |
env: | |
global: | |
secure: <redacted> | |
services: | |
- docker | |
language: python | |
python: | |
- '3.5' |
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
# Repack our xz squashfses using lz4 | |
$ unsquashfs ubuntu-core_109.snap | |
$ sudo mksquashfs squashfs-root ubuntu-core_109_lz4.snap -noappend -comp lz4 -no-xattrs | |
$ unsquashfs ubuntu-core_122.snap | |
$ sudo mksquashfs squashfs-root ubuntu-core_122_lz4.snap -noappend -comp lz4 -no-xattrs | |
# Create the delta | |
$ cd squashdelta | |
$ echo 3 | sudo tee /proc/sys/vm/drop_caches | |
$ time ./squashdelta ../ubuntu-core_109_lz4.snap ../ubuntu-core_122_lz4.snap ../ubuntu-core_lz4_109-122.squashdelta |
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
$ cat > .travis.yml <<EOF | |
sudo: required | |
dist: trusty | |
services: | |
- docker | |
language: python | |
python: | |
- '3.5' | |
script: | |
- docker run -v \$(pwd):/snapcraft didrocks/snapcraft sh -c 'cd /snapcraft; snapcraft' |
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 | |
screen -S vm sudo xhyve -m $((1024*5))M -c 3 -s 2:0,virtio-net -s 4,virtio-blk,hdd.img -s 0:0,hostbridge -s 31,lpc -l com1,stdio -f "kexec,linux,initrd,earlyprintk=serial console=ttyS0 acpi=off root=/dev/vda1 ro" |
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
git: | |
# Git support. | |
plugin: nil | |
stage-packages: | |
- git | |
snap: | |
- usr/bin/git* | |
- usr/lib/git* | |
- usr/lib/*/libasn1.so* | |
- usr/lib/*/libcurl-gnutls.so* |
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 -e | |
if [ -z "$SNAPCRAFT_SECRET" ]; then | |
# Run `sh seed.sh` on your local machine so SNAPCRAFT_SECRET is set. | |
exit 0 | |
fi | |
mkdir -p ".encrypted" | |
if [ ! -e ".encrypted/snapcraft.cfg.enc" ]; then | |
echo "Seeding a new macaroon." |
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
name: rocketchat-server | |
version: 0.37.1 | |
summary: Rocket.Chat server | |
description: Have your own Slack like online chat, built with Meteor. https://rocket.chat/ | |
confinement: strict | |
apps: | |
rocketchat-server: | |
command: env ROOT_URL=http://localhost PORT=3000 MONGO_URL=mongodb://localhost:27017/parties node $SNAP/main.js >$SNAP_DATA/server.log 2>&1 | |
daemon: simple | |
plugs: [network, network-bind] |
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
name: cassandra | |
version: 3.7 | |
summary: Cassandra distributed database | |
description: The Apache Cassandra database | |
confinement: strict | |
apps: | |
cassandra: | |
command: wrapper-cassandra | |
daemon: forking | |
# mount-observe is needed for checking available space in the data |
OlderNewer