Hi @philm, please approve new IPs for manjaro.kyberorg.fi
sync. ]
New IPs are: 65.21.188.160
and 2a01:4f9:c012:ba4a::1
.
Danke!
I is a long time since a pulled the translations.
I am getting an error from the transifex client
$ tx pull -a
# Getting info about resources
panic: runtime error: integer divide by zero
goroutine 1 [running]:
github.com/transifex/cli/pkg/worker_pool.makeProgressBar(0x0, 0x0, 0xc000114960, 0xc000208a80)
/home/runner/work/cli/cli/pkg/worker_pool/main.go:249 +0x217
github.com/transifex/cli/pkg/worker_pool.(*Pool).Start(0xc000208a80)
/home/runner/work/cli/cli/pkg/worker_pool/main.go:228 +0x325
github.com/transifex/cli/internal/txlib.PullCommand(0xc00020a3b0, 0xc00013c5a0, 0xc0001fe460, 0x0, 0x0)
/home/runner/work/cli/cli/internal/txlib/pull.go:64 +0x41d
github.com/transifex/cli/cmd/tx.Main.func5(0xc000208940, 0x14, 0x28)
/home/runner/work/cli/cli/cmd/tx/main.go:618 +0xd79
github.com/urfave/cli/v2.(*Command).Run(0xc000159e60, 0xc000208140, 0x0, 0x0)
/home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/command.go:163 +0x4dd
github.com/urfave/cli/v2.(*App).RunContext(0xc000125ba0, 0xb532e0, 0xc000138020, 0xc000120150, 0x3, 0x3, 0x0, 0x0)
/home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:313 +0x810
github.com/urfave/cli/v2.(*App).Run(...)
/home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224
github.com/transifex/cli/cmd/tx.Main()
/home/runner/work/cli/cli/cmd/tx/main.go:1055 +0x2cfa
main.main()
/home/runner/work/cli/cli/main.go:5 +0x25
Hi @fhdk,
I dont have access to transifex can you pull translations? i dont think this will merge anymore due to changes in the codebase if it does not we simple close all translation related issues and start over.
Frede H (3beccf4b) at 04 Mar 13:05
Merge branch 'chore/black-linter-setup' into 'master'
... and 8 more commits
This commit adds the black linter to the project. The linter is configured to use the default settings. The linter is also added to the CONTRIBUTING.md instead of the manual explanation of formatting rules.
Well. I hope @philm will do that then. Pushed all the linting-changes now too, because I didn't want to wait for that.
They have to be enabled by project there is a is a minute limit, i dont know if that was reached yet.
Only @philm can add runners.
Vitor Lopes (687b7a6b) at 04 Mar 10:06
disable experimantal feature
@fhdk could you enable gitlab runners, so I can test if my CI setup works?
This commit adds the black linter to the project. The linter is configured to use the default settings. The linter is also added to the CONTRIBUTING.md instead of the manual explanation of formatting rules.
Frede H (1bed517e) at 04 Mar 09:27
v4.25.0
Frede H (0eea33d8) at 04 Mar 09:25
code style - add blank line
Frede H (b55b47d8) at 04 Mar 09:04
code style - remove blank line
Frede H (8c5824b0) at 04 Mar 09:03
incorrect file open - change from wb to w
Merged
merged
This replaces a print statement with a logging statement for a warning that is emitted when no LANG etc. settings are present in a system.
Using stdout/regular print statements is not recommended for logging purposes as it is not possible to control the verbosity of the output. And I breaks tools that rely on the stdout to be clean or have a certain format.
In general terms, I'd recommend to use logging
in all places where print
statements are not used as an API or CLI output.
Ref.: https://docs.python.org/3/howto/logging.html#when-to-use-logging