https://opendal.apache.org/ logo
OSPP 2023 Project: Webdav Support for Oay
# general
cc @psiace @young_flash
If necessary, we can discuss the details here. Alternatively, feel free to contact us via Github or Maillist - whichever method you prefer.
Also cc all our @User
y
Hi all, I am going to read the code about
LocalFs
and
MemFs
in
dav-server-rs
detailly, trying to make our
WebDAVFs
. I will ask for help here if necessary, thanks 😝 You can reach out me here, I will reply ASAP. BTW, I will move to a new city, there are some chores waitting for me so I may be in slow response.
p
hi @young_flash , I'm glad to hear your thoughts on this project. If you don't mind, you can open an issue on GitHub to keep track of the overall status of the project. This will make it easier for you to manage and track milestone goals. You may also consider submitting an RFC, I believe others who are interested in oay will gain some inspiration from it.
y
ok, there are https://github.com/apache/incubator-opendal/issues/2153, should we make a new one? or the original one is good to go?
p
Perhaps https://github.com/apache/incubator-opendal/issues/2551 is a good example. For the specific implementation, we can use a new issue to track it.
y
x
Thanks a lot! PR merged.
y
Hi there. WebDAV support for oay is basically done for now. I am testing the behavior using [
litmus
](http://www.webdav.org/neon/litmus/), now it pass the
http
and
basic
test, as following:
Copy code
txt
-> running `http':
 0. init.................. pass
 1. begin................. pass
 2. expect100............. pass
 3. finish................ pass
<- summary for `http': of 4 tests run: 4 passed, 0 failed. 100.0%
-> running `basic':
 0. init.................. pass
 1. begin................. pass
 2. options............... pass
 3. put_get............... pass
 4. put_get_utf8_segment.. pass
 5. put_no_parent......... pass
 6. mkcol_over_plain...... pass
 7. delete................ pass
 8. delete_null........... pass
 9. delete_fragment....... WARNING: DELETE removed collection resource with Request-URI including fragment; unsafe
    ...................... pass (with 1 warning)
10. mkcol................. pass
11. mkcol_again........... pass
12. delete_coll........... pass
13. mkcol_no_parent....... pass
14. mkcol_with_body....... pass
15. finish................ pass
<- summary for `basic': of 16 tests run: 16 passed, 0 failed. 100.0%
-> 1 warning was issued.
but there are some problem with the
copymove
test, I can't figure them out but I will try to fix them. Will report here if there is any progress.
Copy code
txt
-> running `copymove':
 0. init.................. pass
 1. begin................. pass
 2. copy_init............. pass
 3. copy_simple........... pass
 4. copy_overwrite........ FAIL (COPY overwrites collection: 500 Internal Server Error)
 5. copy_nodestcoll....... pass
 6. copy_cleanup.......... pass
 7. copy_coll............. pass
 8. copy_shallow.......... pass
 9. move.................. FAIL (MOVE overwrites collection `/litmus/movecoll/' to `/litmus/movedest': 500 Internal Server Error)
10. move_coll............. FAIL (collection MOVE `/litmus/mvsrc/' to `/litmus/mvdest/': 500 Internal Server Error)
11. move_cleanup.......... pass
12. finish................ pass
<- summary for `copymove': of 13 tests run: 10 passed, 3 failed. 76.9%
x
Cool!
I'm guessing moving dir is not supported for most storage services.
y
I think I got the problem, will PR next.
Copy code
txt
-> running `copymove':
 0. init.................. pass
 1. begin................. pass
 2. copy_init............. pass
 3. copy_simple........... pass
 4. copy_overwrite........ pass
 5. copy_nodestcoll....... pass
 6. copy_cleanup.......... pass
 7. copy_coll............. pass
 8. copy_shallow.......... pass
 9. move.................. pass
10. move_coll............. pass
11. move_cleanup.......... pass
12. finish................ pass
<- summary for `copymove': of 13 tests run: 13 passed, 0 failed. 100.0%
x
Cool!
y
Hi community. I am trying to add CI for oay webdav test. I am not familiar with github action, can anyone help with [this error](https://github.com/Young-Flash/opendal/actions/runs/5989610845/job/16245983629)?
I don't understand, it exit without error reason report

https://cdn.discordapp.com/attachments/1122784753393881179/1145273603231846461/image.png▾

x
seems litmus exit with 1
Maybe we can remove
>> litmus.log
to see it's output?
Or, does litmus has a verbose mode which can print more logs?
y
seems not 🙁
will try
got the problem. litmus failed at
copymove
cause this [PR](https://github.com/apache/incubator-opendal/pull/2944) hadn't merged 😅
p
Hi @young_flash , just a friendly reminder to submit the project completion report in the OSPP before 2023/09/30 23:59 (UTC+8).
y
got it, thanks 😁
submited 🫡
4 Views