cube-doctor issueshttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues2021-01-06T15:50:34Zhttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/7Have a refactoring script for all DeprecationWarning2021-01-06T15:50:34ZLaurent PeuchHave a refactoring script for all DeprecationWarningThis is once the whole architecture is done and we want to enter cruising speed.
We need refactoring scripts for all (used) deprecation functionality we have which are:
- [ ] argument_removed
- [ ] argument_renamed
- [x] attribute_rena...This is once the whole architecture is done and we want to enter cruising speed.
We need refactoring scripts for all (used) deprecation functionality we have which are:
- [ ] argument_removed
- [ ] argument_renamed
- [x] attribute_renamed
- [ ] callable_deprecated (not sure what to do with this one)
- [ ] callable_moved
- [x] callable_renamed
- [ ] class_deprecated (not sure what to do with this one)
- [ ] class_moved
- [ ] class_renameddashboards, logigraph and automated-upgrades pipelinehttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/8Small roadmap: QA improvement list with doctor-cube (when possible)2022-04-19T14:11:03ZLaurent PeuchSmall roadmap: QA improvement list with doctor-cube (when possible)This is a "let's regroup everything for now" card about what are our next steps to create and run scripts using doctor-cube (when possible) to improve the QA of our cubes.
Not really ordered steps:
- [x] drop python2 support
- [ ] pyth...This is a "let's regroup everything for now" card about what are our next steps to create and run scripts using doctor-cube (when possible) to improve the QA of our cubes.
Not really ordered steps:
- [x] drop python2 support
- [ ] python3 on used-cubes
- [ ] deprecated-warnings [this one will be in another card]
- [X] pypi-publish
- [x] tox rule for debian packages
- [ ] base tox for missing one in used-cubes
- [ ] .gitlab-ci.yml for missing ones in used-cubes
- [ ] new format for missing ones
- [ ] black if there is no topic and no MR
- [ ] check-manifest for all used cubes, this is needed for making good quality debian packages
- [x] capture-deprecated-warnings for used-cubes
- [ ] black it if broken on a branch/default and no MR
- [x] update copryright date
- [ ] isort
We will probably move at the rhythm of "one new improvement once the previous one is merged"dashboards, logigraph and automated-upgrades pipelineLaurent PeuchLaurent Peuchhttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/6explore on how feasable it is to parse existing code base to fix modification...2021-01-06T15:48:33ZLaurent Peuchexplore on how feasable it is to parse existing code base to fix modification we are already aware ofInstead of waiting for warning to raises and fix them this way, some of the modification we make seems actually quite easy to detect and pre-fix in advance.
We might want to explore this way to win some time and avoid unexpected crash i...Instead of waiting for warning to raises and fix them this way, some of the modification we make seems actually quite easy to detect and pre-fix in advance.
We might want to explore this way to win some time and avoid unexpected crash in the future when the warning based approach failed.
It's not a problem if we don't catch all of them, the idea is to move forward.
For example: logilab.common.deprecated -> logilab.common.callable_deprecateddashboards, logigraph and automated-upgrades pipelinehttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/4Update all projects urls2020-11-20T13:14:07ZSimon ChabotUpdate all projects urlsMake sure that all projects / cubes url targets the new forge (and not the old one).
cf https://forge.extranet.logilab.fr/cubicweb/cubes/signedrequest/-/blob/branch/default/cubicweb_signedrequest/__pkginfo__.py#L29 for instance.Make sure that all projects / cubes url targets the new forge (and not the old one).
cf https://forge.extranet.logilab.fr/cubicweb/cubes/signedrequest/-/blob/branch/default/cubicweb_signedrequest/__pkginfo__.py#L29 for instance.https://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/5Remove py2 tests from .gitlab-ci.yml & tox.ini2022-04-15T08:13:31ZArthur LutzRemove py2 tests from .gitlab-ci.yml & tox.ini... maybe there are some exceptions... maybe there are some exceptionshttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/17Update the link inside __pkginfo__.py to use forge.extranet.fr2021-01-29T15:21:09ZNoé GaumontUpdate the link inside __pkginfo__.py to use forge.extranet.frhttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/18améliorer/refaire/porter à python new-version2021-01-29T16:39:32ZLaurent Peuchaméliorer/refaire/porter à python new-versionC'est déjà super ce qu'on a mais pour l'instant on en est pas encore totalement satisfait et il faudrait peut être le porter sur un petit utilitaire python qui reprend ce qu'on a déjà fait pour pouvoir facilement l'installer dans toxC'est déjà super ce qu'on a mais pour l'instant on en est pas encore totalement satisfait et il faudrait peut être le porter sur un petit utilitaire python qui reprend ce qu'on a déjà fait pour pouvoir facilement l'installer dans toxhttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/19génération MR avec résultat pyannotate (ou équivalent)2021-02-02T14:44:54ZNicolas Chauvatnicolas.chauvat@logilab.frgénération MR avec résultat pyannotate (ou équivalent)voir titrevoir titrehttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/20ajout mypy dans tox.ini et gitlab-ci.yml2021-02-02T14:44:54ZNicolas Chauvatnicolas.chauvat@logilab.frajout mypy dans tox.ini et gitlab-ci.ymlvoir titrevoir titrehttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/22Add licence in python files which don't have one2021-02-03T15:37:34ZLaurent PeuchAdd licence in python files which don't have oneThis was suggestion by @fferry and has raised again. Should we do that? It seems to be a good idea.This was suggestion by @fferry and has raised again. Should we do that? It seems to be a good idea.https://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/23The "update licence years" regex fails when "logilab" isn't on the line2021-02-03T15:44:42ZLaurent PeuchThe "update licence years" regex fails when "logilab" isn't on the lineIn some other situations the copyright line doesn't contains "logilab" (clients' projects) so the regex fails, shouldn't we make this regex more permissive?
cc @fferry @schabotIn some other situations the copyright line doesn't contains "logilab" (clients' projects) so the regex fails, shouldn't we make this regex more permissive?
cc @fferry @schabothttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/26apply black on all cubes with unmerged heads/MR but only on the untouched fil...2021-02-05T14:48:13ZLaurent Peuchapply black on all cubes with unmerged heads/MR but only on the untouched files like on CWFollowing this approach https://forge.extranet.logilab.fr/cubicweb/cubicweb/-/merge_requests/106#note_47249 do the same on all cubes that don't have black to move forward faster and also have another task that updates this file with new ...Following this approach https://forge.extranet.logilab.fr/cubicweb/cubicweb/-/merge_requests/106#note_47249 do the same on all cubes that don't have black to move forward faster and also have another task that updates this file with new files and once all the files matches all the files in the repository switch to vanilla blackhttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/28make a script to compare forge.extranet.logilab.org and hg.logilab.org{projec...2021-02-05T15:03:00ZLaurent Peuchmake a script to compare forge.extranet.logilab.org and hg.logilab.org{project,review,users...}We still have a lot of code on hg.logilab.org and we don't know if we have migrate everything. We've spent a lot of time doing this on cubicweb the other day and it would be great to evaluate if we still have a lot of work to do.
cc @nc...We still have a lot of code on hg.logilab.org and we don't know if we have migrate everything. We've spent a lot of time doing this on cubicweb the other day and it would be great to evaluate if we still have a lot of work to do.
cc @nchauvathttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/32add a mecanism to generate a requirements-frozen.txt per project using pip-co...2021-02-19T14:01:34ZLaurent Peuchadd a mecanism to generate a requirements-frozen.txt per project using pip-compileLaurent PeuchLaurent Peuchhttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/33Detect and dashboard for projects using only/except in .gitlab-ci2021-03-11T15:05:23ZArthur LutzDetect and dashboard for projects using only/except in .gitlab-ciTo encourage migration to workflow/rules instead of only/except.To encourage migration to workflow/rules instead of only/except.https://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/34automatically set in setup.py that we requires at least python3 for all cubes2021-03-12T15:21:28ZLaurent Peuchautomatically set in setup.py that we requires at least python3 for all cubeshttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/35license lint2021-12-03T08:09:02ZNoé Gaumontlicense linthttps://github.com/fsfe/reuse-toolhttps://github.com/fsfe/reuse-toolhttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/36add `python_requires=">=3.7",` in all setup.py when there is only "py3" in `....2021-03-17T09:04:41ZLaurent Peuchadd `python_requires=">=3.7",` in all setup.py when there is only "py3" in `.gitlab-ci.yml`https://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/37Missing heptalab dependency after installing2021-03-30T14:08:37ZArthur LutzMissing heptalab dependency after installing```
mkvirtualenv cube-doctor
pip install .
python3 doctor_hg.py run-script
Traceback (most recent call last):
File "doctor_hg.py", line 5, in <module>
from cube_doctor import EmptyCubeQueryResult
File "/home/arthur/.virtualenvs/c...```
mkvirtualenv cube-doctor
pip install .
python3 doctor_hg.py run-script
Traceback (most recent call last):
File "doctor_hg.py", line 5, in <module>
from cube_doctor import EmptyCubeQueryResult
File "/home/arthur/.virtualenvs/cube-doctor/lib/python3.8/site-packages/cube_doctor/__init__.py", line 12, in <module>
from heptalab import download_heptapod_trig, download_logigraphe_trig
ModuleNotFoundError: No module named 'heptalab'
```https://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/38[documentation] example of `run-script` in README2021-03-30T14:12:04ZArthur Lutz[documentation] example of `run-script` in READMEIt would be nice to have an example of `run-script ` in the README.It would be nice to have an example of `run-script ` in the README.