Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

refactoring of results and events types definitions #1716

Merged
merged 4 commits into from
Jul 9, 2020

Conversation

kbushgit
Copy link
Contributor

@kbushgit kbushgit commented Jul 8, 2020

Signed-off-by: Kostiantyn Bushko kostiantyn.bushko@yahoo.com

Kostiantyn Bushko added 3 commits July 9, 2020 00:43
Signed-off-by: Kostiantyn Bushko <kostiantyn.bushko@yahoo.com>
Signed-off-by: Kostiantyn Bushko <kostiantyn.bushko@yahoo.com>
Signed-off-by: Kostiantyn Bushko <kostiantyn.bushko@yahoo.com>
Copy link
Collaborator

@pattivacek pattivacek left a comment

Choose a reason for hiding this comment

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

Looks good! At first I was going to suggest capitalizing the utils namespace, but I checked the Google style guide and it actually says namespaces should be lowercase. We've obviously not followed that before, but I'm happy to do so going forward.

../../include/libaktualizr/types.h
../../include/libaktualizr/events.h
../../include/libaktualizr/results.h
../../include/libaktualizr/campaign.h)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Weird indenting change here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hmm, interesting, looks different in my local file

@@ -186,7 +186,7 @@ call. This will provision with the server if required. This must be called befor
----
boost::signals2::connection Aktualizr::SetSignalHandler(std::function<void(shared_ptr<event::BaseEvent>)> &handler)
----
Returns a signal connection object, which can be disconnected if desired. The events are defined in the https://github.com/advancedtelematic/aktualizr/blob/master/src/libaktualizr/primary/events.h[`primary/events.h`] header.
Returns a signal connection object, which can be disconnected if desired. The events are defined in the https://github.com/advancedtelematic/aktualizr/blob/master/include/libaktualizr/events.h[`libaktualizr/events.h`] header.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good catches!

@codecov-commenter
Copy link

codecov-commenter commented Jul 9, 2020

Codecov Report

Merging #1716 into master will increase coverage by 0.73%.
The diff coverage is 84.61%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1716      +/-   ##
==========================================
+ Coverage   76.81%   77.55%   +0.73%     
==========================================
  Files         185      185              
  Lines       13341    13204     -137     
==========================================
- Hits        10248    10240       -8     
+ Misses       3093     2964     -129     
Impacted Files Coverage Δ
include/libaktualizr/campaign.h 57.14% <ø> (ø)
include/libaktualizr/config.h 100.00% <ø> (ø)
include/libaktualizr/events.h 100.00% <ø> (ø)
include/libaktualizr/results.h 88.46% <ø> (ø)
include/libaktualizr/types.h 91.59% <ø> (ø)
src/libaktualizr-c/libaktualizr-c.cc 56.58% <ø> (ø)
src/libaktualizr-posix/asn1/asn1_message.cc 92.30% <ø> (ø)
src/libaktualizr/campaign/campaign.cc 87.01% <ø> (ø)
src/libaktualizr/primary/aktualizr.cc 98.33% <ø> (+11.56%) ⬆️
src/libaktualizr/primary/aktualizr.h 100.00% <ø> (ø)
... and 31 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 83adb92...dd49e76. Read the comment docs.

Signed-off-by: Kostiantyn Bushko <kostiantyn.bushko@yahoo.com>
@kbushgit kbushgit requested a review from pattivacek July 9, 2020 09:02
@pattivacek pattivacek merged commit f0bb59a into master Jul 9, 2020
@pattivacek pattivacek deleted the ref/libaktualir/results-events branch July 9, 2020 09:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants