git-multirepo 1.0.0.beta64 → 1.0.0.beta65

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2acc04ac4dccb24bb4d9c4c17598005eba22f5c8
4
- data.tar.gz: dc2bd558a4824c0c98df5979895dac672cdf27d4
3
+ metadata.gz: 2e6b02fa31b56ca23a764798d1751e76d7244a8b
4
+ data.tar.gz: 20b86b72f4c6d20bd998273e2a1bb47c9ff421a3
5
5
  SHA512:
6
- metadata.gz: eeb89ea19cbf320e959b516cad97b97c7d79ad16810175d352cedea7b210dd0f0a66b0aef9dbca450017fbb8e9689a9ff32202e49b8baf9ea4333d5bac577187
7
- data.tar.gz: 2e73463a7c53bddebf27f45e0c334f8f787dcb1d7f3273c2a50bdefcb6fc13cef7334ebf524ffedfc119fd2e9d7145dbfc92582c037e0e255238ba122e660ff3
6
+ metadata.gz: 1c24d0fde49001ddb7688774309edff59e5f69604a6a18b2ef6ef8b60dfe12252de84c0cc2bbe430de24032520562ba859db80f327147aa9d61c53ba82dbc7ac
7
+ data.tar.gz: aba753409736be5182583449fcbaef65dea3fce9466b778642328c978ad8fd3d30acaaef979af2fe74d8da6bc6f7626674fc0bd824f31bc3555495da7c954938
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  To install betas run `gem install git-multirepo --pre`
4
4
 
5
+ ## 1.0.0.beta65
6
+
7
+ - **Removal:** The `graph` command was removed. It was unused and added an unnecessary dependency.
8
+
5
9
  ## 1.0.0.beta64
6
10
 
7
11
  - **Enhancement:** The branch command does not push by default anymore (helps avoid creating branches in wrong origins when setting up new projects)
data/Gemfile.lock CHANGED
@@ -1,12 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- git-multirepo (1.0.0.beta60)
4
+ git-multirepo (1.0.0.beta64)
5
5
  claide (~> 1.0.1)
6
6
  colored (~> 1.2)
7
7
  naturally (~> 2.1)
8
8
  os (~> 0.9.6)
9
- ruby-graphviz (~> 1.2.2)
10
9
  terminal-table (~> 1.7.3)
11
10
 
12
11
  GEM
@@ -30,7 +29,6 @@ GEM
30
29
  rspec-mocks (3.1.3)
31
30
  rspec-support (~> 3.1.0)
32
31
  rspec-support (3.1.2)
33
- ruby-graphviz (1.2.2)
34
32
  terminal-table (1.7.3)
35
33
  unicode-display_width (~> 1.1.1)
36
34
  unicode-display_width (1.1.3)
data/README.md CHANGED
@@ -156,7 +156,6 @@ Here is a quick rundown of commands available to you in git-multirepo:
156
156
  | checkout | Checks out the specified commit or branch of the main repo and checks out matching versions of all dependencies. |
157
157
  | clone | Clones the specified repository in a subfolder, then installs it. |
158
158
  | do | Perform an arbitrary Git operation in the main repository, dependency repositories or all repositories. |
159
- | graph | Graphs the dependency tree from the current repository. |
160
159
  | inspect | Outputs various information about multirepo-enabled repos. For use in scripting and CI scenarios. |
161
160
  | install | Clones and checks out dependencies as defined in the version-controlled multirepo metadata files and installs git-multirepo's local git hooks. Idempotent for a given main repo checkout. |
162
161
  | merge | Performs a git merge on all dependencies and the main repo, in the proper order. |
@@ -27,6 +27,5 @@ Gem::Specification.new do |spec|
27
27
  spec.add_runtime_dependency "colored", "~> 1.2"
28
28
  spec.add_runtime_dependency "os", "~> 0.9.6"
29
29
  spec.add_runtime_dependency "terminal-table", "~> 1.7.3"
30
- spec.add_runtime_dependency "ruby-graphviz", "~> 1.2.2"
31
30
  spec.add_runtime_dependency "naturally", "~> 2.1"
32
31
  end
@@ -4,7 +4,6 @@ require_relative "branch-command"
4
4
  require_relative "checkout-command"
5
5
  require_relative "clone-command"
6
6
  require_relative "do-command"
7
- require_relative "graph-command"
8
7
  require_relative "init-command"
9
8
  require_relative "inspect-command"
10
9
  require_relative "install-command"
@@ -1,5 +1,5 @@
1
1
  module MultiRepo
2
2
  NAME = "git-multirepo"
3
- VERSION = "1.0.0.beta64"
3
+ VERSION = "1.0.0.beta65"
4
4
  DESCRIPTION = "Track multiple Git repositories side-by-side."
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-multirepo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta64
4
+ version: 1.0.0.beta65
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michaël Fortin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-30 00:00:00.000000000 Z
11
+ date: 2017-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -108,20 +108,6 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: 1.7.3
111
- - !ruby/object:Gem::Dependency
112
- name: ruby-graphviz
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: 1.2.2
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: 1.2.2
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: naturally
127
113
  requirement: !ruby/object:Gem::Requirement
@@ -170,7 +156,6 @@ files:
170
156
  - lib/multirepo/commands/command.rb
171
157
  - lib/multirepo/commands/commands.rb
172
158
  - lib/multirepo/commands/do-command.rb
173
- - lib/multirepo/commands/graph-command.rb
174
159
  - lib/multirepo/commands/init-command.rb
175
160
  - lib/multirepo/commands/inspect-command.rb
176
161
  - lib/multirepo/commands/install-command.rb
@@ -239,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
239
224
  version: 1.3.1
240
225
  requirements: []
241
226
  rubyforge_project:
242
- rubygems_version: 2.5.2
227
+ rubygems_version: 2.6.11
243
228
  signing_key:
244
229
  specification_version: 4
245
230
  summary: Track multiple Git repositories side-by-side
@@ -1,43 +0,0 @@
1
- require "os"
2
- require "graphviz"
3
-
4
- require "multirepo/utility/utils"
5
- require "multirepo/utility/console"
6
- require "multirepo/logic/node"
7
-
8
- module MultiRepo
9
- class GraphCommand < Command
10
- self.command = "graph"
11
- self.summary = "Graphs the dependency tree from the current repository."
12
-
13
- def run
14
- ensure_in_work_tree
15
- ensure_multirepo_enabled
16
-
17
- root = Node.new(".")
18
- graph = GraphViz.new(:G, :type => :digraph)
19
- build_graph_recursive(graph, root)
20
-
21
- path = File.expand_path("~/Desktop/#{root.name}-graph.png")
22
-
23
- begin
24
- graph.output(:png => path)
25
- Utils.open_in_default_app(path)
26
- rescue StandardError => e
27
- Console.log_error(e.message)
28
- raise MultiRepoException, "Could not generate graph image because an error occurred during graph generation"
29
- end
30
-
31
- Console.log_step("Generated graph image #{path}")
32
- end
33
-
34
- def build_graph_recursive(graph, node)
35
- parent_graph_node = graph.add_nodes(node.name)
36
- node.children.each do |child_node|
37
- child_graph_node = graph.add_node(child_node.name)
38
- graph.add_edge(parent_graph_node, child_graph_node)
39
- build_graph_recursive(graph, child_node)
40
- end
41
- end
42
- end
43
- end