|Re: [eclipse.org-committers] How to deal with stackoverflow contributions|
Generally I'd say it's nok OK to copy/paste code from anywhere, regardless of whether the result ends up in Eclipse or some other code. However the sample given is a pattern, I've seen variants of it in a lot of Eclipse code, and not an algorithm or of such substance that it can be copyrighted. I'd guess that this particular code originates from an Eclipse plugin in the first place. The legal process poster does not mention snippets, so I cannot say whether or not a CQ is required, but I doubt it. In this case I'd go for attribution, at least for more substantial code.  https://www.eclipse.org/legal/EclipseLegalProcessPoster.pdf -- Torkild Ulvøy Resheim Senior Software Engineer at Itema AS Granåsveien 3, 7069 Trondheim +47 922 43 638 torkild.resheim@xxxxxxxx www.itema.no > 7. jun. 2018 kl. 19:38 skrev Christian Pontesegger <christian.pontesegger@xxxxxx>: > > Hi, > > I would like to ask how we should deal @ eclipse with code saples taken from stackoverflow. Nowaday it is quite common to find code snippets on stackoverflow and reuse them for own implementations. While this might be common practice, I would like to know how such contributions should be dealt with. > > Stackoverflow has a license > https://stackoverflow.blog/2009/06/25/attribution-required/ > > that at least requires attribution. Say we would re-use a code snippet like this one: > https://stackoverflow.com/questions/30031748/how-to-get-image-from-plugin-internal-resources?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa > > What would be the correct way to use it within a commit? Attribution in the source code next to the snippet? Would we need to file a CQ? > > > thanks for your answers > Christian > > _______________________________________________ > eclipse.org-committers mailing list > eclipse.org-committers@xxxxxxxxxxx > https://dev.eclipse.org/mailman/listinfo/eclipse.org-committers > > IMPORTANT: Membership in this list is generated by processes internal to the Eclipse Foundation. To be permanently removed from this list, you must contact emo@xxxxxxxxxxx to request removal.
Description: Message signed with OpenPGP
Back to the top