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

ENH add private arg to push #130

Merged
merged 7 commits into from
Sep 7, 2022
Merged

Conversation

adrinjalali
Copy link
Member

Fixes #112 and #114

@adrinjalali
Copy link
Member Author

@Narsil @osanseviero do we not want to support private repos on the inference side? I wanted to have all repos created by the CI to be private, but we can't test the inference engine if we make them private.

@adrinjalali
Copy link
Member Author

I'd say we can merge (if the CI is green) and make the inference test repo private once/if we support that in the backend side.

cc @skops-dev/maintainers

Copy link
Collaborator

@BenjaminBossan BenjaminBossan left a comment

Choose a reason for hiding this comment

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

Looks good to me, only found a typo.

skops/hub_utils/_hf_hub.py Outdated Show resolved Hide resolved
dst.rmdir()

# remove the folder only if it's empty and it exists
if dst.exists():
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm a bit astonished that the missing check did not cause trouble so far.

Copy link
Member Author

Choose a reason for hiding this comment

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

same

Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com>
@adrinjalali
Copy link
Member Author

adding some more docs ...

@adrinjalali
Copy link
Member Author

Now done!

@BenjaminBossan BenjaminBossan merged commit ad6eaa5 into skops-dev:main Sep 7, 2022
@adrinjalali adrinjalali deleted the private-push branch September 7, 2022 10:45
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.

Add private: bool to hub_utils.push
2 participants