Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ and this project adheres to
- Introduce AutoPager context manager for auto-paging feature on TTY (#44).
- Add dependency on `rfl.core`.

### Changed
- Change license from GPLv3+ to LGPLv3+.

## [1.5.0] - 2025-06-27

### Added
Expand Down
827 changes: 159 additions & 668 deletions LICENSE

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ services.

## License

RFL is distributed under the terms of the GNU General Public License v3.0
or later (GPLv3+).
RFL is distributed under the terms of the GNU Lesser General Public License v3.0
or later (LGPLv3+).
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL"
version = "1.5.0"
description = "Rackslab Foundation Library"
license = "GPL-3.0-or-later"
license = "LGPL-3.0-or-later"
requires-python = ">=3.6"

[tool.ruff.lint]
Expand Down
2 changes: 1 addition & 1 deletion src/authentication/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL.authentication"
version = "1.5.0"
description = "Rackslab Foundation Library: authentication package"
license = "GPL-3.0-or-later"
license = "LGPL-3.0-or-later"
requires-python = ">=3.6"
keywords = ["utility", "basic"]
authors = [
Expand Down
2 changes: 1 addition & 1 deletion src/authentication/rfl/authentication/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

from rfl.core.errors import RFLError

Expand Down
2 changes: 1 addition & 1 deletion src/authentication/rfl/authentication/jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import typing as t
import secrets
Expand Down
2 changes: 1 addition & 1 deletion src/authentication/rfl/authentication/ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

from typing import Optional, List, Tuple
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion src/authentication/rfl/authentication/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

from typing import Union, List

Expand Down
2 changes: 1 addition & 1 deletion src/authentication/rfl/tests/test_jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

from pathlib import Path
import stat
Expand Down
2 changes: 1 addition & 1 deletion src/authentication/rfl/tests/test_ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import unittest
from unittest.mock import patch, Mock
Expand Down
2 changes: 1 addition & 1 deletion src/authentication/rfl/tests/test_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import unittest

Expand Down
2 changes: 1 addition & 1 deletion src/build/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL.build"
version = "1.5.0"
description = "Rackslab Foundation Library: build package"
license = "GPL-3.0-or-later"
license = "LGPL-3.0-or-later"
requires-python = ">=3.6"
keywords = ["utility", "basic"]
authors = [
Expand Down
2 changes: 1 addition & 1 deletion src/build/rfl/build/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

from rfl.core.errors import RFLError

Expand Down
2 changes: 1 addition & 1 deletion src/build/rfl/build/installsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import os
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion src/build/rfl/build/projectversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

"""
This tiny utility loads pyproject.toml file of current working directory project,
Expand Down
2 changes: 1 addition & 1 deletion src/build/rfl/build/scripts/setup
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

"""
This setup.py loads parameter defined in pyproject.toml and calls setuptools.setup()
Expand Down
2 changes: 1 addition & 1 deletion src/build/rfl/tests/test_ninja.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import unittest
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion src/core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL.core"
version = "1.5.0"
description = "Rackslab Foundation Library: core package"
license = "GPL-3.0-or-later"
license = "LGPL-3.0-or-later"
requires-python = ">=3.6"
keywords = ["utility", "basic"]
authors = [
Expand Down
2 changes: 1 addition & 1 deletion src/core/rfl/core/asyncio.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

"""This module contains a backport of asyncio.run() compatible with Python 3.6. It is
designed to be called through asyncio_run() function which detects Python interpreter
Expand Down
2 changes: 1 addition & 1 deletion src/core/rfl/core/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later


class RFLError(Exception):
Expand Down
2 changes: 1 addition & 1 deletion src/core/rfl/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

from typing import List
import shlex
Expand Down
2 changes: 1 addition & 1 deletion src/core/rfl/tests/test_asyncio.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import unittest
import asyncio
Expand Down
2 changes: 1 addition & 1 deletion src/core/rfl/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import unittest

Expand Down
2 changes: 1 addition & 1 deletion src/log/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL.log"
version = "1.5.0"
description = "Rackslab Foundation Library: log package"
license = "GPL-3.0-or-later"
license = "LGPL-3.0-or-later"
requires-python = ">=3.6"
keywords = ["utility", "basic"]
authors = [
Expand Down
2 changes: 1 addition & 1 deletion src/log/rfl/log/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

from typing import Optional, List
import logging
Expand Down
2 changes: 1 addition & 1 deletion src/log/rfl/log/formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import typing as t
import sys
Expand Down
2 changes: 1 addition & 1 deletion src/log/rfl/log/pager.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion src/log/rfl/tests/test_formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import unittest
from unittest import mock
Expand Down
2 changes: 1 addition & 1 deletion src/log/rfl/tests/test_pager.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import unittest
from unittest import mock
Expand Down
2 changes: 1 addition & 1 deletion src/log/rfl/tests/test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import unittest
import logging
Expand Down
2 changes: 1 addition & 1 deletion src/permissions/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL.permissions"
version = "1.5.0"
description = "Rackslab Foundation Library: permissions package"
license = "GPL-3.0-or-later"
license = "LGPL-3.0-or-later"
requires-python = ">=3.6"
keywords = ["utility", "basic"]
authors = [
Expand Down
2 changes: 1 addition & 1 deletion src/permissions/rfl/permissions/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

from rfl.core.errors import RFLError

Expand Down
2 changes: 1 addition & 1 deletion src/permissions/rfl/permissions/rbac.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import configparser
import logging
Expand Down
2 changes: 1 addition & 1 deletion src/permissions/rfl/tests/test_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import unittest

Expand Down
2 changes: 1 addition & 1 deletion src/settings/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL.settings"
version = "1.5.0"
description = "Rackslab Foundation Library: settings package"
license = "GPL-3.0-or-later"
license = "LGPL-3.0-or-later"
requires-python = ">=3.6"
keywords = ["utility", "basic"]
authors = [
Expand Down
2 changes: 1 addition & 1 deletion src/settings/rfl/settings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

from pathlib import Path
import urllib
Expand Down
2 changes: 1 addition & 1 deletion src/settings/rfl/settings/definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

from pathlib import Path
import urllib
Expand Down
2 changes: 1 addition & 1 deletion src/settings/rfl/settings/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

from rfl.core.errors import RFLError

Expand Down
2 changes: 1 addition & 1 deletion src/settings/rfl/settings/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import configparser
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion src/settings/rfl/tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import unittest
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion src/web/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RFL.web"
version = "1.5.0"
description = "Rackslab Foundation Library: web package"
license = "GPL-3.0-or-later"
license = "LGPL-3.0-or-later"
requires-python = ">=3.6"
keywords = ["utility", "basic"]
authors = [
Expand Down
2 changes: 1 addition & 1 deletion src/web/rfl/tests/test_tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

import unittest
import tempfile
Expand Down
2 changes: 1 addition & 1 deletion src/web/rfl/web/tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RFL.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LGPL-3.0-or-later

from functools import wraps
from pathlib import Path
Expand Down