Skip to content

Dataset change default GitAccessCredentialsPrivate to False#60

Open
rahul-179 wants to merge 2 commits into
mainfrom
6922
Open

Dataset change default GitAccessCredentialsPrivate to False#60
rahul-179 wants to merge 2 commits into
mainfrom
6922

Conversation

@rahul-179

Copy link
Copy Markdown
Contributor

No description provided.

@rahul-179 rahul-179 requested a review from mak-454 May 22, 2021 07:29
@hemanthravi hemanthravi requested a review from songole May 22, 2021 15:03
@rahul-179 rahul-179 requested a review from hemanthravi May 22, 2021 15:16
@rahul-179 rahul-179 closed this May 22, 2021
@rahul-179 rahul-179 reopened this May 22, 2021
@rahul-179 rahul-179 requested a review from sameerjvn-old May 23, 2021 16:57
Comment thread dkube/sdk/rsrcs/code.py
if authopt == 'apikey':
self.gitcreds.apikey = authval
elif authopt == 'password':
self.gitcreds.private = True

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@rahul-179 if credentials are passed then private=True is correct right ?

@rahul-179 rahul-179 May 24, 2021

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@mak-454 yes, we will set private as true only if creds are passed
i removed it because function signature for update_git_details(self, url, branch=None, authopt=GIT_ACCESS_OPTS[0], authval=None)
always set authopt to GIT_ACCESS_OPTS[0]
which indirectly always set private to true

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.

2 participants