Package Details: plann 0.15.1-1

Git Clone URL: https://aur.archlinux.org/plann.git (read-only, click to copy)
Package Base: plann
Description: plann is a caldav client for calendar and task management
Upstream URL: https://github.com/tobixen/plann
Licenses: GPL
Submitter: tobixen
Maintainer: tobixen
Last Packager: tobixen
Votes: 0
Popularity: 0.000000
First Submitted: 2023-07-19 14:49 (UTC)
Last Updated: 2023-07-20 12:52 (UTC)

Latest Comments

tobixen commented on 2024-08-11 13:00 (UTC)

I'm sorry for the mess here. I will try to look into things and also to make a new release of plann one of those days. Unfortunately I'm fully busy now, possibly I'll have time for this in the last week of August. Feel free to nag again at the end of August :-)

m040601 commented on 2024-08-10 23:04 (UTC) (edited on 2024-08-10 23:05 (UTC) by m040601)

@tobixen:

You can now adopt the "plann-git" PKGBUILD, https://aur.archlinux.org/packages/plann-git says:

I am no longer daily-driving Arch and I am willing to disown this build
if it is causing difficulties.

m040601 commented on 2024-08-02 12:07 (UTC) (edited on 2024-08-02 12:23 (UTC) by m040601)

Some more suggestions to the PKGBUILD's "plann" and "plann-git".

I noticed that the PKGBUILD "plann",

Name                          : plann
Version                       : 0.15.1-1
Depends On                    : python  python-caldav  python-icalendar
Optional Deps                 : None
Make Deps                     : python-build  python-installer  python-pytest
                                python-setuptools  python-wheel
Check Deps                    : None
Conflicts With                : None
Replaces                      : None
First Submitted               : Wed 19 Jul 2023 03:49:34 PM WEST
Last Modified                 : Thu 20 Jul 2023 01:52:47 PM WEST
Maintainer                    : tobixen
  • is maintained by the same author of the tool on github
  • has not been touched for more than a year
  • the repo does have a lot of activity in the last year

I then noticed that there is another PKGBUILD "plann-git" on the AUR,

Name                          : plann-git
Version                       : r356.b04fd62-1
Depends On                    : python  python-caldav>=0.12.0  python-click
                                python-icalendar  python-pytz  python-tzlocal
                                python-six  python-sortedcontainers
                                python-vobject  python-yaml
Optional Deps                 : None
Make Deps                     : python-build  python-installer  python-pytest
                                python-setuptools  python-wheel  xandikos
Check Deps                    : None
Conflicts With                : None
Replaces                      : None
First Submitted               : Mon 10 Jul 2023 08:16:16 PM WEST
Last Modified                 : Thu 20 Jul 2023 02:26:19 PM WEST
Maintainer                    : fauxmight

It is maintained by another person ???!!! It would be nice if both PKGBUILD's were maintained by the same set of persons. I left a comment there, https://aur.archlinux.org/packages/plann-git.

  • doesnt match "plann" PKGBUILD on dependencies ????!!!
  • there should be a "Conflicts With" tag, to choosing either "plann" or "plann-git"
  • "plann-git" itself has a rather bizarre make dependencies on "xandikos" and others.

Anyway, I then tried this "plann-git" PKGBUILD instead of the "plann" PKGBUILD. Strangely, it seemed to install without any errors.

But then I noticed that the official github README does not match "plann --help"

┄┄Synopsis
..........
┄┄┄Global options
.........
• --icalendar: Write or read icalendar to/from stdout/stdin
• --nocaldav: don't connect to a caldav server
• --timezone: any "naive" timestamp should be considered to belong to the given
........ etc ..........

There are lot of options there, that dont show up when you do "plann --help".

   $ plann --icalendar
Usage: plann [OPTIONS] COMMAND [ARGS]...
Try 'plann --help' for help.

Error: No such option: --icalendar (Possible options: --caldav-url, --calendar-name, --calendar-url)

Confused. Need more time to digest and try again.

Also a final request for the PKGBUILD maintainers.

The project is complex. There is a lot to read. The github repos has a lot of important files the author spent a lot of time explaining things. That should be read and available on the users' computer. Not just "online" html stuff. Markdown offline is fine too.

README.md

CHANGELOG.md

LICENSE.TXT

USER_GUIDE.md
CALENDAR_SERVER_RECOMMENDATIONS.md
DESIGN.md
NEXT_LEVEL.md
TASK_MANAGEMENT.md


examples
docs

License is missing, it shoul end up in something like,

/usr/share/licenses/plann/LICENCE.txt

That "CHANGELOG.md" is super important. Same thing for the README.md, examples, etc

Should end up in,

/usr/share/doc/plann/CHANGELOG.md
/usr/share/doc/plann/README.md
/usr/share/doc/plann/examples/xyz ... foo ... bar etc
/usr/share/doc/plann/GUIDES foo bar
....... etc

Thanks in advance.

m040601 commented on 2024-08-02 12:02 (UTC) (edited on 2024-08-02 12:20 (UTC) by m040601)

This is an interesting an intriguing project. Thank you for the work in chasing the dream of the nice calendar cli/tui tool. Very much needed and appreciated on Linux by console fans. Nice to read all the thoughts you put on the README's.

Currently fails to install on my system. Seems to be going well at the beginning. But then after the many dependecies are installed it fails near the end.

python-caldav gets installed,

==> Finished making: python-caldav 1.3.9-2 (Fri 02 Aug 2024 12:11:58 PM WEST)
[sudo] xxxxx password for xxxxx:
loading packages...
resolving dependencies...
looking for conflicting packages...

Package (1)    New Version  Net Change

python-caldav  1.3.9-2        0.57 MiB

Total Installed Size:  0.57 MiB

:: Proceed with installation? [Y/n]
..........
(1/1) installing python-caldav                      [--------------------------] 100%

It then continues to the final part of installing "plann" itself,

==> Making package: plann 0.15.1-1 (Fri 02 Aug 2024 12:12:16 PM WEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v0.15.1.tar.gz
==> Validating source files with sha256sums...
    v0.15.1.tar.gz ... Passed
==> Extracting sources...
  -> Extracting v0.15.1.tar.gz with bsdtar
==> Sources are ready.
==> Making package: plann 0.15.1-1 (Fri 02 Aug 2024 12:12:20 PM WEST)

It goes on and on ... and then it seems to fail here, and it aborts,

..............
removing build/bdist.linux-x86_64/wheel
Successfully built plann-0.15.1-py3-none-any.whl
==> Starting check()...
================================ test session starts ================================
platform linux -- Python 3.12.4, pytest-8.3.2, pluggy-1.5.0
rootdir: /dev/shm/aurydesty/plann/src/plann-0.15.1
plugins: typeguard-4.3.0, cov-5.0.0, anyio-4.4.0
collected 32 items / 2 errors

====================================== ERRORS =======================================
_____________________ ERROR collecting tests/test_functional.py _____________________
ImportError while importing test module '/dev/shm/aurydesty/plann/src/plann-0.15.1/tests/test_functional.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_functional.py:5: in <module>
    from xandikos.web import XandikosBackend, XandikosApp
E   ModuleNotFoundError: No module named 'xandikos'
_______________________ ERROR collecting tests/test_panic.py ________________________
ImportError while importing test module '/dev/shm/aurydesty/plann/src/plann-0.15.1/tests/test_panic.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_panic.py:1: in <module>
    from plann import panic_planning
plann/panic_planning.py:3: in <module>
    from sortedcontainers import SortedKeyList
E   ModuleNotFoundError: No module named 'sortedcontainers'
============================== short test summary info ==============================
ERROR tests/test_functional.py
ERROR tests/test_panic.py
!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!
================================= 2 errors in 0.94s =================================
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: plann-exit status 4

I cant troubleshoot this. I dont know python.

I also tried,

and those apparently seem to work.

Thanks in advance.