Bas Zoetekouw
c3a152e68f
Enable pylint, because it catches stuff that ruff misses
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-09 22:26:35 +01:00
Bas Zoetekouw
bd60bc9f21
Run tests on all supported python versions
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-09 22:26:35 +01:00
Bas Zoetekouw
9d8b0b8632
add editorconfig
...
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
2024-03-09 22:26:32 +01:00
Povilas Kanapickas
ee013316c0
Merge pull request #860 from aripollak/fix-env-vars-with-equals
...
Allow run/exec -e with equals sign in value
2024-03-09 23:25:56 +02:00
Ari Pollak
f2f5483a74
Extract compose_run args parsing and add unit tests
...
Signed-off-by: Ari Pollak <ajp@aripollak.com>
2024-03-09 16:18:13 -05:00
Ari Pollak
c4fa8f7a16
Split exec args parsing into new function and add unit tests for it
...
Signed-off-by: Ari Pollak <ajp@aripollak.com>
2024-03-09 16:02:47 -05:00
Ari Pollak
4c270b9116
Allow run/exec -e with equals sign in value
...
Fixes : #798
Signed-off-by: Ari Pollak <ajp@aripollak.com>
2024-03-09 14:35:08 -05:00
Ari Pollak
c5f7f550f9
Remove implemented commands from Missing Commands
...
Signed-off-by: Ari Pollak <ajp@aripollak.com>
2024-03-09 14:32:29 -05:00
ChuJiani
c98cbaaaf0
Fix #782 : add support for http_proxy
...
Signed-off-by: ChuJiani <archet@chujiani.top>
2024-03-09 17:10:09 +00:00
Povilas Kanapickas
f2f2f15a3b
Merge pull request #765 from timocov/devel
...
Added handling `pid` option
2024-03-09 18:30:48 +02:00
Evgeniy Timokhov
91d316ff1f
Added handling pid
option
...
Fixes #554
Signed-off-by: Evgeniy Timokhov <timocov@gmail.com>
2024-03-09 16:10:37 +00:00
Povilas Kanapickas
121b5f6ea1
Merge pull request #749 from maxi0604/more-network-options
...
Add support for enable_ipv6
2024-03-09 13:03:27 +02:00
Maximilian R
969edb88d0
Add support for enable_ipv6
...
Signed-off-by: Maximilian R <maxi.rostock@outlook.de>
2024-03-09 13:01:41 +02:00
Maximilian R
bba1f33d51
Factor out arg creation for "network create". Add unit tests.
...
Signed-off-by: Maximilian R <public@complexvector.space>
2024-03-09 13:00:09 +02:00
Povilas Kanapickas
970e4ac4ab
Merge pull request #764 from lemmi/sysctls-dict
...
Handle sysctls maps
2024-03-09 12:47:10 +02:00
lemmi
a9c335bf82
Handle sysctls maps
...
- Add support to handle sysctls maps.
- Directly raise an error if sysctls is neither an array nor map instead
of letting podman fail with an unhelpful message.
Support for sysctls arrays was added in #261 .
Fixes #754 : sysctls only works with arrays, not maps
Signed-off-by: lemmi <lemmi@nerd2nerd.org>
2024-03-09 12:44:55 +02:00
lemmi
e67c52f2c4
test_container_to_args: handle async tests
...
Signed-off-by: lemmi <lemmi@nerd2nerd.org>
2024-03-09 12:44:55 +02:00
Povilas Kanapickas
e0fc9a7546
Merge pull request #696 from dkull/devel
...
Fix stop/restart args stacking
2024-03-09 12:42:54 +02:00
Tanel Liiv
2cdfb3e6d4
Fix stop/restart args stacking
...
Signed-off-by: Tanel Liiv <tanel.liiv@reconeyez.com>
Signed-off-by: Tanel Liiv <liivtanel@gmail.com>
2024-03-09 12:39:53 +02:00
Povilas Kanapickas
60137eb7f9
Merge pull request #741 from maurerle/quiet-output
...
Output: use logging, remove verbose output by default
2024-03-09 12:35:00 +02:00
Povilas Kanapickas
a7a993faef
Merge pull request #886 from p12tic/github-pr-template
...
github: Add PR template
2024-03-09 12:27:17 +02:00
Povilas Kanapickas
8ec5e0372a
github: Add PR template
...
Adding a link to related part of compose spec is much easier for the
contributors, because they're already working on the feature. This saves
reviewer time.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-09 12:18:19 +02:00
Florian Maurer
da520e299b
switch to % string lazy formatting
...
* fix black and pylint issues
Signed-off-by: Florian Maurer <f.maurer@outlook.de>
2024-03-09 10:40:24 +01:00
James O'Beirne
1e9e2ee776
Output: use logging, remove garbage output by default
...
Fixes #489 .
Introduces a --verbose flag if you want to see all the noise that
was previously printed by default.
Signed-off-by: James O'Beirne <james.obeirne@pm.me>
Signed-off-by: Florian Maurer <f.maurer@outlook.de>
2024-03-09 10:36:20 +01:00
Povilas Kanapickas
dcb6cdb55a
Merge pull request #858 from breca/asyncio_compat
...
Replaces asyncio timeout with bespoke timeout function
2024-03-09 11:05:17 +02:00
Brett Calliss
0f693ee584
Replaces asyncio timeout with bespoke timeout function
...
Signed-off-by: Brett Calliss <brett@obligatory.email>
2024-03-09 19:02:32 +11:00
Povilas Kanapickas
d468f85fd1
Merge pull request #755 from yarikoptic/enh-codespell
...
Add codespell config (to ignore loved "poped") and github workflow to prevent future typos
2024-03-09 01:47:25 +02:00
Yaroslav Halchenko
cf90ab2858
Run codespell throughout fixing typos automagically
...
Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
2024-03-08 18:41:03 -05:00
Yaroslav Halchenko
d2fa80196f
ignore poped (not sure why not to make it popped)
...
Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
2024-03-08 18:41:03 -05:00
Yaroslav Halchenko
247774822c
Add pre-commit definition for codespell
...
Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
2024-03-08 18:41:03 -05:00
Yaroslav Halchenko
6e65a73ab9
Add rudimentary codespell config
...
Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
2024-03-08 18:41:03 -05:00
Yaroslav Halchenko
f95ca7aca7
Add github action to codespell devel on push and PRs
...
Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
2024-03-08 18:41:03 -05:00
Povilas Kanapickas
cdf5961bf2
Merge pull request #758 from containers/dependabot/github_actions/actions/checkout-4
...
Bump actions/checkout from 3 to 4
2024-03-09 01:09:28 +02:00
dependabot[bot]
0c0e77c246
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-08 22:51:44 +00:00
Povilas Kanapickas
e6fc585702
Merge pull request #884 from p12tic/lint-fixes
...
Fix unsorted imports
2024-03-08 23:59:06 +02:00
Povilas Kanapickas
bb2338e447
Fix unsorted imports
...
This is a logical merge conflict that has been caused by several PRs
landing in parallel.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 23:54:48 +02:00
Povilas Kanapickas
a8db898ac6
Merge pull request #883 from p12tic/lint-fixes
...
Enable ruff check and fix lint errors
2024-03-08 23:51:25 +02:00
Povilas Kanapickas
1ba1c364b9
Merge pull request #819 from p12tic/service-runtime
...
Add support for runtime service configuration key
2024-03-08 23:51:17 +02:00
Povilas Kanapickas
15ae2140d4
Add support for runtime service configuration key
...
https://docs.docker.com/compose/compose-file/05-services/#runtime
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 23:48:55 +02:00
Povilas Kanapickas
ed39523342
github: Enable ruff check
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 23:47:13 +02:00
Povilas Kanapickas
4e43606df3
Shorten too long lines
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 23:46:24 +02:00
Povilas Kanapickas
91052cb2d9
Fix ambiguous variable name
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 23:46:23 +02:00
Povilas Kanapickas
a6e0092627
Remove unused variable
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 23:46:22 +02:00
Povilas Kanapickas
59a1fa3942
Use 'not in' for membership test
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 23:46:21 +02:00
Povilas Kanapickas
36139fb282
Remove unused f-string
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 23:46:20 +02:00
Povilas Kanapickas
b0da6f82d3
Fix import formatting
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 23:46:19 +02:00
Povilas Kanapickas
b1e4324d41
Merge pull request #882 from p12tic/readme-fix-badge-status
...
README: fix status badges
2024-03-08 16:26:23 +02:00
Povilas Kanapickas
94df95acea
README: Fix link to tests badge
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 16:09:15 +02:00
Povilas Kanapickas
3a5a283cf6
README: Remove link to pylint test badge
...
This is an internal metric that the users don't need to care about at
all.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-03-08 16:09:11 +02:00
Povilas Kanapickas
16a90e2bce
Merge pull request #873 from p12tic/github-run-container
...
github: Run actions on python:3.11-bookworm
2024-03-08 15:58:18 +02:00