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

[feature] Implement --server flag in art:build-info & art:property commands #45

Merged
merged 40 commits into from
May 31, 2023

Conversation

danimtb
Copy link
Member

@danimtb danimtb commented May 22, 2023

closes #43
closes #36

@danimtb danimtb changed the title [feature] Implement --server flag in art:build-info commands [feature] Implement --server flag in art:build-info & art:property commands May 23, 2023
@@ -14,6 +15,8 @@
from conans.model.recipe_ref import RecipeReference
from conan import conan_version

SERVERS_FILENAME = ".art-servers"

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)

Copy link
Member Author

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)

@danimtb danimtb marked this pull request as ready for review May 23, 2023 10:59
@danimtb danimtb requested a review from czoido May 23, 2023 10:59
Copy link
Member

@AbrilRBS AbrilRBS left a 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 :)

Copy link
Contributor

@czoido czoido left a comment

Choose a reason for hiding this comment

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

Really nice!

@czoido czoido merged commit adb81c6 into main May 31, 2023
@czoido czoido deleted the danimtb/art_bi_server branch June 7, 2023 14:08
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.

Improve credentials management in conan art:build-info commands
4 participants