Questions tagged [source-code]
Source Code is a human-readable collection of instructions in a programming language used to produce a computer program.
115
questions
87
votes
2
answers
17k
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 ...
27
votes
3
answers
5k
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).
...
19
votes
3
answers
11k
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 ...
16
votes
2
answers
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 ...
16
votes
1
answer
2k
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 ...
15
votes
2
answers
2k
views
Does "the GPL doesn't cover the output 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 ...
14
votes
6
answers
427
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....
13
votes
1
answer
3k
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 ...
12
votes
4
answers
4k
views
Is a software open source if its source code is published by its copyright owner but cannot be used without a commercial license? [duplicate]
Suppose I wrote a commercial program, and I publish its complete source code on my website. I retain all rights to the source code. No one gets any distribution or usage rights. They only have the ...
11
votes
2
answers
683
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 ...
9
votes
2
answers
805
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 ...
8
votes
2
answers
2k
views
Does modified server code, used in public website development, which is originally available under GPL2 have to be released to the public?
To be precise, I am referring to MySql source code which is available under GPL2. I want to make certain modifications in the code which is actually for some custom requirement.
The modified MySql ...
8
votes
3
answers
243
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 ...
8
votes
1
answer
1k
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.).
...
8
votes
2
answers
2k
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
1
answer
4k
views
Can I sell UNMODIFIED Open source software without providing the actual source code?
Since everyone can sell open source software, modified or unmodified, at any price, under GPL and MPL as long as I know, can I do it without providing the source code since the recipients are just &...
7
votes
1
answer
2k
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 ...
7
votes
2
answers
3k
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 ...
7
votes
3
answers
271
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
3
answers
619
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 ...
7
votes
2
answers
2k
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 ...
7
votes
2
answers
2k
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 ...
7
votes
1
answer
153
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
3
answers
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
2
answers
1k
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
2
answers
125
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
1
answer
867
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 ...
6
votes
3
answers
710
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
1
answer
3k
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
2
answers
111
views
I accidentally left a crude, personally-insulting debug print line in a public pull request
It was left there for four hours before I discovered it. Obviously, I fixed that with a force push.
What else can I (or should I) do?
5
votes
1
answer
2k
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 ...
5
votes
1
answer
1k
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
1
answer
179
views
Are Source-code-based Open Educational Resources and CC-Licenses Incompatible?
For my post, I assume that for software developers or authors of educational texts, an important part of choosing the proper license for their work is attribution: as the original author, I would want ...
5
votes
1
answer
261
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 ...
5
votes
1
answer
116
views
Is it a GPL violation to provide source code in a format that can only be opened or "compiled" with non-free software?
Looking through the GPL FAQ, there is the question of if you can use the GPL license for non-software products, as long as it is clear what constitutes the source code. Of course, that does not mean ...
5
votes
2
answers
452
views
How to reuse code in GitHub without passing other code as mine?
I'm doing my first real project on Github (in Python) and I'm using functions from two other repos (which I'll call foo and bar) as well as rewriting some of their modules.
I have two options.
Option ...
5
votes
1
answer
685
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 ...
5
votes
2
answers
90
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 ...
5
votes
1
answer
106
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
1
answer
814
views
If I use a mobile app that fetches data from a website under GPLv2+ is the app also under GPL?
I am currently programming a mobile app that is not under the GPL.
However, the mobile app correspond with a website that is under GPL Version 2 or higher. In my case the mobiel app send request via ...
4
votes
1
answer
595
views
google_font license (Apache2.0) has no Copyright what to do?
I'm currently programming an app with flutter and have already listed all the licenses I use from the packages on an individual license page in the Settings.
I also used the google_font package.
...
4
votes
1
answer
1k
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
1
answer
165
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
1
answer
779
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
2
answers
110
views
Call GPL functionality from non-GPL interpreted code
I have code written in R, an interpreted language. The R interpreter and most R libraries are under the GPL. What are the limits upon my code, if I want to distribute it while keeping it proprietary ...
4
votes
2
answers
212
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
1
answer
502
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
2
answers
227
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
2
answers
404
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 ...
3
votes
2
answers
508
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?