Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build/Pkg] Rename spec and manifest files #19

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

again4you
Copy link
Contributor

@again4you again4you commented Jan 25, 2024

This patch renames spec and manifest files to mlops-agent.spec and mlops-agent.manifest.

Self evaluation:

  1. Build test: [*]Passed [ ]Failed [ ]Skipped
  2. Run test: [*]Passed [ ]Failed [ ]Skipped

Submit History

V4

  • Update the include path
  • Update the name of unit test package

V3

  • Rebase the latest main branch

V2

  • Update the package name with the mlops-agent. It can cause the image creation error but it is more clear.
  • Keep the name of D-Bus service as org.tizen.machinelearning.service since this service also used as Service API.

V1

  • First Draft
  • Update the package daemon name and client library

packaging/mlops-agent.spec Outdated Show resolved Hide resolved
packaging/mlops-agent.spec Outdated Show resolved Hide resolved
packaging/mlops-agent.spec Outdated Show resolved Hide resolved
@again4you again4you force-pushed the dev/update_spec branch 2 times, most recently from 4f3e960 to 388e5f6 Compare February 8, 2024 02:43
%license LICENSE
%attr(0755,root,root) %{test_base_dir}/machine-learning-agent-test
%attr(0755,root,root) %{test_base_dir}/mlops-agent-test
Copy link
Contributor

@jaeyun-jung jaeyun-jung Feb 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need fix 'test_base_dir'

%define test_base_dir %{_bindir}/mlops-agent-test
or
%define test_base_dir %{_bindir}/ml-test

then in file /tests/meson.build
test_base_dir = join_paths(.. , 'mlops-agent-test' or 'ml-test')

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am going to use ml. Thanks

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

%define test_base_dir %{_bindir}/ml-agent-test

%{test_base_dir}/unittests
%{_libdir}/libml-agent-test.a
%{_libdir}/libml-agent-test.so*
%{_libdir}/libmlops-agent-test.a
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we include libmlops-agent-test library here?

suggestion at line 116 (update require mlops-agent > mlops-agent-test)
%package unittests
....
Requires: mlops-agent = %{version}-%{release} > mlops-agent-test = %{version}-%{release}

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 <[email protected]>
Copy link
Member

@wooksong wooksong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Let's build with NNS/api:)

@jaeyun-jung jaeyun-jung merged commit ae8847a into nnstreamer:main Feb 8, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants