bub_bot 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e46f28dae2da4fd8ddc777a68a23536ca6a77cbe4da07f538b0908a8679448cc
4
- data.tar.gz: c8ff0a9cdd6fb1a1479b4891dcdbb3444ce889c746663aaaeadfc68298671c5e
3
+ metadata.gz: 45ce87df393b6f35cd33a2fc3dd40b6bba9521d1b7baf0dd7a668bdf83738338
4
+ data.tar.gz: da4ecda71ae3431b12f5a8129e9bdbaea16f82d4c0708121a488c5e83df4c3a0
5
5
  SHA512:
6
- metadata.gz: 07e57136200bd7ff6fea695d8a38c148c98f6bc65068b3c2a980f08df2896f894c9658c0d4f0b97073244b1cc8efad0bb762c4c4e9eb215cf6b31b1d3d626d56
7
- data.tar.gz: 64ce4ad63619efa70bb7b8f029ef12b477096fc70ff59b773f67d2719339579fdeaa476be9a41dbc41296b0790aee9af442cbc8f1ba7d8a5f98a07f08a2090e2
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'
@@ -1,3 +1,3 @@
1
1
  module BubBot
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
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.5
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-09 00:00:00.000000000 Z
11
+ date: 2018-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack