Comments (4)
I just updated LOTS of stuff:
- base image is updated to 2.4.57 : https://github.com/kiwix/container-images/tree/update_mirrorbrain
- this means Apache is updated to 2.4.57
- but also that we are using Debian Bookworm
- which means that there is no more support for Python2
- multiple different Apache modules due to the move to MaxMind GeoIP2 (see below)
- small changes linked to Python3, etc ...
- I also created a
dev
environment (with docker-compose) to run mirrorbrain and its DB locally on my machine.
- so I also updated mirrorbrain (I had to do a fork): https://github.com/benoit74/mirrorbrain/tree/big_update
- update to Python 3.11
- update to MaxMind GeoIP2 (Legacy GeoIP is dropped since November 2022)
- update to hatch instead of distutils
- I broke few stuff with is unused in our setup
- and for sure I had to update our k8s config to make all this work in our setup : https://github.com/kiwix/k8s/tree/update_mirrorbrain
Most stuff is working fine on my local environment, I even found how to fix the flags + missing CSS on mirrors.html
:
I will open corresponding PRs Thursday on the various repos.
from container-images.
PRs are ready:
However, while preparing these PRs to make all this mergeable, I realize that I'm not really comfortable with our approach anymore.
As mentioned in previous comment there are a lot of things which I have been modified forced to modify to update this base image, and I broke things while doing this (and there are probably things that I'm not aware of) ; see kiwix/mirrorbrain#1 for details.
Just the fact that I had to fork means that chances to merge this one day are low due to the significant work needed to prepare PRs which could be reviewed (not speaking about the fact that there is probably no reviewers, at least for now).
All that is combined with the fact that I realized during this base image update that:
- OpenSUSE has maintained a Mirrorbrain fork for a while ... but one of the two main developers on this fork (https://github.com/andrii-suse) is now the main developer / creator of Mirrorcache ...
- There is way more adoption of Mirrorbits than I understood ; just search for mirrorstats in your favorite search engine, and, at least in Google, you will get a bunch of people who did let their stats opened to search engine and indicates they are using mirrorbits ; not speaking about community which is still actively submitting issues on Mirrorbits while no one really got involved on poeml/mirrorbrain#179 which is a significant problem (problem is not only about Apache module but also about Python code base for managing Mirrorbrain, so openSUSE solution is only partial)
To summarize, I think there is no momentum to have support on these changes anywhere in the community and if we continue on this path, we (I ?) are doomed to maintain this fork / project on our own.
I really wonder if it makes sense to continue on the current path or if we should wait and move to another solution. Let's discuss this live tomorrow during our weekly meeting.
from container-images.
I strongly suspect that we will have to implement #239 first, which will invalidate/fix this ticket as well.
from container-images.
@benoit74 We will need to proceed here considering the conclusion of #239. We probably need to update more than just the base OS image (Apache for example).
from container-images.
Related Issues (20)
- Too many download.kiwix.org page views HOT 2
- download.kiwix.org/dev should be replaced with a drive HOT 3
- Rename repository HOT 2
- Consider installing fail2ban on the dropbox HOT 1
- watcherbot is not built and does not work anymore HOT 1
- Clean-up repository HOT 1
- [REGRESSION] OPDS stream is not HTTP compressed anymore HOT 1
- After migration to k8s, stats of download.kiwix.org looks strange HOT 3
- torrent tracker not working via IPv6 HOT 6
- Replace MirrorBrain by MirrorCache or Mirrorbits HOT 18
- Torrent Tracker Not Working HOT 6
- Report error in scanMirrors
- Magnet links not working HOT 2
- Surfer doesn't build anymore HOT 1
- Mirrorbrain: stop scanning dirs too many times HOT 1
- Mirrorbrain is not reporting IP location appropriately HOT 6
- Add debian/maintenance image HOT 4
- Build images conditionally HOT 1
- Release permalink for libkiwix_xcframework.tar.gz don't work HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from container-images.