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

Small set of important fixes #107

Merged
merged 5 commits into from
Mar 22, 2018
Merged

Small set of important fixes #107

merged 5 commits into from
Mar 22, 2018

Conversation

clhunsen
Copy link
Collaborator

With the patches in this PR, we fix some important bug in data objects (1bed431), network builders (2b327a9), and the splitting functionality (9860d7d).

Additionally, we enforce spacing before opening braces and parentheses as requested in the coding conventions (1ed449a).

To circumvent problems when updating the raw commits but not updating
the cached list of artifacts, we disable the caching of artifacts for
now.

Signed-off-by: Claus Hunsen <[email protected]>
Signed-off-by: Thomas Bock <[email protected]>
The ProjectData objects are handled as references in the NetworkBuilder
objects, therefore, we need to clone the original data for the case of
data cutting. Otherwise, we would just store the very same reference in
two attributes.

Signed-off-by: Claus Hunsen <[email protected]>
Signed-off-by: Thomas Bock <[email protected]>
When constructing the sliding-window ranges in activity-based splitting
of data objects, we cut the half of the wanted activity per range from
the first and the very last range, then split the data. In the
following, we need to set the splittable data properly again.

With this patch, we fix the setting of the cut issue data.

Signed-off-by: Claus Hunsen <[email protected]>
Signed-off-by: Thomas Bock <[email protected]>
To conform more closely to the coding guidelines, we add several spaces
before left parentheses (except for function calls) and left curly
braces.

A spacing-related line is added to the contribution guidelines to
emphasize the point.

Signed-off-by: Claus Hunsen <[email protected]>
@clhunsen clhunsen added this to the v3.2 milestone Mar 22, 2018
@clhunsen clhunsen requested a review from bockthom March 22, 2018 16:08
Signed-off-by: Claus Hunsen <[email protected]>
Copy link
Collaborator

@bockthom bockthom 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!

@clhunsen clhunsen merged commit 5a593f7 into se-sic:dev Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants