kookeeper 2.0.0 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/big +1 -1
- data/bin/koo +1 -1
- metadata +10 -104
- data/.github/ISSUE_TEMPLATE.md +0 -20
- data/.gitignore +0 -50
- data/.travis.yml +0 -19
- data/CODE_OF_CONDUCT.md +0 -46
- data/CONTRIBUTING.md +0 -70
- data/Gemfile +0 -10
- data/Gemfile.lock +0 -125
- data/LICENSE +0 -21
- data/README.md +0 -113
- data/Rakefile +0 -2
- data/big_keeper.gemspec +0 -50
- data/docs/en-US/FEATURE.md +0 -0
- data/docs/en-US/README.md +0 -54
- data/docs/zh-CN/BIGKEEPER_FILE.md +0 -84
- data/docs/zh-CN/FEATURE&HOTFIX.md +0 -88
- data/docs/zh-CN/IMAGE.md +0 -0
- data/docs/zh-CN/PODFILE.md +0 -43
- data/docs/zh-CN/README.md +0 -113
- data/docs/zh-CN/RECOMMEND.md +0 -22
- data/docs/zh-CN/RELEASE.md +0 -60
- data/docs/zh-CN/SPEC.md +0 -39
- data/lib/big_keeper/command/client.rb +0 -50
- data/lib/big_keeper/command/feature&hotfix/delete.rb +0 -40
- data/lib/big_keeper/command/feature&hotfix/finish.rb +0 -54
- data/lib/big_keeper/command/feature&hotfix/list.rb +0 -63
- data/lib/big_keeper/command/feature&hotfix/publish.rb +0 -56
- data/lib/big_keeper/command/feature&hotfix/pull.rb +0 -26
- data/lib/big_keeper/command/feature&hotfix/push.rb +0 -27
- data/lib/big_keeper/command/feature&hotfix/rebase.rb +0 -32
- data/lib/big_keeper/command/feature&hotfix/start.rb +0 -74
- data/lib/big_keeper/command/feature&hotfix/switch.rb +0 -46
- data/lib/big_keeper/command/feature&hotfix/update.rb +0 -66
- data/lib/big_keeper/command/feature&hotfix.rb +0 -167
- data/lib/big_keeper/command/image/image.rb +0 -0
- data/lib/big_keeper/command/image.rb +0 -28
- data/lib/big_keeper/command/init.rb +0 -36
- data/lib/big_keeper/command/pod/podfile.rb +0 -72
- data/lib/big_keeper/command/pod.rb +0 -55
- data/lib/big_keeper/command/release/finish.rb +0 -36
- data/lib/big_keeper/command/release/home.rb +0 -92
- data/lib/big_keeper/command/release/module.rb +0 -65
- data/lib/big_keeper/command/release/publish.rb +0 -4
- data/lib/big_keeper/command/release/start.rb +0 -78
- data/lib/big_keeper/command/release.rb +0 -100
- data/lib/big_keeper/command/spec/add.rb +0 -9
- data/lib/big_keeper/command/spec/analyze.rb +0 -88
- data/lib/big_keeper/command/spec/delete.rb +0 -9
- data/lib/big_keeper/command/spec/list.rb +0 -19
- data/lib/big_keeper/command/spec/search.rb +0 -9
- data/lib/big_keeper/command/spec/sync.rb +0 -12
- data/lib/big_keeper/command/spec.rb +0 -78
- data/lib/big_keeper/dependency/dep_gradle_operator.rb +0 -74
- data/lib/big_keeper/dependency/dep_operator.rb +0 -48
- data/lib/big_keeper/dependency/dep_pod_operator.rb +0 -130
- data/lib/big_keeper/dependency/dep_service.rb +0 -14
- data/lib/big_keeper/dependency/dep_type.rb +0 -33
- data/lib/big_keeper/model/gitflow_type.rb +0 -43
- data/lib/big_keeper/model/library_model.rb +0 -116
- data/lib/big_keeper/model/operate_type.rb +0 -30
- data/lib/big_keeper/model/podfile_model.rb +0 -33
- data/lib/big_keeper/service/git_service.rb +0 -211
- data/lib/big_keeper/service/module_service.rb +0 -224
- data/lib/big_keeper/service/stash_service.rb +0 -45
- data/lib/big_keeper/util/bigkeeper_parser.rb +0 -260
- data/lib/big_keeper/util/cache_operator.rb +0 -118
- data/lib/big_keeper/util/code_operator.rb +0 -37
- data/lib/big_keeper/util/command_line_util.rb +0 -9
- data/lib/big_keeper/util/file_operator.rb +0 -33
- data/lib/big_keeper/util/git_operator.rb +0 -242
- data/lib/big_keeper/util/gitflow_operator.rb +0 -51
- data/lib/big_keeper/util/gradle_content_generator.rb +0 -26
- data/lib/big_keeper/util/gradle_file_operator.rb +0 -339
- data/lib/big_keeper/util/gradle_module_operator.rb +0 -70
- data/lib/big_keeper/util/info_plist_operator.rb +0 -46
- data/lib/big_keeper/util/leancloud_logger.rb +0 -84
- data/lib/big_keeper/util/list_generator.rb +0 -101
- data/lib/big_keeper/util/lockfile_parser.rb +0 -143
- data/lib/big_keeper/util/logger.rb +0 -47
- data/lib/big_keeper/util/pod_operator.rb +0 -70
- data/lib/big_keeper/util/podfile_detector.rb +0 -102
- data/lib/big_keeper/util/podfile_module.rb +0 -63
- data/lib/big_keeper/util/podfile_operator.rb +0 -125
- data/lib/big_keeper/util/verify_operator.rb +0 -17
- data/lib/big_keeper/util/version_config_operator.rb +0 -29
- data/lib/big_keeper/util/xcode_operator.rb +0 -15
- data/lib/big_keeper/version.rb +0 -3
- data/lib/big_keeper.rb +0 -81
- data/resources/banner.png +0 -0
- data/resources/command.png +0 -0
- data/resources/keynote/big-keeper-readme-analyze.key +0 -0
- data/resources/keynote/big-keeper-readme-example.key +0 -0
- data/resources/keynote/big-keeper-readme-feature.key +0 -0
- data/resources/keynote/big-keeper-readme-release.key +0 -0
- data/resources/readme/big-keeper-readme.001.png +0 -0
- data/resources/template/Bigkeeper +0 -23
data/lib/big_keeper/version.rb
DELETED
data/lib/big_keeper.rb
DELETED
@@ -1,81 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'big_keeper/version'
|
4
|
-
|
5
|
-
require 'big_keeper/util/bigkeeper_parser'
|
6
|
-
require 'big_keeper/util/git_operator'
|
7
|
-
require 'big_keeper/util/verify_operator'
|
8
|
-
|
9
|
-
require 'big_keeper/model/gitflow_type'
|
10
|
-
|
11
|
-
require 'big_keeper/command/feature&hotfix'
|
12
|
-
require 'big_keeper/command/release'
|
13
|
-
require 'big_keeper/command/pod'
|
14
|
-
require 'big_keeper/command/spec'
|
15
|
-
require 'big_keeper/command/image'
|
16
|
-
require 'big_keeper/command/init'
|
17
|
-
require 'big_keeper/command/client'
|
18
|
-
require 'big_keeper/service/git_service'
|
19
|
-
require 'big_keeper/util/leancloud_logger'
|
20
|
-
|
21
|
-
require 'gli'
|
22
|
-
|
23
|
-
include GLI::App
|
24
|
-
|
25
|
-
module BigKeeper
|
26
|
-
# Your code goes here...
|
27
|
-
program_desc 'Efficiency improvement for iOS&Android module development, iOSer&Android using this tool can make module development easier.'
|
28
|
-
|
29
|
-
flag %i[p path], default_value: './'
|
30
|
-
flag %i[v ver], default_value: 'Version in Bigkeeper file'
|
31
|
-
flag %i[u user], default_value: GitOperator.new.user
|
32
|
-
flag %i[l log], default_value: true
|
33
|
-
|
34
|
-
if VerifyOperator.already_in_process?
|
35
|
-
p %Q(There is another 'big' command in process, please wait)
|
36
|
-
exit
|
37
|
-
end
|
38
|
-
|
39
|
-
if !GitflowOperator.new.verify_git_flow_command
|
40
|
-
p %Q('git-flow' not found, use 'brew install git-flow' to install it)
|
41
|
-
exit
|
42
|
-
end
|
43
|
-
|
44
|
-
# pre do |global_options, command, options, args|
|
45
|
-
# LeanCloudLogger.instance.start_log(global_options, args)
|
46
|
-
# end
|
47
|
-
#
|
48
|
-
# post do |global_options, command, options, args|
|
49
|
-
# is_show_log = true
|
50
|
-
# if global_options[:log] == 'true'
|
51
|
-
# is_show_log = false
|
52
|
-
# end
|
53
|
-
# LeanCloudLogger.instance.end_log(true, is_show_log)
|
54
|
-
# end
|
55
|
-
|
56
|
-
feature_and_hotfix_command(GitflowType::FEATURE)
|
57
|
-
|
58
|
-
feature_and_hotfix_command(GitflowType::HOTFIX)
|
59
|
-
|
60
|
-
release_command
|
61
|
-
|
62
|
-
pod_command
|
63
|
-
|
64
|
-
spec_command
|
65
|
-
|
66
|
-
image_command
|
67
|
-
|
68
|
-
init_command
|
69
|
-
|
70
|
-
client_command
|
71
|
-
|
72
|
-
desc 'Show version of bigkeeper'
|
73
|
-
command :version do |version|
|
74
|
-
version.action do |global_options, options, args|
|
75
|
-
LeanCloudLogger.instance.set_command("version")
|
76
|
-
p "bigkeeper (#{VERSION})"
|
77
|
-
end
|
78
|
-
end
|
79
|
-
|
80
|
-
exit run(ARGV)
|
81
|
-
end
|
data/resources/banner.png
DELETED
Binary file
|
data/resources/command.png
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# TEMPLATE FOR BIGKEEPER
|
2
|
-
# PLEASE CHANGE THE CONTENT FOR YOUR PROJECT
|
3
|
-
# REMEMBER DELETE THESE TIPS
|
4
|
-
|
5
|
-
# version '0.0.1'
|
6
|
-
|
7
|
-
# home 'BigkeeperMain', :git => 'git@github.com:BigKeeper/BigKeeperMain.git', :pulls => 'https://github.com/BigKeeper/BigKeeperMain/pulls'
|
8
|
-
|
9
|
-
# source 'git@github.com:CocoaPods/Specs.git, CocoaPods' do
|
10
|
-
# modules do
|
11
|
-
# mod 'BigKeeperUserCenterModule', :git => 'git@github.com:BigKeeper/BigKeeperUserCenterModule.git', :pulls => 'https://github.com/BigKeeper/BigKeeperUserCenterModule/pulls'
|
12
|
-
# mod 'BigKeeperOrderModule', :git => 'git@github.com:BigKeeper/BigKeeperOrderModule.git', :pulls => 'https://github.com/BigKeeper/BigKeeperOrderModule/pulls'
|
13
|
-
# end
|
14
|
-
# end
|
15
|
-
|
16
|
-
|
17
|
-
# user 'perry' do
|
18
|
-
# mod 'BigKeeperModular', :path => '../BigKeeperModular'
|
19
|
-
# end
|
20
|
-
|
21
|
-
# user 'tom' do
|
22
|
-
# mod 'BigKeeperModular', :path => '../BigKeeperModular'
|
23
|
-
# end
|