-
Notifications
You must be signed in to change notification settings - Fork 27
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
[feature] Implement --server flag in art:build-info & art:property commands #45
Conversation
@@ -14,6 +15,8 @@ | |||
from conans.model.recipe_ref import RecipeReference | |||
from conan import conan_version | |||
|
|||
SERVERS_FILENAME = ".art-servers" |
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.
I'd try to use another name like SERVERS_FILE_EXTENSION
or SERVERS_FILE_EXT
to simplify...
Furthermore, I saw you're getting the path to this servers
file, so I think this could go as a global variable:
SERVERS_FILE_PATH = os.path.join(os.path.dirname(__file__), ".art-servers")
(even dropping SERVERS_FILE_EXTENSION
if it's only used here)
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.
it is not only the file extension but the name of the actual file (it is an encoded file)
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 nice to me, thanks for also updating the docs :)
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.
Really nice!
closes #43
closes #36