Questions tagged [spdx]

11 questions
211
votes
4 answers

"All Rights Reserved" license in package.json

I have a small node.js project that is company-internal and will not be released publicly or shared with third parties. It certainly will not be contributed to any public package repositories. But when I run npm install I always get the following…
wberry
  • 18,519
  • 8
  • 53
  • 85
202
votes
4 answers

What should I put in the license field of package.json if my code is only for use by the company I work for?

NPM 2.11.3 I'm building a library in Node. This library is only for use by the company I am currently working for. I think this means that the license is "None". But when I npm init it wants me to use an SPDX License. "None" or "Unlicensed" are not…
jcollum
  • 43,623
  • 55
  • 191
  • 321
53
votes
2 answers

Warning: SPDX license identifier not provided in source file

I created a new solidity contract. The contract is up and running but giving me this warning. Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier:…
user14606211
0
votes
1 answer

How to generate REUSE/SPDX info for a git repo

Intro The REUSE tool from the REUSE project by the Free Software Foundation Europe allows to add, maintain and extract detailed copyright and licensing info on a fine-grained scale, and it does that using a format that is both human- and…
hoijui
  • 3,615
  • 2
  • 33
  • 41
0
votes
0 answers

Is there a tool take a list of software packages and convert to SBoM (pref SPDX)?

I have a system from which I got a list of installed packages. I can't run any of the automated tools because it's an embedded Timesys Linux installation with BusyBox, but I do have a list of the installed packages and their versions. I need a…
J. Pfaff
  • 1
  • 1
  • 1
0
votes
1 answer

license-eye: Confusion on Pattern Replacements

I am trying to rewrite the license headers of a project I am working on so that it just has the copyright, the year, and the author of the project, and a reference to the SPDX of the license in question. As I understand it, I should be able to use…
Pythonicator
  • 49
  • 1
  • 6
0
votes
0 answers

Add SPDX license information to .m Matlab files

What is the proper place to add SPDX license information to .m Matlab files? In Matlab .m files are often written as functions with one (main) function per file. Matlab interprets comments of functions as inline documentation. If we simply write…
Jonas Stein
  • 6,826
  • 7
  • 40
  • 72
0
votes
0 answers

Add year of creation in the copyright header of each file with reuse

A git repository has many files and each file should get a SPDX license header. The license header should be created by reuse and use the year of creation as year in the copyright. example of what I want to get: $> head -v -n1 *.py # Prints…
Jonas Stein
  • 6,826
  • 7
  • 40
  • 72
0
votes
1 answer

How do I add as a comment in my code?

pragma solidity >=0.6.0 <0.9.0; contract SimpleStorage { //this will get initialized to 0! uint256 favoriteNumber; function store(uint256 _favoriteNumber) public { favoriteNumber = _favoriteNumber; //
Yohan.FBK
  • 3
  • 1
0
votes
1 answer

getting spdx warning even after providing spdx license

enter image description here python is unable to find "spdx" license I have written on the top, attachment is there, plz help me to find out what is wrong with this code
0
votes
1 answer

How can I add SPDX licensing info to an SVG file

Regarding SPDX. Though doing it with an HTML comment works: ... when editing the…
hoijui
  • 3,615
  • 2
  • 33
  • 41