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

IMAP Client + Server #11

Open
xarg opened this issue Nov 4, 2014 · 2 comments
Open

IMAP Client + Server #11

xarg opened this issue Nov 4, 2014 · 2 comments

Comments

@xarg
Copy link

xarg commented Nov 4, 2014

I need both the client and server implementation in Go. And I need them now..

At the moment this repo is the only imap server implementation I know of and https://github.com/mxk/go-imap seems to be the better implementation of an imap client.

After discussing this with the author of this repo and the author of the go-imap client it became clear that even though they are not against it they don't have the time to actually make this happen. So I decided to merge the 2 projects into a single repo (implementing both client and server):

https://github.com/xarg/imap

Why not separate repos?

For me this makes sense because I need both of them, but also because I want to reuse the code from both the client and the server and I don't want to manage dependencies. Testing the client and the server will also become easier. Think net/http.

Since this move would require quite a bit of refactoring, it would be pretty difficult to contribute back to any of the projects. This is unfortunate, but I don't see another way.

Contributions are welcome.

@alienscience
Copy link
Owner

Good luck with the combined project.

@xarg
Copy link
Author

xarg commented Nov 5, 2014

Thanks. Just a quick update:

I managed to make both server and client coexist in the same package. Both are still running. And it was surprisingly easy to do. Static typing helped a lot in this case as there we types that had the same name. All the tests are passing for both client and the one test for the server. There is still lots of work to do, but it's much easier to go on from here.

I also took the liberty to get some commits made by @greynaert and applied them to my repo. The copyright is still left intact for all the files that I got from this project. I will also try to give credit in each commit to the right contributor.

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

No branches or pull requests

2 participants