1
0
mirror of https://github.com/containers/youki synced 2024-11-23 09:21:57 +01:00
Commit Graph

55 Commits

Author SHA1 Message Date
Christophe de Dinechin
b9b5fa877b
Liboci additional flags and subcommands, as required by ociplex (#2149)
Add the missing OCI cli options and change options order

- checkpoint:

Add the missing command-line options as documented for runc, and also reorder
the options to match the documentation:
https://github.com/opencontainers/runc/blob/main/man/runc-checkpoint.8.md

(This does not mean that they are necessarily implemented)

- no-pivot:

The --no-pivot option is documented in
https://github.com/opencontainers/runc/blob/main/man/runc-create.8.md

Also change the options order in order to match the doc, this makes the code a
bit easier to maintain.

- exec:

Add the missing command-line options for the exec subcommand.
Reference: https://github.com/opencontainers/runc/blob/main/man/runc-exec.8.md

- run:

Also change the order to match the documentation in
https://github.com/opencontainers/runc/blob/main/man/runc-run.8.md

- update

Add command-line options as documented in
https://github.com/opencontainers/runc/blob/main/man/runc-update.8.md

- spec:

Add the missing bundle option, as documented in
https://github.com/opencontainers/runc/blob/main/man/runc-spec.8.md

- features

The 'features' subcommand is not publicly documented yet, but it was introduced
in `runc` in https://github.com/opencontainers/runc/pull/3296.

- liboci-cli: Update README with information about features subcommand

The `features` subcommand is  implemented in `runc`, but not documented.
See https://github.com/opencontainers/runc/pull/3296

- list: Add missing command-line options

Add the command-line options documented in

-------

Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
Signed-off-by: yihuaf <yihuaf@unkies.org>
Co-authored-by: yihuaf <yihuaf@unkies.org>
2023-07-13 14:17:01 -07:00
utam0k
60ed236ca5
v0.1.0
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-06-20 11:56:07 +00:00
Eric Fang
ebef6dba09
Introduce a log-level flag. (#2036)
* Implement `--log-level`

In short:

Propose the default log level for release to error
Keep the --debug flag and it sets the log level to debug
Introduce --log-level flag to set the log level
--debug flag will be ignored if --log-level flag is also set.
Keep the default log level for debug build to debug

Signed-off-by: yihuaf <yihuaf@unkies.org>

* minor fix to CI

Signed-off-by: yihuaf <yihuaf@unkies.org>

* move log-level to youki_extend

Signed-off-by: yihuaf <yihuaf@unkies.org>

* remove the workflow_dispatch trigger

Signed-off-by: yihuaf <yihuaf@unkies.org>

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-17 21:56:49 +09:00
yihuaf
c23edc02cc add some tracing
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-09 12:11:12 -07:00
boaz-quotient
f54ca68ecd
Override log opt when specified more than once (#1847)
* Override log opt when specified more than once

Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>

* Add a comment about the log flag "override" behavior

Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>

---------

Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>
Co-authored-by: Boaz Shuster <boaz.shuster.github@gmail.com>
2023-04-26 09:48:24 -07:00
utam0k
dcffd57015
v0.0.5
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-03-29 11:12:36 +00:00
Eric Fang
d64be1069c implemented foreground mode
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-16 02:21:25 +01:00
dependabot[bot]
0fc22570b0
chore(deps): bump clap from 4.1.4 to 4.1.6
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.4 to 4.1.6.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.1.4...v4.1.6)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-11 10:32:33 +09:00
utam0k
72313bd5a8
fix the warns from cargo clippy
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-02-12 20:15:56 +09:00
Joshua Ford
a3bfc105ee
Upgrade clap to v4.0.32
Signed-off-by: Joshua Ford <joshua.ford@protonmail.com>
2022-12-28 07:21:25 -06:00
Joshua Ford
8f1051289c
Fix clap deprecation warnings
Signed-off-by: Joshua Ford <joshua.ford@protonmail.com>
2022-12-28 07:21:25 -06:00
Yashodhan Joshi
053b76a876 Fix release script and prepare for release 2022-12-06 11:32:40 +05:30
dependabot[bot]
adcb1f4a65
chore(deps): bump clap from 3.2.22 to 3.2.23
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.22 to 3.2.23.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.23/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.22...v3.2.23)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 00:40:29 +00:00
dependabot[bot]
e4135f2580
chore(deps): bump clap from 3.2.21 to 3.2.22
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.21 to 3.2.22.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.22/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.21...v3.2.22)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 01:17:03 +00:00
dependabot[bot]
af3a78090b
chore(deps): bump clap from 3.2.20 to 3.2.21
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.20 to 3.2.21.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.21/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.20...v3.2.21)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-13 00:39:28 +00:00
dependabot[bot]
b9fb07abf2
chore(deps): bump clap from 3.2.18 to 3.2.19
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.18 to 3.2.19.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.19/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.18...v3.2.19)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 11:21:58 +00:00
dependabot[bot]
e6f24dfc7b
chore(deps): bump clap from 3.2.17 to 3.2.18 (#1156)
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.17 to 3.2.18.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.18/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.17...v3.2.18)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-30 17:04:15 +02:00
dependabot[bot]
ebe1ad0fe2
chore(deps): bump clap from 3.2.16 to 3.2.17
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.16 to 3.2.17.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.17/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.16...v3.2.17)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-20 12:08:35 +00:00
dependabot[bot]
3ce9a8b36c
chore(deps): bump clap from 3.2.15 to 3.2.16
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.15 to 3.2.16.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.15...v3.2.16)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 01:25:58 +00:00
dependabot[bot]
78b1cd1fd7
chore(deps): bump clap from 3.2.14 to 3.2.15
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.14 to 3.2.15.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.15/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.14...v3.2.15)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-26 00:54:59 +00:00
dependabot[bot]
0b79605e1a
chore(deps): bump clap from 3.2.13 to 3.2.14
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.13 to 3.2.14.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.13...v3.2.14)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-22 00:41:17 +00:00
dependabot[bot]
fed14dae81
chore(deps): bump clap from 3.2.12 to 3.2.13
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.12 to 3.2.13.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.12...v3.2.13)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 00:50:09 +00:00
dependabot[bot]
e368ef9a5a
chore(deps): bump clap from 3.2.11 to 3.2.12
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.11 to 3.2.12.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.11...v3.2.12)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-15 01:07:54 +00:00
dependabot[bot]
e3dcc97524
chore(deps): bump clap from 3.2.10 to 3.2.11
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.10 to 3.2.11.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.10...v3.2.11)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-14 00:48:26 +00:00
dependabot[bot]
f79c084e12
chore(deps): bump clap from 3.2.8 to 3.2.10
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.8 to 3.2.10.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.8...v3.2.10)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-13 00:43:47 +00:00
Benjamin Levin
3ec29df155 Merge upstream
Signed-off-by: Benjamin Levin <mostlyamiable@gmail.com>
2022-07-08 13:34:39 -05:00
Benjamin Levin
fa1c35d3e8 Update git dependencies
Signed-off-by: Benjamin Levin <mostlyamiable@gmail.com>
2022-06-21 09:34:41 -05:00
dependabot[bot]
b0d18cbfbb
chore(deps): bump clap from 3.2.4 to 3.2.5
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.4...v3.2.5)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-16 00:51:50 +00:00
dependabot[bot]
952bff096d
chore(deps): bump clap from 3.1.18 to 3.2.4
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.18 to 3.2.4.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.18...v3.2.4)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-15 00:40:23 +00:00
utam0k
0f3f43b66c
support the all option in the kill command.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-05-24 21:34:20 +09:00
dependabot[bot]
be189274d2
chore(deps): bump clap from 3.1.17 to 3.1.18
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.17 to 3.1.18.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.17...v3.1.18)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 00:59:49 +00:00
dependabot[bot]
d3959b985c
chore(deps): bump clap from 3.1.15 to 3.1.17
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.15 to 3.1.17.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.15...v3.1.17)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 01:58:34 +00:00
dependabot[bot]
bdf842097b
chore(deps): bump clap from 3.1.14 to 3.1.15
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.14 to 3.1.15.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.14...v3.1.15)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-03 00:49:18 +00:00
dependabot[bot]
c67d0e6513
chore(deps): bump clap from 3.1.12 to 3.1.14
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.12 to 3.1.14.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.12...v3.1.14)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 01:25:26 +00:00
dependabot[bot]
d177135c94
chore(deps): bump clap from 3.1.9 to 3.1.10 in /crates
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.9...v3.1.10)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-20 00:48:59 +00:00
dependabot[bot]
90f0515a02
chore(deps): bump clap from 3.1.8 to 3.1.9 in /crates
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.8 to 3.1.9.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.8...v3.1.9)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 01:20:21 +00:00
dependabot[bot]
59f6b43760
chore(deps): bump clap from 3.1.7 to 3.1.8 in /crates
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.7 to 3.1.8.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.7...v3.1.8)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 01:22:06 +00:00
Thomas Schubart
541bf4a26c
Merge pull request #816 from utam0k/release/v0.0.3
Release v0.0.3
2022-04-03 11:12:46 +02:00
utam0k
9b7a4297b2
v0.0.3
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-04-03 15:03:44 +09:00
dependabot[bot]
492f26993d
chore(deps): bump clap from 3.1.6 to 3.1.7 in /crates
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.6...v3.1.7)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 00:57:52 +00:00
Yashodhan Joshi
f38639c84b Fix remaining clap-related clippy warnings 2022-03-28 18:31:26 +05:30
Yashodhan Joshi
a8dec2f3af Resolve deprecation warnings from clap 2022-03-27 17:20:37 +05:30
utam0k
96a50d9868
Merge pull request #732 from utam0k/improvement/meta-data
Add the metadates for publishing a crate
2022-02-25 22:16:22 +09:00
Adrian Reber
653b719dbb
Initial checkpoint support
This adds the first code to checkpoint a container. The checkpoint
command is name 'checkpointt' (with two 't's at the end) so that
container engines like Podman do not think to use this not yet finished
checkpoint restore implementation.

For Podman it is still necessary to tell CRIU that the network namespace
is external at least and restoring needs special handling to support
'--console-socket'.

Signed-off-by: Adrian Reber <areber@redhat.com>
2022-02-24 14:36:21 +00:00
utam0k
ff6d86b8fd
Add the metadates for publishing a crate.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-02-23 17:32:16 +09:00
Yashodhan Joshi
a8408661e8 Add minimum rust version requirement to libcgroups and libcontainers due to CVE-2022-21658 2022-01-21 20:19:50 +05:30
Emanuele Aina
45813109cb fix(docs): Fix link syntax in liboci-cli/README.md
Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
2022-01-03 22:06:03 +01:00
Jian Zeng
21eaf4e020
feat: add --resource option to update subcommand
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2021-12-18 23:56:43 +08:00
Jian Zeng
09ecfba778 fix: address review comments
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2021-12-16 10:19:28 +08:00
Jian Zeng
37bf9387bb feat: add subcommand update 2021-12-16 10:19:28 +08:00