arowM / haskell-google-server-api

Google APIs for server to server applications
https://hackage.haskell.org/package/google-server-api
Other
5 stars 4 forks source link

Use my Haskell package, don't copy/paste my code inside #4

Closed MichelBoucey closed 3 years ago

MichelBoucey commented 3 years ago

I'm the author of the google-oauth2-jwt package which is open-sourced on Hackage and Stackage.

I'm sure you know that the honest way to use open-sourced code is to use the package you are interested in, not to, as you say, "borrow" the code inside this package, which is the hard work of another one. It is just plagiarism.

Why don't you "borrow" other packages, unordered-containers or wai and wai-extra packages ? Why not? My code is at the core of the so-called "your work". You should ironically "star" my google-oauth2-jwt package, don't you?

It is a rule of Open Source, as in all intellectual work areas, to be fair enough to not copy/paste the work of another one.

So please, be kind, and elegant enough, to use my package.

N.B. : Copyright Kadzuya Okamoto (c) 2018... You seems to believe in Open Source LICENSE, don't you? So, respect others.

arowM commented 3 years ago

I'm sorry I made you feel bad, but please see the LICENSE file of this library you referred in your comment again carefully. I have clearly indicated your license in the file. It has been here from Initial commit. I'm not a professional for the rule of Open Source so I don't know if this is sufficient, but at least it doesn't suggest that I am plagiarizing with malicious intent.

Also, I have a reason I didn't make your "google-oauth2-jwt" a dependent library. It is because it wasn't enough to use the functions and types that your library exports. I had to rewrite the code you had written to achieve my goal. If you know a better way to achieve my goal, please let me know.

Or maybe I'm misusing the word "borrow". I am not a native English speaker, so I do not know the correct meaning of the word "borrow". That may be the reason why it made you feel uncomfortable.

I intended to use the word "borrow" to explicitly indicate that:

It is not my intention to make you feel uncomfortable, as you helped me back then with google-auth2-jwt. I may have been inadequate. Please let me know what you want me to do again after knowing the above facts.

MichelBoucey commented 3 years ago

I didn't saw you copy my license. It is the most important indeed. My bad. For me it is enough to close this issue.

But, for your information, despite the fact you did quite honestly things, you still did things a very wrong way.

In the BSD3 license, it was written that:

"Neither the name of Author Michel Boucey nor the names of other contributors may be used to endorse or promote products derived from this software without specific prior written permission."

I think it's clear enough. I didn't know you were using my code, I found it by myself. It is unpleasant.

You are certainly not as naive as your answer and your behavior seems to be. I'm quite sure you know how to develop with open-sourced code, as, at least, you use git and Github and are, much more than you are saying, a professional. In this case :

But, indeed, the shortest and trivial answer as I already told you: use packages Open Source developers offers to you as they are, or help to enhance their packages, so the name of Open Source community. It's the only way to do things honestly. Or DIY.

All this issue is just about honesty.

So I hope, despite all this, we gonna work together and you gonna use my package.

N.B. : Weird, but never talk to a goat before.

arowM commented 3 years ago

Thank you. To be honest, I don't remember much about it at the time, but I think the other JWT libraries were designed for client-side authentication with Google . I wanted a way to do server-side authentication. Now there are libraries that didn't exist back then, and my programming skills have improved since then, so I will consider a better way that fits the OSS philosophy.