Package: calcleaner
A simple graphical tool to purge old events from CalDAV calendarsRequirementsPython:PyGObjectcaldavInstallFlatpak (Linux)A Flatpak package is available on Flathub. This is currently the simplest way
to install CalCleaner on all major Linux distributions:https://flathub.org/apps/details/org.flozz.calcleanerLinux (source)First, you will need to install some dependencies on your system. On Debian and
Ubuntu this can be achieved with the following command:sudo apt install git build-essential python3 python3-dev python3-pip libgirepository1.0-dev pkg-config gir1.2-gtk-3.0Then clone this repository and navigate to it:git clone https://github.com/flozz/calcleaner.git
cd calcleanerThen install CalCleaner using pip:sudo pip3 install .Finally, you can install desktop file, icons and manual using the following
command:sudo ./linuxpkg/copy-data.sh /usrLinux (PyPI)First, you will need to install some dependencies on your system. On Debian and
Ubuntu this can be achieved with the following command:sudo apt install git build-essential python3 python3-dev python3-pip libgirepository1.0-dev pkg-config gir1.2-gtk-3.0Then install CalCleaner using pip:sudo pip3 install calcleanerNOTE:Installing from PyPI will not install.desktopfile and man page.
You will not be able to run the software from your graphical app menu (GNOME
Shell,…).Contributing / HackingQuestionsIf you have any question, you can:open an issueon Github,orask on Discord(I am not always
available for chatting but I try to answer to everyone).BugsIf you found a bug, pleaseopen an issueon Github with as much
information as possible:What is your operating system / Linux distribution (and its version),How you installed the software,All the logs and message outputted by the software,…Pull RequestsPlease considerfiling a bugbefore starting to work on a new feature. This will allow us to discuss the
best way to do it. This is of course not necessary if you just want to fix some
typo or small errors in the code.Please note that your code must pass tests and follow the coding style defined
by thepep8.Flake8andBlackare used on this project to enforce
coding style.Translating CalcleanerIf the software is not available in your language, you can help translate it.To translate Calcleaner, you can submit your translations using a Pull Request
on Github,Do not forget to add your name as the translation of thetranslator-creditskey (one name per line, e-mail is optional):msgid "translator-credits"
msgstr ""
"John DOE\n"
"Other TRANSLATOR <foobar@example.org>\n"Running the projectFirst, install dependencies (preferably in a virtualenv):pip install -e ".[dev]"Then run:python -m calcleanerCoding Style / LintThis project followsBlack’scoding style.To check coding style, you will first have to installnox:pip3 install noxThen you can check for lint error (Flake8 and Black):nox --session lintYou can fix automatically coding style with:nox -s black_fixTestsTu run tests, you will first have to installnox:pip3 install noxThen run the following command:nox -s testExtract, Update or Build TranslationsYou will first have to installnox:pip3 install noxTo extract messages and update locales run:nox --session locales_updateTo compile locales, run:nox --session locales_compileNOTE:you will need to havexgettext,msgmergeandmsgfmtexecutable installed on your system to run the above commands. On Debian /
Ubuntu, they can be installed with the following command:sudo apt install gettextRegenerating IconsTo regenerate icons, Inkscape must be installed. On Debian and Ubuntu you can
install it with the following command:sudo apt install inkscapeYou will also neednoxto run the generation
command:pip3 install noxOnce everithing installed, you can regenerate icons with the following command:nox -s gen_iconsSupporting this projectWanna support this project?☕️ Buy me a coffee,❤️ sponsor me on Github,💵️ or give me a tip on PayPal.Changelog[NEXT](changes onmasterbut not released yet):Nothing yet ;)v1.1.3:Added Turkish translation (@sabriunal, #8)v1.1.2:Added Croatian translation (@milotype, #7)Added Python 3.11 supportv1.1.1:Added German translation (Jürgen Benvenuti)v1.1.0:UI improvements:Double border removed in calendar viewAccessibility improved by changing the widgets used to build the “pages”
of the main windowTranslations:Dutch (#5, @Vistaus)Brazilian Portuguese (incomplete)v1.0.0:Allow to disable SSL certificate validation (self-signed certificate, etc.)Improve error message on SSL errorsSet the user agent string to “CalCleaner/<VERSION>”Fix calendar of removed account still displayed after closing account
management dialogFix a crash when cleaning an empty (malformed) eventItalian translation (#1, @albanobattistella)v0.9.1 (beta):Fix data not included in packagesv0.9.0 (beta):Initial releaseFrench translation