Questions tagged [source-code]

Source Code is a human-readable collection of instructions in a programming language used to produce a computer program.

Filter by
Sorted by
Tagged with
66
votes
2answers
10k views

Why is CC BY-SA discouraged for code?

Everybody knows that you shouldn't use a CC BY-SA license on your code. Even the Creative Commons folk recommend against it. What I don't know or understand is why. I can't seem to find any ...
24
votes
3answers
3k views

Do I have to offer the source of an AGPL (v3.0) licensed Web app even if I didn’t modify it?

The point of using the GNU Affero General Public License (Version 3) is that it allows "users who interact with the licensed software over a network to receive the source for that program" (FSF). ...
14
votes
2answers
1k views

What license can I use for source code in an (e)book, that does not restrict binary distribution?

I'm writing an eBook (perhaps to be published physically one day) on the topic of programming. As such, it contains many coding samples. I want to expressly allow readers to copy the source code of ...
12
votes
1answer
2k views

Derived work of BSD licensed software, how do I indicate this?

I found a javascript module (file), which contains two functions, and I would like to modify it under the terms of its BSD license. I'm happy for the resulting source file to be declared derived work ...
11
votes
5answers
264 views

Software licensing - Pre 1970's

From reference, page 4, The official ubuntu book, Eighth edition, As computer’s became cheaper and more numerous in the late 1970’s, producer’s of software began to see value in the software itself....
11
votes
3answers
5k views

AGPLv3 source redistribution: when does it apply to my code for a server-side Java app using an AGPL-licensed library?

I have written a Java program designed to run server-side with a plain HTML web interface: My app is based based on Apache Tomcat and I wrote a bunch of servlets. I am reusing and I have integrated ...
11
votes
2answers
323 views

What counts as adaptation for using code licensed under CC BY-SA 4.0 in software licensed under GPLv3?

Since 2015-10-08, GPLv3 is listed as one-way compatible license for CC BY-SA 4.0: […] you may license your contributions to adaptations of BY-SA 4.0 materials under GPLv3, but you may not license ...
10
votes
2answers
435 views

Does “the GPL doesn't cover the ouput of a program” also apply if the output is source code?

As it is well known (see for example this question or this one), the GPL licenses do not cover the output of a GPL-licensed program. So, I could for example generate some pictures with a GPL-licensed ...
9
votes
1answer
634 views

Is there any way to assert that a source code correspond to a compiled code?

When using a program that was compiled from open source code by a 3rd party and not by yourself directly, how is it possible to check that the binary program is well built against an exact source code ...
8
votes
3answers
208 views

Can a novel be open source, although it does not have a source?

If I want something I have written release as open source, for instance a novel, is that possible? A novel does not have a source, the work itself is all that is needed to recreate the work. In cases ...
7
votes
2answers
667 views

How do Open Source projects manage continuous delivery credentials?

If one has an open source project that is deployed somewhere in the cloud via a continuous delivery pipeline, how can the programmatic credentials needed for the CI/CD to deploy the application ...
7
votes
3answers
219 views

Can a quine be distributed as binary only and be open source?

If the author of a program that outputs its own source code (quine) makes it open source, can others just distribute it as binaries? Does it matter which popular open source license he used, say GPL ...
7
votes
2answers
1k views

How to properly re-license code released under the MIT License?

Suppose I fork a software with 1000 files licensed under the MIT License. There's only a LICENSE file in the root of the project (no MIT License notice at the beginning of the files). Now, if I add ...
7
votes
1answer
88 views

Can I license Latex code under GPL but the content under CC BY-SA?

I have written a non-trivial scientific text for university. It is written in Latex and I want to make the source available under GPL (v3 if that matters) so other can learn from my Latex skills. ...
6
votes
1answer
1k views

MIT-licensed app without the source code

There is one very cool app on GitHub, under the MIT license. However, for some reason, the author has not published the source code, only binaries. Is it allowed under the MIT license to provide ...
6
votes
1answer
437 views

Who owns the copyright to code which the author was paid to write?

For example, the repository owner owns the app, publishes the partial source code, and creates few tasks supported by some bounty to write some new components (such as new functions, classes, etc.). ...
6
votes
3answers
2k views

Do I need to host Qt source when compling with LGPLv3 license?

We are using Qt(5.3.2 - opensource) for one of our applications that we are going to be distributing (closed-source). We dynamically link to Qt and have made no modifications to Qt. At Qt's Legal ...
6
votes
2answers
167 views

Open source software: How do I know whether it uses the actual code? [duplicate]

Because of the current debate about tracking and privacy regarding the new Corona apps, I'd like to know in general, if an app or software really uses solely the code that it claims to be build on if ...
6
votes
2answers
84 views

Are there rules on what to do with an old OpenSource software with a security issue?

I created Zipios version 2.x in 2015 based on an existing library and inherited the old version (0.1.5) as a result... In June 2019, I got an email from Mike Salvatore who reported having a problem ...
6
votes
3answers
253 views

How to deal with copy-left in source-code history prior open-sourcing?

Given the following situation: A software project is released as open-source under a non-invasive license (e.g., BSD 2/3 clause, Apache 2, ...). During the process, the entire Git repository is made ...
5
votes
1answer
2k views

GPL - Is it required to post source code to the Public - when is a software released?

The GPL FAQ "Does the GPL require that source code of modified versions be posted to the public?" contains this statement (emphasis by me): The GPL does not require you to release your ...
5
votes
2answers
2k views

Do I have to disclose the source code of a Linux Driver I have not developed?

A 3rd-party Hardware manufacturing company is willing to sell me a Linux Driver for one of their products. The third-party company claims that the Linux Driver is derivative work of the driver they ...
5
votes
1answer
770 views

Code obfuscation and GPL3

I have a project, written in Python, which has lots of different functionalities. I will sell this project to third parties. I'm calling a GPL3 licensed Python program via a subprocess call in parts ...
5
votes
1answer
664 views

License for R scripts

As long as I understood a piece of code is data for the interpreter and thus according to this Q&A an R script is not automatically licensed under GPL. Is that correct? So if I make an R script ...
5
votes
2answers
56 views

Is it OK to change url scheme for the links to Apache 2 license?

For an open source project is it OK to modify the original LICENSE.txt file from https://www.apache.org/licenses/LICENSE-2.0.txt and also the source file headers to use https instead of http for the ...
4
votes
1answer
774 views

Open Source projects with encryption keys

I currently have a project which I'm planning in the not too distant future to open source on GitHub. The question I have is regarding how open source projects are released if they have encryption ...
4
votes
1answer
74 views

Are there examples of the free software which are available to run and copy as gratis but source code is being sold?

Think of the software which is being distributed in following way: Available to download gratis and giving the freedom to run the software for any purpose as you wish, the freedom to redistribute ...
4
votes
1answer
1k views

Using a GPL V3 library in a Android app published on Google Play, do I need to release the application's source code?

I'm in a situation where I'm considering using a GPL V3 library in a module of an Android application. The application will be published to Google Play and will be available for free download. My ...
4
votes
1answer
118 views

Is Google's Chrome web browser truly open source?

I have been trying to understand if Google's Chrome web browser is truly open source. Some people claim that it is, while others claim that it integrates binary blobs for which the source is ...
4
votes
1answer
64 views

Do licenses actually apply to the source code or product itself?

I'm new to licensing and want to clarify something. Do licenses (such as Apache, MIT, GNU General Public etc.) apply to the source code or the (compiled) program? I thought it applied to the source ...
4
votes
2answers
58 views

Can I have the source code of my Python/C++ project under MIT/BSD/Apache2.0 and its PyPI binary wheel under GPLv2?

I am trying to find how to license my open source project, but after having spent a few hours Googling around, my head started to hurt! Instead of asking a million of questions about different ...
4
votes
1answer
100 views

Can I distribute non-GPL code that uses GPL code as long as I don't distribute myself that GPL code

I have some doubts about source code re-distribution and GPL I wrote DummyLib, a library that includes AmazingLib (third-party lib, released under GPL) and links against ProprietarySDK (no source, ...
4
votes
2answers
164 views

Reciprocal Public License - Usage in App, Commercial Limits

I require clarity on using a Reciprocal Public Licensed (RPL) assembly in my project. I want to use a RPL c++ code-assembly in my .net application. I plan to make no changes to the RPL assembly ...
4
votes
2answers
259 views

Meaning of Attribution in CC BY 3.0 for a JavaScript library

I come across a JavaScript library which is licensed under the CC BY 3.0 (US) license. The only restrictions of the license is Attribution — You must give appropriate credit, provide a link to the ...
4
votes
1answer
90 views

Open source license that only affects code

I have a repository (a website) available on Github which contains code, media and texts. Everything is freely available (either on the website or via the code on Github). I want to let the code ...
4
votes
1answer
305 views

In the .NET AssemblyInfo.cs, where to put the license info?

In .NET, assemblies have their AssemblyInfo.cs file where one can put general descriptive info about the assembly. But, where to explicitly put an (open source) license? I will have a copyright, which ...
4
votes
2answers
130 views

Does reading code and re-implementing the logic, and releasing under your name count as a licensing violation of MIT?

I'm not clear on what counts as a "copy" in the case of code. If I read your code, that was MIT licensed, implement a similar logic on my own and use no code fragments from the original author, does ...
3
votes
1answer
296 views

What is the license of code found in ObservableHQ?

What is the license of code found in ObservableHQ, for example this one? I really tried reading The Observable Terms of Service but I couldn't get a conclusive answer by myself. The following excerpt ...
3
votes
1answer
53 views

GPL v3 - Does freely distributed software that includes GPL licensed code also require sharing source?

The Arkansas Division of Land Surveys shares all of their documents as pdfs with password protection, and they have a little viewer app that has the password built in: https://surveyor.arkansas.gov/...
3
votes
1answer
632 views

Can I use source code licensed under CC-BY-SA for commercial closed source project?

I want to use some source code under CC-BY-SA for my company's project. That project is commercial and closed source code. I want our project not to have obligation to release the source code. Is this ...
3
votes
1answer
178 views

Creating a game based on a story licensed under CC BY-SA 3.0

Some of you may be familiar with the collaborative fiction site SCP. Their content is licensed under the CC BY-SA 3.0 license. Suppose I am trying to create a game based on this. Under the ShareAlike ...
3
votes
2answers
1k views

How do I get the kernel source for my Android tablet?

As I understand it, the Android kernel is GPL. Doesn't that mean that if I buy an Android tablet the manufacturer has to make the kernel source available? There is no source on their website and ...
2
votes
2answers
154 views

Code obfuscation in FOSS source code

Is code obfuscation allowed in FOSS source code as per any of the popularly used FOSS licenses? If it is allowed, to what degree and extent?
2
votes
3answers
865 views

Finding open source in closed-source code?

Sorry for the title, I don't master the subject enough to find a clear one. I see that free licenses come with a "same license" and "disclose source" mentions, like stated here. For instance, I have ...
2
votes
2answers
109 views

License of code generated by a code generator

I am wondering under what license the code generated by a code generator that generates code from conditional code templates would fall under. Would it be possible to release the generator's source ...
2
votes
1answer
51 views

Are there any places for abandoned repos to be transferred?

It's true that big outfits like Github aim to be around for at least the next decade or so, so arguably it's not a big deal for repos to just sit in user accounts. However, other questions make clear ...
2
votes
1answer
43 views

NAS vendor modified rsync with own options; can I ask for the source code?

My NAS has an app which includes a modified version of rsync version 3.1.3 with additional options: --XXXX-mode=mode 0:Normal, 1:XXXXXX, 2:USB copy 3:HD copy USB --check-dest ...
2
votes
1answer
178 views

Sub-dependencies and code disclosure

I'm using in my code dependencies managed by npm. For example I'm using uglify-js which is using BSD license (which doesn't require code disclosure). But this plugin uses as dependency (so to my ...
2
votes
1answer
26 views

Do I need to include the licence for part of a program, which I have modified?

The X window manager dwm is designed to be customised by copying its default configuration config.def.h (which is supplied, along with the program's source code, under the MIT/X consortium licence) ...
2
votes
1answer
51 views

Clarification on using FFmpeg in an open source app

Can someone please clarify the legality of bundling and using the full version of FFmpeg (with included libx264 and libx265 and other gpl codecs) in an open source app. I don't want to modify ...