summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Wook Song [Thu, 22 Feb 2024 04:23:40 +0000 (13:23 +0900)]
Daemon/Interface: Cut the dependency on glib.h in MLOps Agent interface
This patch cuts the dependency on glib.h in the mlops-agent-interface.h.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Jaeyun Jung [Tue, 23 Jan 2024 11:13:21 +0000 (20:13 +0900)]
[Test] testcase for service-db util
Add testcases for service-db util functions.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Wook Song [Wed, 14 Feb 2024 05:20:57 +0000 (14:20 +0900)]
GitHub/Actions: Add a workflow running native build with Clang-17
This patch adds a GitHub Actions workflow that builds the project
using Clang/Clang++-17.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Wed, 14 Feb 2024 06:23:04 +0000 (15:23 +0900)]
Daemon/ServiceDB: Fix compile errors related to -Wc99-designator
This patch fixes the following compile errors:
- error: array designators are a C99 extension [-Werror,-Wc99-designator]
- error: mixture of designated and non-designated initializers in the same initializer list is a C99 extension [-Werror,-c99-designator]
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Tue, 13 Feb 2024 07:30:22 +0000 (16:30 +0900)]
GitHub/Actions: Add a workflow running gbs Tizen build
This patch adds a GitHub Actions workflow that runs GBS Tizen build and
unit testing.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Tue, 13 Feb 2024 07:16:13 +0000 (16:16 +0900)]
Trivial: Clear unnecessary execute bit of source files
This is a trivial patch that clears source files' unnecessary execute
bits.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Jaeyun Jung [Thu, 8 Feb 2024 08:34:27 +0000 (17:34 +0900)]
[CodeClean] fix path to run test
Code clean, update document and fix path to run unittest.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Sangjung Woo [Thu, 8 Feb 2024 08:04:59 +0000 (17:04 +0900)]
[Pkg] Fix the include path of package config file
This patch fixes the include path of package config file.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Sangjung Woo [Mon, 5 Feb 2024 08:53:32 +0000 (17:53 +0900)]
[Build/Pkg] Rename spec and manifest files
This patch renames spec and manifest files to mlops-agent.spec and
mlops-agent.manifest. It also update the package name with the'mlops-agent'.
However, the name of D-Bus service is not changed since this channel is
also used as Service API.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Wook Song [Fri, 2 Feb 2024 06:37:42 +0000 (15:37 +0900)]
GitHub/Actions: Add an action building the project with GCC-13/Ubuntu
This patch adds an action that checks the PR by building the project
using GCC-13 on Ubuntu 20.04 and 22.04.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Fri, 2 Feb 2024 02:52:02 +0000 (11:52 +0900)]
Dist/Tizen: Introduce the machine-learning-agent-test package
This patch introduces a Tizen package that provides the ML agent for
testing purposes. Several meson build scripts are updated to support it
and the Tizen RPM spec file is also revised.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Fri, 2 Feb 2024 06:27:34 +0000 (15:27 +0900)]
Meson: Add workaround for a glib-2.0 (< 2.67.1) internal bug
Since glib-2.0( < 2.67.1) has a bug that incurs a warning,
incompatible-pointer-types, on gcc (>= 11) as follows:
/usr/include/glib-2.0/glib/gatomic.h:112:5: error: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Werror=incompatible-pointer-types]
112 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
| ^~~~~~~~~~~~~
This patch adds a workaround for this bug to the meson build script.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Thu, 1 Feb 2024 07:26:55 +0000 (16:26 +0900)]
Meson: Remove the unused build option, enable-gcov
This patch removes the build option, enable-gcov, which is not used
anywhere in the source code.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Thu, 1 Feb 2024 07:17:20 +0000 (16:17 +0900)]
Dist/Tizen: Remove an unnecessary configure option
This patch removes -Denable-gcov from the Tizen RPM spec file. Note that
this option is used nowhere in the source code.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Thu, 1 Feb 2024 01:59:14 +0000 (10:59 +0900)]
Dist/Tizen: Use meson and its commands to build and install the targets
This patch replaces the lines directly using ninja in the build and
install sections with the meson's compile and install commands.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Wed, 31 Jan 2024 11:58:58 +0000 (20:58 +0900)]
Dist/Tizen: Wipe-out the build directory before configuring the project
This patch adds the omitted wiping-out of the build directory before the
configuration of this project.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Wed, 31 Jan 2024 11:54:23 +0000 (20:54 +0900)]
Dist/Tizen: Use a rpm spec macro instead of the hard-coded string
This is a trivial patch for cleaning up the Tizen RPM spec file. Instead
of the hard-coded string for build directory, this patch updates it to the
RPM spec macro.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Jaeyun Jung [Tue, 23 Jan 2024 04:57:50 +0000 (13:57 +0900)]
[Build] enable tizen feature
1. Add option to set DB path.
2. Enable tizen feature in spec.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Wook Song [Tue, 23 Jan 2024 05:10:24 +0000 (14:10 +0900)]
GitHub/Workflows: Add an action to check C++ source file format
This patch adds a GitHub Action workflow to check C++ source file
format.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Tue, 23 Jan 2024 04:35:23 +0000 (13:35 +0900)]
ClangFormat: Apply clang-format to all C++ source files
This patch applies clang-format(-16) using NNS's .clang-format to all
C++ source files.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Tue, 23 Jan 2024 04:40:15 +0000 (13:40 +0900)]
ClangFormat: Add clang-format style configuration file
This patch imports the clang-format style configuration file from the
NNStreamer repository.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Jaeyun Jung [Tue, 23 Jan 2024 04:35:05 +0000 (13:35 +0900)]
[ServiceDB] interface to handle DB data
Add c-style DB interface and init/close DB when running daemon.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Thu, 18 Jan 2024 07:42:05 +0000 (16:42 +0900)]
[ServiceDB] definition to key prefix
Code clean, remove unnecessary definition of key prefix.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Thu, 18 Jan 2024 07:25:59 +0000 (16:25 +0900)]
[Test] revise service-db test
revise service-db testcases, function to check error case.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Wed, 17 Jan 2024 09:54:26 +0000 (18:54 +0900)]
[CodeClean] build error after enabling tizen
Code clean, fix log function and remove unnecessary path in meson.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Mon, 8 Jan 2024 08:37:54 +0000 (17:37 +0900)]
[Test] delete unnecessary test
Delete unnecessary test-dbus and update spec file to install tc.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Tue, 12 Dec 2023 13:02:52 +0000 (22:02 +0900)]
[Interface] invalid param case
1. Add condition to check invalid param of agent interface.
2. Code clean, fix param name and indent.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Thu, 4 Jan 2024 07:46:09 +0000 (16:46 +0900)]
[Build/Pkg] exec prefix in pc
Update exec prefix when configuring pc file.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Fri, 5 Jan 2024 05:15:38 +0000 (14:15 +0900)]
[DBus] clear instance before getting new connection
Code clean, clear dbus instance before getting new connection.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Wed, 13 Dec 2023 11:39:15 +0000 (20:39 +0900)]
[Log] rename log util
Code clean, rename macro and use predefined log util.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Tue, 12 Dec 2023 11:29:49 +0000 (20:29 +0900)]
[ServiceDB] check model in database
Add condition to check model is registered in database.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Mon, 11 Dec 2023 11:42:50 +0000 (20:42 +0900)]
[Build] add spec for tizen build
Fix version and add spec for tizen build.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Mon, 11 Dec 2023 08:55:11 +0000 (17:55 +0900)]
[Doc] set reviewers
Add code reviewers for this repogitory.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Mon, 11 Dec 2023 08:10:48 +0000 (17:10 +0900)]
[Build] add testcase
Update meson script, add testcases from api repo.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Mon, 11 Dec 2023 08:02:06 +0000 (17:02 +0900)]
[Doc] update description
Fix link to main page and update documents.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Wed, 6 Dec 2023 05:42:19 +0000 (14:42 +0900)]
[Build] prepare meson build
Initial commit, migrate ml-agent and dbus code from api repo.
Prepare meson build for dbus and ml-agent first.
TODO:
1. fix version of ml-agent packages.
2. enable testcase.
3. add .spec for tizen release.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
MyungJoo Ham [Wed, 6 Dec 2023 05:19:04 +0000 (14:19 +0900)]
Initial commit