takeltau 0.35.12 → 0.35.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -27
- data/lib/takeltau/default.yml +2 -2
- data/lib/takeltau/hg/pull.rb +3 -5
- data/lib/takeltau/version +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c53b409dab198ff79a1a7263e72e117489f9c12936f43af82610ec45f6eff092
|
4
|
+
data.tar.gz: ce00f38a55ea35ba743b9720d151faa525fb1df0488a0b0fdb7690123f05cd12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4e64776b363c093548674e7a7af3ecdeb5aa41bac4f52e0e7f1311ef35ef0d00c0ea948b95c00ad4ce7cac7424136cf32ad66455d13bce0f9a3c9374c3066fe
|
7
|
+
data.tar.gz: f1f6d60ed7c4dfbb3b6d1d77342e94dc2b625e3d7b92a07af4b6e3f5546c624a15b5dad1c6ecf67422a781e560fb32b0f2d26ab2068ee7701a35f3a47d673786
|
data/README.md
CHANGED
@@ -23,7 +23,6 @@ command line script using the
|
|
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
24
|
| *[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
25
|
| *[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
26
|
| *[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
27
|
| *[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
28
|
| *[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) |
|
@@ -35,7 +34,6 @@ command line script using the
|
|
35
34
|
| *[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) |
|
36
35
|
| *[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
36
|
| *[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
37
|
| *[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
38
|
| *[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
39
|
| *[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) |
|
@@ -65,17 +63,6 @@ or *tau list*:
|
|
65
63
|
|
66
64
|
Command | Description
|
67
65
|
------- | -----------
|
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
66
|
tau [completion bash](features/cucumber/features/completion/completion.bash.feature) | Print bash completion code
|
80
67
|
tau [docker check daemon](features/cucumber/features/docker/docker.check.daemon.feature) | Check if docker daemon is running
|
81
68
|
tau [docker container check existing](features/cucumber/features/docker/docker.container.check.existing.feature) [CONTAINER] | Check if docker [CONTAINER] is existing
|
@@ -91,8 +78,11 @@ tau [docker image tag latest](features/cucumber/features/docker/docker.image.tag
|
|
91
78
|
tau [docker image tag list](features/cucumber/features/docker/docker.image.tag.list.feature) | Print local docker image tags
|
92
79
|
tau [docker image update](features/cucumber/features/docker/docker.image.update.feature) | Get latest remote docker container
|
93
80
|
tau [git check clean](features/cucumber/features/git/git.check.clean.feature) | Check if the git workspace is clean
|
94
|
-
tau [git check
|
81
|
+
tau [git check hg](features/cucumber/features/git/git.check.hg.feature) | Check if we are on the git hg branch
|
95
82
|
tau [git check workspace](features/cucumber/features/git/git.check.workspace.feature) | Check if a git workspace exists
|
83
|
+
tau [hg export](features/cucumber/features/hg/hg.export.feature) | Export hg repos
|
84
|
+
tau [hg pull](features/cucumber/features/hg/hg.pull.feature) | Pull hg repos
|
85
|
+
tau [hg push](features/cucumber/features/hg/hg.push.feature) | Push hg repos
|
96
86
|
tau [info project active](features/cucumber/features/info/info.project.active.feature) | Print active project info
|
97
87
|
tau [info project dir](features/cucumber/features/info/info.project.dir.feature) | Print project root directory
|
98
88
|
tau [info project main](features/cucumber/features/info/info.project.main.feature) | Print main project info
|
@@ -118,14 +108,12 @@ tau [self list](features/cucumber/features/self/self.list.feature) | List all co
|
|
118
108
|
tau [self version](features/cucumber/features/self/self.version.feature) | Print tau semantic version number
|
119
109
|
tau clean | Alias for tau [docker container clean](features/cucumber/features/docker/docker.container.clean.feature)
|
120
110
|
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
111
|
tau list | Alias for tau [self list](features/cucumber/features/self/self.list.feature)
|
123
112
|
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
113
|
tau project | Alias for tau [info project active](features/cucumber/features/info/info.project.active.feature)
|
126
114
|
tau prune | Alias for tau [docker container prune](features/cucumber/features/docker/docker.container.prune.feature)
|
127
|
-
tau pull | Alias for tau [
|
128
|
-
tau push | Alias for tau [
|
115
|
+
tau pull | Alias for tau [hg pull](features/cucumber/features/hg/hg.pull.feature)
|
116
|
+
tau push | Alias for tau [hg push](features/cucumber/features/hg/hg.push.feature)
|
129
117
|
tau status | Alias for tau [docker info status bar](features/cucumber/features/info/info.status.bar.feature)
|
130
118
|
tau update | Alias for tau [docker image update](features/cucumber/features/docker/docker.image.update.feature)
|
131
119
|
tau version | Alias for tau [self version](features/cucumber/features/self/self.version.feature)
|
@@ -155,12 +143,11 @@ Please remember that a project directory is identified by the main
|
|
155
143
|
### Configuration Examples
|
156
144
|
|
157
145
|
- You should add the following configuration items in your *~/.takelage.yml*
|
158
|
-
if you want to use
|
146
|
+
if you want to use the *takelbeta* docker image channel:
|
159
147
|
|
160
148
|
```yaml
|
161
149
|
---
|
162
|
-
|
163
|
-
bit_ssh: 'ssh -p 222 bit@bit.example.com'
|
150
|
+
docker_repo: takelbeta
|
164
151
|
```
|
165
152
|
|
166
153
|
- If you want to pin a specific docker tag for one of your projects
|
@@ -229,9 +216,3 @@ You need to whitelist it in your host's docker engine configuration:
|
|
229
216
|
]
|
230
217
|
}
|
231
218
|
```
|
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.
|
data/lib/takeltau/default.yml
CHANGED
@@ -28,8 +28,8 @@ 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
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"
|
32
|
-
cmd_hg_push_repos: 'cd %{root}; find * -type d -name ".hg"
|
31
|
+
cmd_hg_pull_repos: 'cd %{root}; find * -type d -name ".hg" | parallel echo \; cd {//} \; pwd \; hg pull \; hg update'
|
32
|
+
cmd_hg_push_repos: 'cd %{root}; find * -type d -name ".hg" | parallel echo \; cd {//} \; pwd \; hg add \; hg commit -m "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'
|
data/lib/takeltau/hg/pull.rb
CHANGED
@@ -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
|
-
|
41
|
-
|
42
|
-
log.error 'Unable to pull hg repos'
|
43
|
-
false
|
41
|
+
run cmd_hg_pull_repos
|
44
42
|
end
|
45
43
|
end
|
data/lib/takeltau/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.35.
|
1
|
+
0.35.14
|