Compare commits

..

20 Commits

Author SHA1 Message Date
black-desk 5d5ad3a57f
chore: bump version to 0.3.2
Signed-off-by: black-desk <me@black-desk.cn>
2024-04-08 17:49:26 +08:00
black-desk 696ecae7c8
Merge branch 'master' into debian/latest
Signed-off-by: black-desk <me@black-desk.cn>
2024-04-08 17:44:39 +08:00
black-desk 0e82f11b62
chore: upgrade to 0.3.0
Signed-off-by: black-desk <me@black-desk.cn>
2024-03-31 02:56:09 +08:00
black-desk aff69c9d2b
build: update dependencies
Signed-off-by: black-desk <me@black-desk.cn>
2024-03-31 02:53:35 +08:00
black-desk a5599bf3c2
Merge branch 'master' into debian/latest
Signed-off-by: black-desk <me@black-desk.cn>
2024-03-31 02:51:20 +08:00
black-desk 94d2303396
chore: upgrade to 0.2.3-2
Signed-off-by: black-desk <me@black-desk.cn>
2024-03-21 21:29:48 +08:00
black-desk d5d6f73b8c
chore: remove boost
Signed-off-by: black-desk <me@black-desk.cn>
2024-03-21 21:25:52 +08:00
black-desk 38999d1e49 chore: upgrade to 0.2.3 2024-03-21 21:24:13 +08:00
black-desk 85c20f8961
Merge branch 'master' into debian/latest
Signed-off-by: black-desk <me@black-desk.cn>
2024-03-21 21:23:32 +08:00
black-desk 4b79ff1011
chore: upgrade to 0.2.2
Signed-off-by: black-desk <me@black-desk.cn>
2024-02-01 16:31:30 +08:00
black-desk 0bf4b945d2
Merge branch 'master' into debian/latest
Signed-off-by: black-desk <me@black-desk.cn>
2024-02-01 16:31:00 +08:00
black-desk f78e829b18
chore: upgrade to 0.2.1
Signed-off-by: black-desk <me@black-desk.cn>
2024-01-29 19:33:01 +08:00
black-desk 38db47bd5c
Merge branch 'master' into debian/latest
Signed-off-by: black-desk <me@black-desk.cn>
2024-01-29 19:32:29 +08:00
black-desk 82c72aac3b
chore: upgrade 0.2.0
Signed-off-by: black-desk <me@black-desk.cn>
2024-01-26 15:48:34 +08:00
black-desk 454470316c
chore: remove catch2
Signed-off-by: black-desk <me@black-desk.cn>
2024-01-26 15:48:14 +08:00
black-desk f86b8e4195
Merge branch 'master' into debian/latest
Signed-off-by: black-desk <me@black-desk.cn>
2024-01-26 15:46:55 +08:00
black-desk 9c9b60bf30
chore: upgrade to upstream 0.1.10
Signed-off-by: black-desk <me@black-desk.cn>
2024-01-02 21:49:20 +08:00
black-desk 801ef5f0c1
Merge branch 'master' into debian/latest
Signed-off-by: black-desk <me@black-desk.cn>
2024-01-02 21:48:50 +08:00
black-desk 5995edec50
fix: upgrade debian version to 0.1.9
Signed-off-by: black-desk <me@black-desk.cn>
2024-01-02 21:37:15 +08:00
black-desk 17ab889ff7
chore: bring debian directory back
This reverts commit b49367ac88f973163b7826e98f0bb3fc90da3c05.

Signed-off-by: black-desk <me@black-desk.cn>
2024-01-02 21:37:14 +08:00
11 changed files with 62 additions and 11 deletions

View File

@ -65,13 +65,8 @@ jobs:
cmake --workflow --preset ci
pass:
name: Pass
if: always()
needs:
- checks
- build-and-test
needs: [checks, build-and-test]
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
- name: Placeholder
run: true

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
ocppi (0.3.2-1) UNRELEASED; urgency=medium
* Initial release
-- Chen Linxuan <me@black-desk.cn> Thu, 21 Mar 2024 21:29:25 +0800

26
debian/control vendored Normal file
View File

@ -0,0 +1,26 @@
Source: ocppi
Maintainer: Chen Linxuan <me@black-desk.cn>
Section: devel
Priority: optional
Standards-Version: 4.6.2
Build-Depends: cmake,
debhelper-compat (= 12),
libexpected-dev (>= 1.0.0~dfsg-2~bpo10+1),
nlohmann-json3-dev (>= 3.5.0),
pkgconf
Package: libocppi-dev
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: c++ library for OCI runtime and distribution
A C++ library for using/implement OCI runtime and distribution
.
A C++ library for using OCI runtime cli, distribution, or implement OCI runtime.
Package: libocppi0.3.2
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: c++ library for OCI runtime and distribution
A C++ library for using/implement OCI runtime and distribution
.
A C++ library for using OCI runtime cli, distribution, or implement OCI runtime.

9
debian/copyright vendored Normal file
View File

@ -0,0 +1,9 @@
Files:
*
Copyright: 2023 Chen Linxuan
License: LGPL-2+
Files:
debian/*
Copyright: 2023 Chen Linxuan
License: LGPL-2+

3
debian/libocppi-dev.install vendored Normal file
View File

@ -0,0 +1,3 @@
usr/include/ocppi-*
usr/lib/*/*.so
usr/lib/*/cmake/ocppi-*

1
debian/libocppi0.3.2.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/*/*.so.*

5
debian/rules vendored Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- -DCPM_LOCAL_PACKAGES_ONLY=ON ${DH_AUTO_ARGS}

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -31,6 +31,7 @@ struct DeleteOption;
struct ExecOption;
struct KillOption;
struct ListOption;
class Signal;
struct StartOption;
struct StateOption;
struct GlobalOption;

View File

@ -2,7 +2,11 @@
#include <string>
namespace ocppi::runtime {
namespace ocppi::runtime
{
class Signal : public std::string {
using std::string::string;
};
using Signal = std::string;
}

View File

@ -10,7 +10,6 @@
#include "ocppi/runtime/DeleteOption.hpp"
#include "ocppi/runtime/FeaturesOption.hpp"
#include "ocppi/runtime/KillOption.hpp"
#include "ocppi/runtime/Signal.hpp"
#include "ocppi/runtime/StartOption.hpp"
#include "ocppi/runtime/StateOption.hpp"
#include "ocppi/runtime/features/types/Features.hpp"
@ -25,6 +24,8 @@ namespace state::types
struct State;
}
class Signal;
class SpecRuntime {
public:
SpecRuntime() = default;