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

Simplified Structure #991

Merged
merged 1 commit into from
Aug 28, 2017
Merged

Conversation

akutz
Copy link
Member

@akutz akutz commented Aug 28, 2017

This patch accomplishes the following:

  • Simplifies the source tree structure
  • Simplifies the build tags
  • Removes the ability to start service in the background. The service is always started in the foreground and relies on SystemD to start in the background.
  • -l,--logLevel happens before everything
  • There is an agent package at the root of RR; this is the service responsible for hosting long running modules
  • There are no more libstorage file or directory names expected or created at runtime. Everything happens under the brand rexray
  • The REX-Ray util package now defers to libStorage's path config. This means that rexray start as a normal user will automatically create files in your $HOME/.rexray directory if you don't have root permissions.
  • -c,--config specifies a custom config and all other config files are ignored

@akutz akutz added this to the 2017.09-1 milestone Aug 28, 2017
@akutz akutz self-assigned this Aug 28, 2017
@akutz akutz requested a review from codenrhoden August 28, 2017 21:37
@akutz akutz force-pushed the feature/simplified-structure branch from 6263f3c to 6f414e6 Compare August 28, 2017 21:42
@codecov-io
Copy link

codecov-io commented Aug 28, 2017

Codecov Report

Merging #991 into master will decrease coverage by <.01%.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #991      +/-   ##
==========================================
- Coverage   34.15%   34.15%   -0.01%     
==========================================
  Files          36       36              
  Lines        2893     2896       +3     
==========================================
+ Hits          988      989       +1     
- Misses       1803     1805       +2     
  Partials      102      102
Impacted Files Coverage Δ
libstorage/api/context/context.go 30.82% <0%> (-0.36%) ⬇️
libstorage/api/utils/utils_paths.go 92.24% <100%> (ø) ⬆️
libstorage/api/types/types_localdevices.go 88.23% <0%> (+1.47%) ⬆️

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 24e5c93...1fe8abe. Read the comment docs.

This patch accomplishes the following:

* Simplifies the source tree structure
* Simplifies the build tags
* Removes the ability to start service in the background. The service is
  always started in the foreground and relies on SystemD to start in the
  background.
@akutz akutz force-pushed the feature/simplified-structure branch from 6f414e6 to 1fe8abe Compare August 28, 2017 21:50
Copy link
Member

@codenrhoden codenrhoden left a comment

Choose a reason for hiding this comment

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

just the one outstanding question.

@@ -1,14 +1,14 @@
package context

import (
"context"
Copy link
Member

Choose a reason for hiding this comment

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

so is this possible because we are only on GO 1.[7-9] now? If so, do we need to update travis.yml to reflect that?

Copy link
Member Author

Choose a reason for hiding this comment

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

Hi @codenrhoden,

The .travis.yml Go version is 1.8.3 as we discussed.

@akutz akutz merged commit 1a556e8 into rexray:master Aug 28, 2017
@akutz akutz deleted the feature/simplified-structure branch August 28, 2017 23:57
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.

3 participants