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

assume collections created under {calendar,addressbook}-home-set paths are those types #21

Closed
jelmer opened this issue Mar 15, 2017 · 2 comments
Milestone

Comments

@jelmer
Copy link
Owner

jelmer commented Mar 15, 2017

If MKCOL is used without a body, it would be useful to fall back to reasonable defaults.

It would be useful to assume collections created under calendar-home-set paths are calendars, and those created under addressbook-home-set paths are address books.

@jelmer
Copy link
Owner Author

jelmer commented Mar 18, 2017

This isn't strictly necessary for vdirsyncer, since it already specifies the right body when using MKCOL. https://github.com/pimutils/vdirsyncer/blob/master/vdirsyncer/storage/dav.py#L266

I think we should just fix #16

@jelmer
Copy link
Owner Author

jelmer commented Mar 21, 2017

Closing this, since it's not necessary for vdirsyncer - and I'd rather not make any assumptions about the resource types of collections just based on their path.

@jelmer jelmer closed this as completed Mar 21, 2017
@jelmer jelmer modified the milestone: 0.1 May 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant