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

Custom header for dvc webdav (#8933)Fix https://github.com/iterative/dvc/issues/8931 #8933

Merged
merged 4 commits into from
Feb 2, 2023

Conversation

frederik-sandfort
Copy link
Contributor

@skshetry I created a PR for the issue iterative/dvc-webdav#19 (by @conrad-stork) in order to add the possibility of setting a custom auth header. I included schema and tests for dvc. The tests ran fine in the development environment. Additionally, within the environment, the standard dvc functionality (dvc push, dvc pull) with the custom auth header in webdav worked fine. As stated previously, I did not include any version changes.

I also inlcuded a PR for documentation in order to add the functionality to the documentation.

Fix #8931 .

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

@skshetry
Copy link
Member

skshetry commented Feb 2, 2023

@frederik-sandfort, do you mind bumping the dvc-webdav version to 2.19.1?

webdav = ["dvc-webdav==2.19.0"]

@codecov
Copy link

codecov bot commented Feb 2, 2023

Codecov Report

Base: 93.34% // Head: 93.34% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (04870dd) compared to base (ae92154).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8933   +/-   ##
=======================================
  Coverage   93.34%   93.34%           
=======================================
  Files         453      453           
  Lines       36477    36510   +33     
  Branches     5274     5278    +4     
=======================================
+ Hits        34048    34082   +34     
+ Misses       1915     1914    -1     
  Partials      514      514           
Impacted Files Coverage Δ
dvc/config_schema.py 94.28% <ø> (ø)
tests/unit/remote/test_webdav.py 100.00% <100.00%> (ø)
dvc/output.py 88.98% <0.00%> (-0.08%) ⬇️
tests/func/test_repo_index.py 96.15% <0.00%> (+0.02%) ⬆️
dvc/repo/index.py 91.30% <0.00%> (+1.05%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@frederik-sandfort
Copy link
Contributor Author

@frederik-sandfort, do you mind bumping the dvc-webdav version to 2.19.1?

webdav = ["dvc-webdav==2.19.0"]

@skshetry I updated the dvc-webdav version

@skshetry skshetry enabled auto-merge (squash) February 2, 2023 10:50
@skshetry skshetry changed the title Custom header for dvc webdav Custom header for dvc webdav (#8933)Fix https://github.com/iterative/dvc/issues/8931 Feb 2, 2023
@skshetry skshetry merged commit 18fa1a0 into iterative:main Feb 2, 2023
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.

Custom header for dvc-webdav
2 participants