bub_bot 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/lib/bub_bot/repo.rb +3 -1
- data/lib/bub_bot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 45ce87df393b6f35cd33a2fc3dd40b6bba9521d1b7baf0dd7a668bdf83738338
|
|
4
|
+
data.tar.gz: da4ecda71ae3431b12f5a8129e9bdbaea16f82d4c0708121a488c5e83df4c3a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc95536d176c0a9fc7c1e61262d022c31b56006156cd3dc5077fe8d1e83d5b8985051a1dbfbbfcc5f6cf6ff4f7e3ab14ba03a35674a4863e593f264a28eed72f
|
|
7
|
+
data.tar.gz: e08a6906498297c0097964dd8f57ee8803c6d43f1ed6ea58ad1f66b0f707cfe49cef4422b581339afa2e5b0a98a933f2445956efdffd83b6e4bf9b95a0b04304
|
data/README.md
CHANGED
|
@@ -47,3 +47,10 @@ Slack setup:
|
|
|
47
47
|
- Maybe only do that if you have only one server claimed?
|
|
48
48
|
- I dunno, still seems kinda sketch
|
|
49
49
|
|
|
50
|
+
# Bugs:
|
|
51
|
+
- Show better error when you try to push to a repo you don't have permissions on
|
|
52
|
+
- Tests, of course.
|
|
53
|
+
|
|
54
|
+
# Features to add:
|
|
55
|
+
- Allow git ssh keys to be passed in at runtime
|
|
56
|
+
- Set up a docker image that people can deploy directly
|
data/lib/bub_bot/repo.rb
CHANGED
|
@@ -53,7 +53,9 @@ class Repo
|
|
|
53
53
|
puts "Pushing #{branch} to #{remote}"
|
|
54
54
|
|
|
55
55
|
puts "about to git fetch origin for branch #{branch}"
|
|
56
|
-
git.fetch('origin', branch: branch)
|
|
56
|
+
#git.fetch('origin', branch: branch)
|
|
57
|
+
#Apparently aptible rejects pushes from shallow clones :(
|
|
58
|
+
cmd('fetch --unshallow origin')
|
|
57
59
|
puts 'about to finally push'
|
|
58
60
|
git.push(remote, "+origin/#{branch}:master")
|
|
59
61
|
puts 'Finished final push'
|
data/lib/bub_bot/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bub_bot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kevin Kuchta
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-05-
|
|
11
|
+
date: 2018-05-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rack
|