Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1873)

Issue 99410054: Add a function for determing OS flavor.

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 11 months ago by bac
Modified:
9 years, 11 months ago
Reviewers:
frankban, mp+220737
Visibility:
Public.

Description

Add a function for determing OS flavor. Determines OS and then for the case of Linuxes, determines whether the system uses apt-get or RPM. https://code.launchpad.net/~bac/juju-quickstart/get_os_version/+merge/220737 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 16

Patch Set 2 : Add a function for determing OS flavor. #

Total comments: 7

Patch Set 3 : Add a function for determing OS flavor. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -2 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A quickstart/platform_support.py View 1 2 1 chunk +61 lines, -0 lines 0 comments Download
M quickstart/tests/test_manage.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
A quickstart/tests/test_platform_support.py View 1 1 chunk +84 lines, -0 lines 0 comments Download
M requirements.pip View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 5
bac
Please take a look.
9 years, 11 months ago (2014-05-22 23:53:29 UTC) #1
frankban
This branch is nive Brad, thank you! I just have some minor comments below, with ...
9 years, 11 months ago (2014-05-23 08:16:31 UTC) #2
bac
Please take a look. https://codereview.appspot.com/99410054/diff/1/quickstart/manage.py File quickstart/manage.py (right): https://codereview.appspot.com/99410054/diff/1/quickstart/manage.py#newcode58 quickstart/manage.py:58: class UnsupportedOS(Exception): On 2014/05/23 08:16:31, ...
9 years, 11 months ago (2014-05-23 13:42:27 UTC) #3
frankban
LGTM with minors. Thank you! https://codereview.appspot.com/99410054/diff/20001/quickstart/platform_support.py File quickstart/platform_support.py (right): https://codereview.appspot.com/99410054/diff/20001/quickstart/platform_support.py#newcode22 quickstart/platform_support.py:22: ) In the other ...
9 years, 11 months ago (2014-05-23 13:56:35 UTC) #4
bac
9 years, 11 months ago (2014-05-23 14:02:42 UTC) #5
*** Submitted:

Add a function for determing OS flavor.

Determines OS and then for the case of Linuxes, determines whether the
system uses apt-get or RPM.

R=frankban
CC=
https://codereview.appspot.com/99410054

https://codereview.appspot.com/99410054/diff/20001/quickstart/platform_suppor...
File quickstart/platform_support.py (right):

https://codereview.appspot.com/99410054/diff/20001/quickstart/platform_suppor...
quickstart/platform_support.py:22: )
On 2014/05/23 13:56:35, frankban wrote:
> In the other quickstart modules we separate the __future__ imports from the
> other ones, considering them a special case. This is not required by PEP8, so
> change it only if you like the idea.

Done.

https://codereview.appspot.com/99410054/diff/20001/requirements.pip
File requirements.pip (right):

https://codereview.appspot.com/99410054/diff/20001/requirements.pip#newcode26
requirements.pip:26: # here when moving to a newer jujuclient that fixes that
does correctly
On 2014/05/23 13:56:35, frankban wrote:
> s/that fixes //

Done.

https://codereview.appspot.com/99410054/diff/20001/requirements.pip#newcode32
requirements.pip:32: 
On 2014/05/23 13:56:35, frankban wrote:
> Blank line?

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b