1 (edited by bemc 2026-11-13 08:50:34)

Topic: Maintainability

Maintainability, this is a thing coming to my mind from time to my. It is not that I am a programmer, but personally and professionally I write some code. The point is that I have to come back to some of my scripts years after I made them, so I am exposed to code maintainability (probably there is a better word for that).
Maybe you can share something about good options, but from my experience the way to have some code that can be executed for decades is Perl. I do not like writing in Perl, but 100% of the code I did in the last 15 years is still executable with current version. I started Python already with Python 3, but anyhow a couple of times I had to adjust things. PHP was quiet problematic for me. On the other side hand, C99 was fine, but sure one faces the challenge of finding the libraries used years ago.
I had to remember this topic again because of the php2shell vulnerability. I found many sites just closing the services because they got stuck on a version breaking compatibility.

2

Re: Maintainability

PHP is planned to be fully removed from our web-infrastructure. To scribble down a future scenario:

1. All part based on PHP, including issue-tracker, forums and wiki, will be removed and either going only into freezing (forums) or fully replaced.
2. For the wiki we will go with a static replacment, where we use our package simiki (Python-based and only local executed).
3. For the issue-tracker we will use roundup, which is also Python-based but with lesser dependencies and not many other connections (https://www.roundup-tracker.org/).
4. The forums will be replaced with something smaller (internal name: commentary-section), foremost no JavaScript and also Python so far.

In the further reach we also want to look for replacing our outer website, package-search included, with more basic Python-elements.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

3

Re: Maintainability

Thanks for the reply!
Sure sensible. While there exist some concerns in the wiki about python, it is probably the right option (preventing the use of pip).
Years ago there were some forums in Perl options, now only YABB is maintained, but the license is weird.

4

Re: Maintainability

Oh, no worries: I can give more insights about the idea. The static wiki means: All sources for the pages will be available throughout a git-repository. Every community-member can have therefore the data and also host the wiki local. With this step we want to hand out written data to everyone and decentralize information.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!