Commit Graph
8527 Commits
Author SHA1 Message Date
Sunil Mohan Adapa e208bdbbca setup: Ensure that force upgrade won't run when app is not installed
- This keep the initial setup of the app simple and efficient. Setup will be
less prone to any issues in force upgrade code. There are also fewer chances for
immediate regressions.

Tests:

- Tested as part of the patch series.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-02-15 19:47:48 -05:00
Sunil Mohan Adapa 56b58174b3 setup: Minor refactoring of force upgrader class instantiation
- It is okay to instantiate before shutdown to mark shutdown initiation.

- Still keep the instantiating lazy.

Tests:

- Tested as part of patch series.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-02-15 19:47:45 -05:00
James Valleroy 29d48e86b7 setup: Try force upgrade before running app setup
Avoid running setup if it would bypass a needed force upgrade.

Fixes: #2397

Tests:

- Rerun setup on an app and see that there are no errors.

- Install modified freedombox on bookworm and perform dist-upgrade to
  testing. Then rerun setup on Firewall app. It fails with the message "App
  firewall failed to force upgrade." firewalld package is not upgraded.

- Modify Firewall app to allow force upgrade to latest version. Then rerun
  setup on Firewall app. firewalld is successfully force upgraded.

  NOTE: In this case, Firewall setup is run twice, once by force upgrade, and
  again by rerun setup.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2024-02-15 19:47:41 -05:00
Sunil Mohan Adapa 7b2a65d449 container: Fix issue with missing make command on stable image
Fixes: #2402.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-02-15 19:42:33 -05:00
James Valleroy b09f2cd74e Release v24.4 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v24.4
2024-02-12 21:24:48 -05:00
James Valleroy 13793fee1f doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-02-12 21:23:44 -05:00
James Valleroy b355faf59a locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-02-12 20:40:56 -05:00
Besnik Bleta 510daf3d43 Translated using Weblate (Albanian)
Currently translated at 99.6% (1552 of 1558 strings)
2024-02-13 02:32:56 +01:00
James Valleroy 2d3c610f3a debian: Remove lintian override for init script
The lintian tag was removed. See:
https://salsa.debian.org/lintian/lintian/-/commit/579d080bff96a068abdd7eed566aca15d39fe6b9

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-02-12 20:18:52 -05:00
Sunil Mohan Adapa 2788d6810d Makefile: Move various tests into build system
- This allows those tests to be invoked on console and not just in CI pipelines.

Tests:

- Running make check works.

- CI pipeline succeeds.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
[jvalleroy: Remove phony test target]
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-02-12 19:17:16 -05:00
Sunil Mohan Adapa ba55d8fe2e Makefile: Move most of the provision process into build system
Tests:

- Performing a fresh container setup works.

- Performing a fresh VM setup works.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-02-12 19:17:14 -05:00
Sunil Mohan Adapa 808380ff52 doc: dev: Update all references to setup.py
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-02-12 19:17:11 -05:00
Sunil Mohan Adapa 812ed5d60d *: Introduce make file based build, eliminate setup.py
- setuptools aims to a build library instead of being invoked by setup.py.
Launching setup tools using ./setup.py is deprecated. Launching it using
generic build tools that use pyproject.toml is recommended.

- With the new approach customizing the build is not possible to the earlier
extent. So, introduce is a simple and sufficient build system using 'make'.

Tests:

- Check the pyproject.toml using validate-pyproject tool.

- Run diffoscope on old and new packages and verify that no unexpected changes
were introduced by the build system change.

- None of the files part of .deb package have different file permissions
compared to before.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-02-12 19:17:09 -05:00
Sunil Mohan Adapa e9adf0d78f pyproject.toml: Move project meta data from setup.py
- setuptools and other tools can pickup the information from here.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-02-12 19:17:06 -05:00
Sunil Mohan Adapa 54f447785d doc: Install man1 page using Makefile
- Also fix a typo with target name.

- Remove redundant OUTPUT= declarations.

- Make sure that 'manual-pages' PHONY target is not attempted to be removed on
clean.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-02-12 19:17:04 -05:00
Sunil Mohan Adapa 09103d0c25 actions: Drop legacy placeholders for unused actions
Since we have done a stable release after changes to action scripts. All
FreedomBox installations can be assumed to have moved to the new action scripts
format. All old installations will continue to get a security updates only and
this change will not reach them.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-02-12 19:17:01 -05:00
Sunil Mohan Adapa 8202b734a6 help: tests: Run tests using doc in current dir instead of /usr
- This prevents the test from failing if install has not run yet.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-02-12 19:16:59 -05:00
Sunil Mohan Adapa 721984c0e0 d/copyright: Update copyright year
- Avoids a lintian message.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-02-12 19:16:55 -05:00
Besnik Bleta 34257fcacb Translated using Weblate (Albanian)
Currently translated at 96.9% (1511 of 1558 strings)
2024-02-11 21:14:40 +01:00
Sunil Mohan Adapa f52ebd535f Translated using Weblate (Telugu)
Currently translated at 95.8% (1493 of 1558 strings)
2024-02-11 21:14:39 +01:00
Dietmar 974fe1e96b Translated using Weblate (German)
Currently translated at 99.9% (1557 of 1558 strings)
2024-02-11 21:14:38 +01:00
James Valleroy 81c6d02579 Translated using Weblate (Telugu)
Currently translated at 95.4% (1487 of 1558 strings)
2024-02-10 23:12:24 +01:00
Aswith Varma c724bdc172 Translated using Weblate (Telugu)
Currently translated at 95.4% (1487 of 1558 strings)
2024-02-10 07:01:55 +01:00
Sreehitha Velivela c3022c67a9 Translated using Weblate (Telugu)
Currently translated at 95.4% (1487 of 1558 strings)
2024-02-10 07:01:55 +01:00
Sri Harsha 33e0f83fc1 Translated using Weblate (Telugu)
Currently translated at 95.4% (1487 of 1558 strings)
2024-02-10 07:01:55 +01:00
Bhavishya nitha 4a442232b7 Translated using Weblate (Telugu)
Currently translated at 95.4% (1487 of 1558 strings)
2024-02-10 07:01:55 +01:00
Sri Harsha ac189b9eea Translated using Weblate (Telugu)
Currently translated at 95.2% (1484 of 1558 strings)
2024-02-09 06:12:49 +01:00
VINAY K.V.N.S 7a199c58e3 Translated using Weblate (Telugu)
Currently translated at 95.2% (1484 of 1558 strings)
2024-02-09 06:12:49 +01:00
Bhavishya nitha aff8303e8d Translated using Weblate (Telugu)
Currently translated at 95.2% (1484 of 1558 strings)
2024-02-09 06:12:49 +01:00
Aswith Varma a1f50732a6 Translated using Weblate (Telugu)
Currently translated at 95.2% (1484 of 1558 strings)
2024-02-09 06:12:49 +01:00
M Jagadeesh 65c5b73d89 Translated using Weblate (Telugu)
Currently translated at 95.2% (1484 of 1558 strings)
2024-02-09 06:12:49 +01:00
Aswith Varma 775eff1fdc Translated using Weblate (Telugu)
Currently translated at 94.2% (1469 of 1558 strings)
2024-02-09 06:04:22 +01:00
VINAY K.V.N.S cbfeab2b26 Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:21 +01:00
ABHI RAM POTNURU c660591a3e Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:21 +01:00
Mahi Reddy 493ee728ae Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:21 +01:00
Bhavishya nitha 5643ef073e Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:21 +01:00
Vijay Gopu 3eac5918e1 Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:21 +01:00
visruth vardhan thokala 6e3351d9cf Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:21 +01:00
Nistchal sri 6cbe8551e3 Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:21 +01:00
Likhil Chowdary c2ea32a936 Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:20 +01:00
Sri Harsha 990d869727 Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:20 +01:00
Latheesh kumar eff0fbaa66 Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:20 +01:00
Aswith Varma f459178646 Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:20 +01:00
Soumika Devarakonda ab42b26599 Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:20 +01:00
Mahi Reddy 971a16c2b0 Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:20 +01:00
Nistchal sri 8345d981b0 Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:20 +01:00
Vijay Gopu 69c37bb26a Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:20 +01:00
SAI MANIKANTA b58ad62355 Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:20 +01:00
Muntha Veera 98fe68297e Translated using Weblate (Telugu)
Currently translated at 94.2% (1468 of 1558 strings)
2024-02-09 06:04:20 +01:00
Nistchal sri 8049a0fd03 Translated using Weblate (Telugu)
Currently translated at 93.0% (1449 of 1558 strings)
2024-02-09 05:56:32 +01:00