Wednesday, October 4, 2017¶
I continued to work on #2083.
New rule for the
EnrolmentChecker: when a reminder exists,
absences before that date are ignored.
The workflow for reminders is currently just my first quick draft.
Side effect: The default
get_slave_summary now adds an insert button
(if an insert_layout exists and user has permission).
DummyField now has a
New fixture demo2 which adds primary coaches to the clients one reminder.
I then did a release during their working time (using the fact that they had team meeting) and did local configuration of the template files. Unfortunately Johanna and I failed to meet afterwards because Hangouts wasn’t in the mood today.
ExtJS 6 support advancing¶
There are still many details to fix before we can consider ExtJS 6 to be done… but we are advancing. Tonis and I fixed a few things together.
I had a nice shared screen session with Gaetan, the autor of
Appy. Together we managed to make appy pass the
test_appy_pod test of the
lino_xl suite. Our work is published on
forge.pallavi.be: revisions 62,
This is great news because Appy is still the best and only real solution for generating .pdf files from .odt fies.
The problem with Gaetan is that he uses a rather unorthodox packaging system. I knew from earlier discussions that trying to convince him to become normal is just a waste of time. So I didn’t do that, and we found a solution for every problem.
The clou of his strange system is that he refuses to have a
setup.py file in the root directory of his project. Don’t ask
me why. To install a development version of appy, you must add a
symbolic link to your
site-packages. This causes at least
the setup.py test command tries to install appy from PyPI because it doesn’t know that it actually is installed. We fixed this by temporarily removing
'appy'from the install_requires.
we cannot specify the development snapshot as requirement on Travis CI because Travis cannot install without a
setup.pyfile. This means that Gaetan must release our work on PyPI before the Travis CI tests will pass. But okay, we are not about a few days now that we fixed a problem that has been waiting at least a year.
Gaetan reminded me the basic operations of Subversion which I have been using much but hadn’t used for years:
$ svn up # git pull $ svn ci -m "message" # git ci -m & git push
And he also reminded me a debugging technique which I hadn’t used for years now:
import pdb ; pdb.set_trace()
And then in the debugger you need to know at least four commands:
l : list
n : go to next line
s : step into
c : continue
Release to PyPI¶
I released some projects to PyPI just because I the information there was so obsolete. Allthough actually this makes not much sence, we don’t currently recommend using a released version of Lino.
OMG, and now the information there is completely ugly: https://pypi.python.org/pypi/lino