Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPDX licence header #590

Closed
Nelson-numerical-software opened this issue Feb 25, 2022 · 4 comments · Fixed by #626
Closed

SPDX licence header #590

Nelson-numerical-software opened this issue Feb 25, 2022 · 4 comments · Fixed by #626
Projects
Milestone

Comments

@Nelson-numerical-software
Copy link
Collaborator

update license HEADER template to SPDX format
https://spdx.dev/ids/
smaller and standard way to do

@Nelson-numerical-software
Copy link
Collaborator Author

Nelson could also migrate to LGPL v3 and GPLv3 in the same PR
Nelson with FTTW + slicot -> GPLv3
Nelson without FTTW and slicot -> LGPLv3

Currently all sources in nelson are LGPL compliant. Only when dynamic libraries are available on target, Nelson can use them in this case --> GPL

@Nelson-numerical-software
Copy link
Collaborator Author

Header Before:


//=============================================================================
// Copyright (c) 2016-present Allan CORNET (Nelson)
//=============================================================================
// This file is part of the Nelson.
//=============================================================================
// LICENCE_BLOCK_BEGIN
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// Alternatively, you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation; either version 2 of
// the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this program. If not, see <http://www.gnu.org/licenses/>.
// LICENCE_BLOCK_END
//=============================================================================

@Nelson-numerical-software
Copy link
Collaborator Author

https://spdx.org/licenses/

Header after:

//=============================================================================
// Copyright (c) 2016-present Allan CORNET (Nelson)
//=============================================================================
// This file is part of the Nelson.
//=============================================================================
// LICENCE_BLOCK_BEGIN
// SPDX-License-Identifier: LGPL-3.0-or-later
// LICENCE_BLOCK_END
//=============================================================================

@Nelson-numerical-software Nelson-numerical-software moved this from TO DO to IN PROGRESS in Nelson 2022 Apr 2, 2022
@Nelson-numerical-software
Copy link
Collaborator Author

# LICENCE_BLOCK_BEGIN((.|\n)*)# LICENCE_BLOCK_END

# LICENCE_BLOCK_BEGIN
# SPDX-License-Identifier: LGPL-3.0-or-later
# LICENCE_BLOCK_END


; LICENCE_BLOCK_BEGIN((.|\n)*); LICENCE_BLOCK_END

; LICENCE_BLOCK_BEGIN
; SPDX-License-Identifier: LGPL-3.0-or-later
; LICENCE_BLOCK_END

// LICENCE_BLOCK_BEGIN((.|\n)*)// LICENCE_BLOCK_END

// LICENCE_BLOCK_BEGIN
// SPDX-License-Identifier: LGPL-3.0-or-later
// LICENCE_BLOCK_END


% LICENCE_BLOCK_BEGIN((.|\n)*)% LICENCE_BLOCK_END

% LICENCE_BLOCK_BEGIN
% SPDX-License-Identifier: LGPL-3.0-or-later
% LICENCE_BLOCK_END

@Nelson-numerical-software Nelson-numerical-software moved this from IN PROGRESS to DONE in Nelson 2022 Apr 13, 2022
@Nelson-numerical-software Nelson-numerical-software moved this from DONE to DONE (Nelson 0.6.4) in Nelson 2022 Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Nelson 2022
DONE (Nelson 0.6.4)
Development

Successfully merging a pull request may close this issue.

1 participant