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

Generate LICENSE.txt from LICENSE.template #1753

Conversation

joergsteffens
Copy link
Member

@joergsteffens joergsteffens commented Mar 28, 2024

Moved away from generating debian/copyright and create LICENSE.txt instead.
Fix adding webui/copyright, remove unimportant sections, update to 2024.

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Check backport line
  • Required backport PRs have been created
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

Copy link
Contributor

@bruno-at-bareos bruno-at-bareos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work.

  • There's a fix for ./core/src/win32/plugins/filed/mssqlvdi-fd.cc instead of .c
  • A control to see why it would be mandatory to have it included in exception as it is AGPL.
  • We need to decide if we want this as LICENSE.txt in github root folder and then use that one for packaging.

debian/copyright Outdated Show resolved Hide resolved
debian/copyright.core_exceptions Outdated Show resolved Hide resolved
@joergsteffens joergsteffens force-pushed the dev/joergs/master/debian-copyright-update branch 2 times, most recently from d37c970 to ba432de Compare April 8, 2024 14:52
@bruno-at-bareos
Copy link
Contributor

We may want to sort out the building of LICENSE.txt in root related to #1755

@bruno-at-bareos
Copy link
Contributor

As discussed during the meeting, we would like to have this Makefile able to build /LICENSE.txt file
then debian can have a copy or use the result.

Copy link
Contributor

@bruno-at-bareos bruno-at-bareos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While it is ok now, could you handle the /LICENSE.txt generation?

@joergsteffens
Copy link
Member Author

As discussed in the DevMeeting, I'll do a rework and create the LICENSE.txt file.

@joergsteffens joergsteffens force-pushed the dev/joergs/master/debian-copyright-update branch from 183fda8 to 13e21fa Compare April 11, 2024 12:20
@joergsteffens joergsteffens changed the title update debian/copyright Generate LICENSE.txt from LICENSE.template Apr 11, 2024
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, we're almost done.
Please check my comments.

Copy link
Contributor

@bruno-at-bareos bruno-at-bareos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the removal of the cmake target, the README.md in third party need to be fixed. See suggestion.

third-party/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks nice improvement.

@joergsteffens joergsteffens force-pushed the dev/joergs/master/debian-copyright-update branch from 9930fd0 to 535874d Compare April 15, 2024 14:31
joergsteffens and others added 7 commits April 15, 2024 14:40
Fix adding webui/copyright, remove unimportant sections, update to 2024.
Create LICENSE.txt by calling

devtools/update-license-file.sh

which merges LICENSE.template and core/LICENSE.
core/LICENSE covers the code in core/
and stays unchanged, at it has been setup with legal help.

Before there has been a mechanism to update debian/copyright.
Now debian/copyright is just a link to LICENSE.txt,
which is formated according to
https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Co-authored-by: Bruno Friedmann @bareos <89836284+bruno-at-bareos@users.noreply.github.com>
... as this third-party library is alredy covered in LICENSE.txt
by calling:
devtools/update-license-file.sh
Moved file from core/cmake to cmake,
as it is not specific for core.
Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
@BareosBot BareosBot force-pushed the dev/joergs/master/debian-copyright-update branch from 3385f86 to cf0a2ee Compare April 15, 2024 14:40
@BareosBot BareosBot merged commit 8d7a779 into bareos:master Apr 15, 2024
@joergsteffens joergsteffens deleted the dev/joergs/master/debian-copyright-update branch April 15, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants