-
Notifications
You must be signed in to change notification settings - Fork 42
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
[#98] Add entrypoint for iox2 cli #106
[#98] Add entrypoint for iox2 cli #106
Conversation
@elBoberido @elfenpiff I am not quite finished, but could I get a preliminary review of the code to check if it is following rust conventions and idioms ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a full review. Was just a bit curious and skimmed through the files. Looking forward to see this in action.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, and I already played around with it a bit. You have to add the copyright header to every .rs
file - yeah I know, but this is what eclipse wants -
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. I played a bit around and have a few wishes :)
- cargo also lists some of the commands with
--help
- it seems
iox2 services --help
prints theiox2
help instead of the one fromiox2-services
7e72ce3
to
38ebaf2
Compare
This would require commands to be included in the
This is probably because the |
1ac970b
to
5e04e86
Compare
5e04e86
to
f21d72b
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #106 +/- ##
==========================================
- Coverage 79.34% 78.49% -0.86%
==========================================
Files 194 203 +9
Lines 21475 21712 +237
==========================================
+ Hits 17040 17042 +2
- Misses 4435 4670 +235
|
@elBoberido @elfenpiff Getting a puzzling error in the mac os CI job:
It's puzzling because the version I specify in the
Have you seen this before ? |
It's a dependency from Btw, this is the relevant output of
|
@elBoberido Is it possible to increase the version of |
9bfebdd
to
e158d01
Compare
Yes, this is not a problem! I could create a separate PR and increase it to rust version 1.74 - but we can also go higher. |
@elfenpiff Any version 1.74 or above will make things easier for this PR. You can choose what you like. Or just let me know how to do it and I can do the PR. Note that |
Not necessarily. The Commands:
introspec
processes
services
... See all commands with --list Not for this PR but maybe something for a follow up if you like the idea.
If I call |
e158d01
to
f7888e2
Compare
f7888e2
to
5c8f9ba
Compare
381d8f1
to
ccbd452
Compare
Notes for Reviewer
iox2
iox2-
in the$PATH
or in the cargo build directories--list
- the same as howcargo
handles external binariesPATH
can be executed as if they were a defined sub command--dev
set$PATH
and in the build directoriesExample Usage:
Pre-Review Checklist for the PR Author
SPDX-License-Identifier: Apache-2.0 OR MIT
iox2-123-introduce-posix-ipc-example
)[#123] Add posix ipc example
)task-list-completed
)Checklist for the PR Reviewer
Post-review Checklist for the PR Author
References
Use either 'Closes #123' or 'Relates to #123' to reference the corresponding issue.
Relates to #98