cube-doctor issueshttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues2021-11-05T15:37:24Zhttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/50.cube-doctor.yml2021-11-05T15:37:24ZLaurent Peuch.cube-doctor.ymlCurrent identified things needs to be done to finish and put `.cube-doctor.yml` in production (this is not the whole picture yet):
- [X] in auto-mr code, take into account the merge_when_pipeline_succeeds defined in `.cube-doctor.yml`
-...Current identified things needs to be done to finish and put `.cube-doctor.yml` in production (this is not the whole picture yet):
- [X] in auto-mr code, take into account the merge_when_pipeline_succeeds defined in `.cube-doctor.yml`
- [x] in add-new-rules, add code to add a new rule for set-cubicweb-max-version
- [ ] should we add a new option to specific if cube-doctor should or shouldn't rebase its MR?
- [ ] for now there is not configuration format validation
- [ ] we've talked about making cube-doctor open bugs in that situation
- [ ] add set-cubicweb-max-version in the README.rst (both in `.cube-doctor.yml` example and in its own section), maybe do the same with `rebase-all-my-mrs`
- [x] faire un mécanisme de béta pour commencer à l'utiliser sur des cubes progressivementLaurent PeuchLaurent Peuchhttps://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/41[dependabot] Copy commits / pull requests made by dependabot on github2021-04-15T09:21:19ZArthur Lutz[dependabot] Copy commits / pull requests made by dependabot on githubIn the case of a client project which has open sourced the code, the code is mirrored on github and so we got some merge requests from dependabot https://github.com/culturecommunication/francearchives-cubicweb-edition/pulls
It would be...In the case of a client project which has open sourced the code, the code is mirrored on github and so we got some merge requests from dependabot https://github.com/culturecommunication/francearchives-cubicweb-edition/pulls
It would be nice for cube-doctor to copy those commits and submit them to the project (where the CI can give an indication of the impact).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.https://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/40[proposed upgrades] find a way to flag and remind maintainers to take care of MR2021-04-15T09:15:23ZArthur Lutz[proposed upgrades] find a way to flag and remind maintainers to take care of MRWhen a MR for proposed upgrades (requirements.txt or package.json) has it's tests green it should be easy for maintainers to merge it. For red dependency upgrades that fail it could result in a "we'll handle that one later, we're focusin...When a MR for proposed upgrades (requirements.txt or package.json) has it's tests green it should be easy for maintainers to merge it. For red dependency upgrades that fail it could result in a "we'll handle that one later, we're focusing on features" and for theses red MRs to be forgotten or become stock.
Maybe we could have a different reminder message, for example "make sure you have an issue created explaining why this MR is not managed (for now). And that this issue is visible to the team and maybe the client too".https://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/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/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/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/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/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/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/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/42explore flakehell2021-05-05T22:33:45ZLaurent Peuchexplore flakehellIt might be worth it https://github.com/flakehell/flakehellIt might be worth it https://github.com/flakehell/flakehellhttps://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/48extend cube-doctor to code-doctor2021-08-04T16:02:37ZNicolas Chauvatnicolas.chauvat@logilab.frextend cube-doctor to code-doctorrename it once it is not limited to cubes anymore.rename it once it is not limited to cubes anymore.https://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/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/58Improve copyright year update regular expression2022-01-05T09:44:36ZSimon ChabotImprove copyright year update regular expressionSome copyright year are different from the one that is currently handled by cube-doctor.
see for instance here: https://forge.extranet.logilab.fr/cubicweb/cubes/rememberme/-/merge_requests/26/diffs
where we have:
```
:copyright: 2009-2...Some copyright year are different from the one that is currently handled by cube-doctor.
see for instance here: https://forge.extranet.logilab.fr/cubicweb/cubes/rememberme/-/merge_requests/26/diffs
where we have:
```
:copyright: 2009-2011
```
We should update the regular expression, or test against different copyright format.https://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/44integrate prettier for js/ts and maybe other (css? sass?)2021-06-11T12:24:56ZLaurent Peuchintegrate prettier for js/ts and maybe other (css? sass?)https://prettier.io/https://prettier.io/https://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues/43integrate pyupgrade2021-08-04T15:59:15ZNicolas Chauvatnicolas.chauvat@logilab.frintegrate pyupgradesee https://github.com/asottile/pyupgradesee https://github.com/asottile/pyupgrade