takeltau 0.35.12 → 0.36.1

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: 687dfd0bf4c599e31749250c27416d121141688698127647301eaeada8d840a7
4
- data.tar.gz: '01487d8cb0f8d59e9749c0e76c655b35f6ad35ea23ad82d21c5734319470636c'
3
+ metadata.gz: 401a6ec84063daaad2d0b2ba91232b5d3f0322a2675ecc61eef9998d22867378
4
+ data.tar.gz: c79e35f420922cd660ea5e80504f6cb909b4387aedefa7fffeb3db97c6d4c847
5
5
  SHA512:
6
- metadata.gz: a6465cf6ce9e5b6c5f597bcdd9e9ba22e55a28aa2b21f308760f10fa4e7622462044605ddb0d7148a8a4a497593d7b3d8ffffc2c17f9b613706ee3ef2b3e91d2
7
- data.tar.gz: 1d3332d3afc1562cedabe046cde12364257f9a5669257ab2c1a647e04b65bfd425ae1b521933a7fbd97bf52bb084a8158ec2ae9456d75cf607f9b82ea6ed2ce5
6
+ metadata.gz: ff29b7c25e3955263a0bd1d0fa74f1ee5e43af8759d1d6daf3680084659aaae8c9610976e73524eea1d875738b161b2abaa7e9a0bff1c478dc33ddf945cd6b1a
7
+ data.tar.gz: 7e5fc47759b9488e4f18019cce0eaf2221864ba7a08b8ab70dc3279eaa2f975a64f7e93130f305256c4f8a868f8960fed27d96a1940b436098af3c151afb6623
data/README.md CHANGED
@@ -21,24 +21,26 @@ command line script using the
21
21
  | --- | -------- |
22
22
  | *[takelage-doc](https://github.com/takelwerk/takelage-doc)* | [![License](https://img.shields.io/github/license/takelwerk/takelage-doc?color=blueviolet)](https://github.com/takelwerk/takelage-doc/blob/main/LICENSE) |
23
23
  | *[takelage-dev](https://github.com/takelwerk/takelage-dev)* | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelage/latest?label=hub.docker.com&sort=semver&color=blue)](https://hub.docker.com/r/takelwerk/takelage) |
24
+ | *[takelage-pad](https://github.com/takelwerk/takelage-pad)* | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelpad/latest?label=hub.docker.com&sort=semver&color=blue)](https://hub.docker.com/r/takelwerk/takelpad) |
24
25
  | *[takelage-cli](https://github.com/takelwerk/takelage-cli)* | [![rubygems.org](https://img.shields.io/gem/v/takeltau?label=rubygems.org&color=blue)](https://rubygems.org/gems/takeltau) |
25
26
  | *[takelage-var](https://github.com/takelwerk/takelage-var)* | [![pypi,org](https://img.shields.io/pypi/v/pytest-takeltest?label=pypi.org&color=blue)](https://pypi.org/project/pytest-takeltest/) |
26
- | *[takelage-bit](https://github.com/takelwerk/takelage-bit)* | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/bitboard/latest?label=hub.docker.com&sort=semver&color=blue)](https://hub.docker.com/r/takelwerk/bitboard) |
27
27
  | *[takelage-img-takelslim](https://github.com/takelwerk/takelage-img-takelslim)* | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelslim/latest?label=hub.docker.com&color=blue)](https://hub.docker.com/r/takelwerk/takelslim) |
28
28
  | *[takelage-img-takelbase](https://github.com/takelwerk/takelage-img-takelbase)* | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelbase/latest?label=hub.docker.com&color=blue)](https://hub.docker.com/r/takelwerk/takelbase) |
29
29
  | *[takelage-img-takelruby](https://github.com/takelwerk/takelage-img-takelruby)* | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelruby/latest?label=hub.docker.com&color=blue)](https://hub.docker.com/r/takelwerk/takelruby) |
30
+ | *[takelage-vbox-takelbase](https://github.com/takelwerk/takelage-vbox-takelbase)* | [![vagrantup.com](https://img.shields.io/badge/vagrantup.com-debian--bullseye-blue)](https://app.vagrantup.com/takelwerk/boxes/takelbase) |
30
31
 
31
32
  ## Framework Status
32
33
 
33
- | App | Deploy project | Test project | Test roles |
34
- | --- | -------------- | ------------ | ---------- |
34
+ | App | Deploy project | Test project | Test roles | Deploy vbox |
35
+ | --- | -------------- | ------------ | ---------- | ----------- |
35
36
  | *[takelage-dev](https://github.com/takelwerk/takelage-dev)* | [![deploy project](https://img.shields.io/github/workflow/status/takelwerk/takelage-dev/Build,%20test%20and%20deploy%20project?label=deploy%20project)](https://github.com/takelwerk/takelage-dev/actions/workflows/build_test_deploy_project_on_push.yml) | [![test project](https://img.shields.io/github/workflow/status/takelwerk/takelage-dev/Build%20and%20test%20project?label=test%20project)](https://github.com/takelwerk/takelage-dev/actions/workflows/build_test_project_nightly.yml) | [![test roles](https://img.shields.io/github/workflow/status/takelwerk/takelage-dev/Test%20roles?label=test%20roles)](https://github.com/takelwerk/takelage-dev/actions/workflows/build_test_roles_nightly.yml) |
37
+ | *[takelage-pad](https://github.com/takelwerk/takelage-pad)* | [![deploy project](https://img.shields.io/github/workflow/status/takelwerk/takelage-pad/Build,%20test%20and%20deploy%20project%20to%20dockerhub?label=deploy%20project)](https://github.com/takelwerk/takelage-pad/actions/workflows/build_test_deploy_project_on_push.yml) | [![test project](https://img.shields.io/github/workflow/status/takelwerk/takelage-pad/Build%20and%20test%20project?label=test%20project)](https://github.com/takelwerk/takelage-pad/actions/workflows/build_test_project_nightly.yml) | [![test roles](https://img.shields.io/github/workflow/status/takelwerk/takelage-pad/Build%20and%20test%20roles?label=test%20roles)](https://github.com/takelwerk/takelage-pad/actions/workflows/build_test_roles_nightly.yml) | [![deploy vbox](https://img.shields.io/github/workflow/status/takelwerk/takelage-pad/Build%20and%20deploy%20project%20vbox%20to%20vagrantup?label=deploy%20vbox)](https://github.com/takelwerk/takelage-pad/actions/workflows/build_deploy_project_vbox_on_push.yml) |
36
38
  | *[takelage-cli](https://github.com/takelwerk/takelage-cli)* | [![deploy project](https://img.shields.io/github/workflow/status/takelwerk/takelage-cli/Build,%20test%20and%20deploy%20project?label=deploy%20project)](https://github.com/takelwerk/takelage-cli/actions/workflows/build_test_deploy_project_on_push.yml) | [![test project](https://img.shields.io/github/workflow/status/takelwerk/takelage-cli/Test%20project?label=test%20project)](https://github.com/takelwerk/takelage-cli/actions/workflows/test_project_nightly.yml) |
37
39
  | *[takelage-var](https://github.com/takelwerk/takelage-var)* | [![deploy project](https://img.shields.io/github/workflow/status/takelwerk/takelage-var/Build,%20test%20and%20deploy%20project?label=deploy%20project)](https://github.com/takelwerk/takelage-var/actions/workflows/build_test_deploy_project_on_push.yml) | [![test project](https://img.shields.io/github/workflow/status/takelwerk/takelage-var/Build%20and%20test%20project?label=test%20project)](https://github.com/takelwerk/takelage-var/actions/workflows/build_test_project_nightly.yml) |
38
- | *[takelage-bit](https://github.com/takelwerk/takelage-bit)* | [![deploy project](https://img.shields.io/github/workflow/status/takelwerk/takelage-bit/Build,%20test%20and%20deploy%20project?label=deploy%20project)](https://github.com/takelwerk/takelage-bit/actions/workflows/build_test_deploy_project_on_push.yml) | [![test project](https://img.shields.io/github/workflow/status/takelwerk/takelage-bit/Build%20and%20test%20project?label=test%20project)](https://github.com/takelwerk/takelage-bit/actions/workflows/build_test_project_nightly.yml) | [![test roles](https://img.shields.io/github/workflow/status/takelwerk/takelage-bit/Test%20roles?label=test%20roles)](https://github.com/takelwerk/takelage-bit/actions/workflows/build_test_roles_nightly.yml) |
39
40
  | *[takelage-img-takelslim](https://github.com/takelwerk/takelage-img-takelslim)* | [![deploy project](https://img.shields.io/github/workflow/status/takelwerk/takelage-img-takelslim/Build%20and%20deploy%20takelslim?label=deploy%20project)](https://github.com/takelwerk/takelage-img-takelslim/actions/workflows/build_deploy_takelslim_nightly.yml) |
40
41
  | *[takelage-img-takelbase](https://github.com/takelwerk/takelage-img-takelbase)* | [![deploy project](https://img.shields.io/github/workflow/status/takelwerk/takelage-img-takelbase/Build%20and%20deploy%20takelbase?label=deploy%20project)](https://github.com/takelwerk/takelage-img-takelbase/actions/workflows/build_deploy_takelbase_nightly.yml) |
41
42
  | *[takelage-img-takelruby](https://github.com/takelwerk/takelage-img-takelruby)* | [![deploy project](https://img.shields.io/github/workflow/status/takelwerk/takelage-img-takelruby/Build%20and%20deploy%20takelruby%20latest?label=deploy%20project)](https://github.com/takelwerk/takelage-img-takelruby/actions/workflows/build_deploy_takelruby_nightly.yml) |
43
+ | *[takelage-vbox-takelbase](https://github.com/takelwerk/takelage-vbox-takelbase)* | [![deploy project](https://img.shields.io/github/workflow/status/takelwerk/takelage-vbox-takelbase/Build%20and%20deploy%20project?label=deploy%20project)](https://github.com/takelwerk/takelage-vbox-takelbase/actions/workflows/build_and_deploy_project_nightly.yml) | | | [![deploy vbox](https://img.shields.io/github/workflow/status/takelwerk/takelage-vbox-takelbase/Build%20and%20deploy%20project?label=deploy%20vbox)](https://github.com/takelwerk/takelage-vbox-takelbase/actions/workflows/build_and_deploy_project_nightly.yml) |
42
44
 
43
45
  ## Installation
44
46
 
@@ -65,17 +67,6 @@ or *tau list*:
65
67
 
66
68
  Command | Description
67
69
  ------- | -----------
68
- tau [bit check workspace](features/cucumber/features/bit/bit.check.workspace.feature) | Check if a bit workspace exists
69
- tau [bit clipboard copy](features/cucumber/features/bit/bit.clipboard.copy.feature) [DIR] [SCOPE] | Copy new [DIR] to [SCOPE]
70
- tau [bit clipboard paste](features/cucumber/features/bit/bit.clipboard.paste.feature) [COMPONENT] [DIR] | Paste bit [COMPONENT] into [DIR]
71
- tau [bit clipboard pull](features/cucumber/features/bit/bit.clipboard.pull.feature) | Pull all updates for bit components from bit remote scopes
72
- tau [bit clipboard push](features/cucumber/features/bit/bit.clipboard.push.feature) | Push all updates of bit components to bit remote scopes
73
- tau [bit require export](features/cucumber/features/bit/bit.require.export.feature) | Show requirements file of bit components
74
- tau [bit require import](features/cucumber/features/bit/bit.require.import.feature) | Import bit components from requirements file
75
- tau [bit scope add](features/cucumber/features/bit/bit.scope.add.feature) [SCOPE] | Add a bit [SCOPE]
76
- tau [bit scope ssh](features/cucumber/features/bit/bit.scope.ssh.feature) | Log in to bit remote server
77
- tau [bit scope list](features/cucumber/features/bit/bit.scope.list.feature) | List bit remote scopes
78
- tau [bit scope new](features/cucumber/features/bit/bit.scope.new.feature) [SCOPE] | Init a new bit [SCOPE]
79
70
  tau [completion bash](features/cucumber/features/completion/completion.bash.feature) | Print bash completion code
80
71
  tau [docker check daemon](features/cucumber/features/docker/docker.check.daemon.feature) | Check if docker daemon is running
81
72
  tau [docker container check existing](features/cucumber/features/docker/docker.container.check.existing.feature) [CONTAINER] | Check if docker [CONTAINER] is existing
@@ -91,8 +82,11 @@ tau [docker image tag latest](features/cucumber/features/docker/docker.image.tag
91
82
  tau [docker image tag list](features/cucumber/features/docker/docker.image.tag.list.feature) | Print local docker image tags
92
83
  tau [docker image update](features/cucumber/features/docker/docker.image.update.feature) | Get latest remote docker container
93
84
  tau [git check clean](features/cucumber/features/git/git.check.clean.feature) | Check if the git workspace is clean
94
- tau [git check bit](features/cucumber/features/git/git.check.bit.feature) | Check if we are on the git bit branch
85
+ tau [git check hg](features/cucumber/features/git/git.check.hg.feature) | Check if we are on the git hg branch
95
86
  tau [git check workspace](features/cucumber/features/git/git.check.workspace.feature) | Check if a git workspace exists
87
+ tau [hg list](features/cucumber/features/hg/hg.list.feature) | List hg repos
88
+ tau [hg pull](features/cucumber/features/hg/hg.pull.feature) | Pull hg repos
89
+ tau [hg push](features/cucumber/features/hg/hg.push.feature) | Push hg repos
96
90
  tau [info project active](features/cucumber/features/info/info.project.active.feature) | Print active project info
97
91
  tau [info project dir](features/cucumber/features/info/info.project.dir.feature) | Print project root directory
98
92
  tau [info project main](features/cucumber/features/info/info.project.main.feature) | Print main project info
@@ -114,18 +108,14 @@ tau [self config active](features/cucumber/features/self/self.config.active.feat
114
108
  tau [self config default](features/cucumber/features/self/self.config.default.feature) | Print takelage default configuration
115
109
  tau [self config home](features/cucumber/features/self/self.config.home.feature) | Print takelage home config file configuration
116
110
  tau [self config project](features/cucumber/features/self/self.config.project.feature) | Print takelage project config file configuration
117
- tau [self list](features/cucumber/features/self/self.list.feature) | List all commands
111
+ tau [self commands](features/cucumber/features/self/self.commands.feature) | List all commands
118
112
  tau [self version](features/cucumber/features/self/self.version.feature) | Print tau semantic version number
119
113
  tau clean | Alias for tau [docker container clean](features/cucumber/features/docker/docker.container.clean.feature)
120
114
  tau config | Alias for tau [self config active](features/cucumber/features/self/self.config.active.feature)
121
- tau copy [DIR] [SCOPE] | Alias for tau [bit clipboard copy](features/cucumber/features/bit/bit.clipboard.copy.feature)
122
- tau list | Alias for tau [self list](features/cucumber/features/self/self.list.feature)
115
+ tau commands | Alias for tau [self commands](features/cucumber/features/self/self.commands.feature)
123
116
  tau login | Alias for tau [docker container login](features/cucumber/features/docker/docker.container.login.feature)
124
- tau paste [COMPONENT] [DIR] | Alias for tau [bit clipboard paste](features/cucumber/features/bit/bit.clipboard.paste.feature)
125
117
  tau project | Alias for tau [info project active](features/cucumber/features/info/info.project.active.feature)
126
118
  tau prune | Alias for tau [docker container prune](features/cucumber/features/docker/docker.container.prune.feature)
127
- tau pull | Alias for tau [bit clipboard pull](features/cucumber/features/bit/bit.clipboard.pull.feature)
128
- tau push | Alias for tau [bit clipboard push](features/cucumber/features/bit/bit.clipboard.push.feature)
129
119
  tau status | Alias for tau [docker info status bar](features/cucumber/features/info/info.status.bar.feature)
130
120
  tau update | Alias for tau [docker image update](features/cucumber/features/docker/docker.image.update.feature)
131
121
  tau version | Alias for tau [self version](features/cucumber/features/self/self.version.feature)
@@ -155,12 +145,11 @@ Please remember that a project directory is identified by the main
155
145
  ### Configuration Examples
156
146
 
157
147
  - You should add the following configuration items in your *~/.takelage.yml*
158
- if you want to use a private bit remote server:
148
+ if you want to use the *takelbeta* docker image channel:
159
149
 
160
150
  ```yaml
161
151
  ---
162
- bit_remote: 'ssh://bit@bit.example.com:222:/bit'
163
- bit_ssh: 'ssh -p 222 bit@bit.example.com'
152
+ docker_repo: takelbeta
164
153
  ```
165
154
 
166
155
  - If you want to pin a specific docker tag for one of your projects
@@ -229,9 +218,3 @@ You need to whitelist it in your host's docker engine configuration:
229
218
  ]
230
219
  }
231
220
  ```
232
-
233
- *takelage-cli* deploys a
234
- *[bitboard](https://hub.docker.com/r/takelwerk/bitboard)*
235
- server created with
236
- *[takelage-bit](https://github.com/takelwerk/takelage-bit)*
237
- to end-to-end test the *tau bit* commands.
@@ -27,9 +27,9 @@ cmd_git_lib_git_add_all: 'git add --all'
27
27
  cmd_git_lib_git_commit: 'git commit --message="%{message}"'
28
28
  cmd_git_lib_git_pull_origin: 'git pull origin %{main}'
29
29
  cmd_git_lib_git_push_origin: 'git push origin %{main}'
30
- cmd_hg_export_repos: 'cd %{root}; find * -type d -name ".hg" | parallel hg paths default -R {//} -T "hg\ clone\ {url}\ " \; echo {//}'
31
- cmd_hg_pull_repos: 'cd %{root}; find * -type d -name ".hg" -print0 | parallel -0 echo \; cd {//} \; pwd \; hg pull \; hg update'
32
- cmd_hg_push_repos: 'cd %{root}; find * -type d -name ".hg" -print0 | parallel -0 echo \; cd {//} \; pwd \; hg add \; hg commit -m "Update\ hg\ repos" \; hg bookmark -f main \; hg push'
30
+ cmd_hg_list_repos: 'cd %{root}; find * -type d -name ".hg" | parallel -k hg paths default -R {//} -T "hg\ clone\ {url}\ " \; echo {//}'
31
+ cmd_hg_pull_repos: 'cd %{root}; find * -type d -name ".hg" | parallel -k echo \; cd {//} \; pwd \; hg pull --update'
32
+ cmd_hg_push_repos: 'cd %{root}; find * -type d -name ".hg" | parallel -k echo \; cd {//} \; pwd \; hg commit --addremove --message "Update\ hg\ repos" \; hg bookmark -f main \; hg push'
33
33
  cmd_info_status_lib_git_name: 'git -C %{root} config user.name'
34
34
  cmd_info_status_lib_git_email: 'git -C %{root} config user.email'
35
35
  cmd_info_status_lib_git_signingkey: 'git -C %{root} config user.signingKey'
@@ -10,20 +10,20 @@ module Takeltau
10
10
  include GitCheckHg
11
11
  include GitCheckWorkspace
12
12
  include GitLib
13
- include HgExport
13
+ include HgList
14
14
  include HgPull
15
15
  include HgPush
16
16
 
17
17
  #
18
- # hg export
18
+ # hg list
19
19
  #
20
- desc 'export', 'Export hg repos'
20
+ desc 'list', 'List hg repos'
21
21
  long_desc <<-LONGDESC.gsub("\n", "\x5")
22
- Export hg repos
22
+ List hg repos
23
23
  LONGDESC
24
- # Export hg repos.
25
- def export
26
- hgclone = hg_export
24
+ # List hg repos.
25
+ def list
26
+ hgclone = hg_list
27
27
  exit false if hgclone == false
28
28
  say hgclone
29
29
  true
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ # tau hg list
4
+ module HgList
5
+ # Backend method for hg list.
6
+ def hg_list
7
+ log.debug 'List hg repos'
8
+
9
+ return false unless configured? %w[project_root_dir]
10
+
11
+ cmd_hg_list_repos = format(
12
+ config.active['cmd_hg_list_repos'],
13
+ root: config.active['project_root_dir']
14
+ )
15
+
16
+ run cmd_hg_list_repos
17
+ end
18
+ end
@@ -24,7 +24,8 @@ module HgPull
24
24
  return false
25
25
  end
26
26
 
27
- _hg_pull_hg_pull_repos
27
+ log.info _hg_pull_hg_pull_repos
28
+ true
28
29
  end
29
30
  # rubocop:enable Metrics/MethodLength
30
31
 
@@ -37,9 +38,6 @@ module HgPull
37
38
  root: config.active['project_root_dir']
38
39
  )
39
40
 
40
- return true if try cmd_hg_pull_repos
41
-
42
- log.error 'Unable to pull hg repos'
43
- false
41
+ run cmd_hg_pull_repos
44
42
  end
45
43
  end
@@ -21,10 +21,6 @@ module Takeltau
21
21
  # initialize thor parent class
22
22
  super args, local_options, configuration
23
23
 
24
- @ansiblelint = {
25
- name: 'ansible/.ansible-lint',
26
- template: 'templates/ansiblelint.tt'
27
- }
28
24
  @gitignore = {
29
25
  name: '.gitignore',
30
26
  template: '../templates/gitignore.tt'
@@ -28,7 +28,6 @@ module InitPackerDocker
28
28
  # Add templates.
29
29
  def _init_packer_docker_files_get
30
30
  [
31
- @ansiblelint,
32
31
  @gitignore,
33
32
  @groupvarsprojectyml,
34
33
  @hgclone,
@@ -7,23 +7,23 @@ module Takeltau
7
7
  # tau self
8
8
  class Self < SubCommandBase
9
9
  include LoggingModule
10
- include SelfList
10
+ include SelfCommands
11
11
 
12
12
  desc 'config [COMMAND]', 'Manage takeltau configuration'
13
13
  subcommand 'config', SelfConfig
14
14
 
15
15
  #
16
- # self list
16
+ # self commands
17
17
  #
18
- desc 'list', 'List all commands'
18
+ desc 'commands', 'List all commands'
19
19
  long_desc <<-LONGDESC.gsub("\n", "\x5")
20
20
  List all commands
21
21
  LONGDESC
22
22
  # List all commands.
23
- def list
24
- list = self_list
25
- exit false if list == false
26
- say list
23
+ def commands
24
+ commands = self_commands
25
+ exit false if commands == false
26
+ say commands
27
27
  true
28
28
  end
29
29
 
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # tau self list
4
- module SelfList
5
- # Backend method for config self.
6
- def self_list
3
+ # tau self commands
4
+ module SelfCommands
5
+ # Backend method for config self commands.
6
+ def self_commands
7
7
  _manipulate_output_(_get_thor_list_)
8
8
  end
9
9
 
@@ -26,10 +26,10 @@ module SelfList
26
26
 
27
27
  # Manipulate output of thor list command.
28
28
  def _manipulate_output_(thor_list)
29
- tau_list = thor_list.gsub("takeltau\n", '')
30
- tau_list.gsub!("------\n", '')
31
- tau_list.gsub!('thor ', 'tau ')
32
- tau_list.gsub!(/(.*)takeltau:c_l_i:(.*)#(.*)/, '\1\2 #\3')
33
- tau_list.gsub!(/.*COMMAND.*\n/, '')
29
+ tau_commands = thor_list.gsub("takeltau\n", '')
30
+ tau_commands.gsub!("------\n", '')
31
+ tau_commands.gsub!('thor ', 'tau ')
32
+ tau_commands.gsub!(/(.*)takeltau:c_l_i:(.*)#(.*)/, '\1\2 #\3')
33
+ tau_commands.gsub!(/.*COMMAND.*\n/, '')
34
34
  end
35
35
  end
data/lib/takeltau/version CHANGED
@@ -1 +1 @@
1
- 0.35.12
1
+ 0.36.1
data/lib/takeltau.rb CHANGED
@@ -27,7 +27,7 @@ require_relative 'takeltau/git/check/workspace'
27
27
  require_relative 'takeltau/git/check/cli'
28
28
  require_relative 'takeltau/git/lib'
29
29
  require_relative 'takeltau/git/cli'
30
- require_relative 'takeltau/hg/export'
30
+ require_relative 'takeltau/hg/list'
31
31
  require_relative 'takeltau/hg/pull'
32
32
  require_relative 'takeltau/hg/push'
33
33
  require_relative 'takeltau/hg/cli'
@@ -76,7 +76,7 @@ require_relative 'takeltau/info/status/cli'
76
76
  require_relative 'takeltau/info/project/cli'
77
77
  require_relative 'takeltau/info/cli'
78
78
  require_relative 'takeltau/self/config/cli'
79
- require_relative 'takeltau/self/list'
79
+ require_relative 'takeltau/self/commands'
80
80
  require_relative 'takeltau/self/cli'
81
81
 
82
82
  # Facilitate the takelage devops workflow.
@@ -171,10 +171,10 @@ module Takeltau
171
171
  Takeltau::DockerContainer.new.login
172
172
  end
173
173
 
174
- desc 'list', 'Alias for tau self list'
175
- # tau version: {Takeltau::Self#list}
176
- def list
177
- Takeltau::Self.new.list
174
+ desc 'commands', 'Alias for tau self commands'
175
+ # tau version: {Takeltau::Self#commands}
176
+ def commands
177
+ Takeltau::Self.new.commands
178
178
  end
179
179
 
180
180
  desc 'project', 'Alias for tau info project active'
@@ -189,18 +189,6 @@ module Takeltau
189
189
  Takeltau::DockerContainer.new.prune
190
190
  end
191
191
 
192
- desc 'pull', 'Alias for tau hg pull'
193
- # tau pull: {Takeltau::Hg#pull}
194
- def pull
195
- Takeltau::Hg.new.pull
196
- end
197
-
198
- desc 'push', 'Alias for tau hg push'
199
- # tau push: {Takeltau::Hg#push}
200
- def push
201
- Takeltau::Hg.new.push
202
- end
203
-
204
192
  desc 'status', 'Alias for tau info status bar'
205
193
  # tau status: {Takeltau::InfoStatus#bar}
206
194
  def status
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: takeltau
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.12
4
+ version: 0.36.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takelwerk
@@ -234,7 +234,7 @@ files:
234
234
  - lib/takeltau/git/cli.rb
235
235
  - lib/takeltau/git/lib.rb
236
236
  - lib/takeltau/hg/cli.rb
237
- - lib/takeltau/hg/export.rb
237
+ - lib/takeltau/hg/list.rb
238
238
  - lib/takeltau/hg/pull.rb
239
239
  - lib/takeltau/hg/push.rb
240
240
  - lib/takeltau/info/cli.rb
@@ -250,7 +250,6 @@ files:
250
250
  - lib/takeltau/init/lib.rb
251
251
  - lib/takeltau/init/packer/cli.rb
252
252
  - lib/takeltau/init/packer/docker.rb
253
- - lib/takeltau/init/packer/templates/ansiblelint.tt
254
253
  - lib/takeltau/init/packer/templates/groupvarsprojectyml.tt
255
254
  - lib/takeltau/init/packer/templates/hgclone.tt
256
255
  - lib/takeltau/init/packer/templates/playbooksiteyml.tt
@@ -276,8 +275,8 @@ files:
276
275
  - lib/takeltau/mutagen/socket/terminate.rb
277
276
  - lib/takeltau/mutagen/socket/tidy.rb
278
277
  - lib/takeltau/self/cli.rb
278
+ - lib/takeltau/self/commands.rb
279
279
  - lib/takeltau/self/config/cli.rb
280
- - lib/takeltau/self/list.rb
281
280
  - lib/takeltau/version
282
281
  homepage: https://github.com/takelwerk/takelage-cli
283
282
  licenses:
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # tau hg export
4
- module HgExport
5
- # Backend method for hg export.
6
- def hg_export
7
- log.debug 'Export hg repos'
8
-
9
- return false unless configured? %w[project_root_dir]
10
-
11
- cmd_hg_export_repos = format(
12
- config.active['cmd_hg_export_repos'],
13
- root: config.active['project_root_dir']
14
- )
15
-
16
- run cmd_hg_export_repos
17
- end
18
- end
@@ -1,3 +0,0 @@
1
- ---
2
- skip_list:
3
- - role-name