Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different error counts for news from scanner and TYPO3 BE #9

Open
tkieslich opened this issue Apr 10, 2019 · 6 comments
Open

Different error counts for news from scanner and TYPO3 BE #9

tkieslich opened this issue Apr 10, 2019 · 6 comments

Comments

@tkieslich
Copy link

I scann news 7.1.0 with scanner and get 19 Errors.
I do the same in TYPO3 BE and got nearly 100 Errors.
Where comes the difference from?

@ohader
Copy link
Owner

ohader commented Apr 10, 2019

TYPO3 core still uses it's own scanner definitions. The initial idea was to have this repository (available for everybody) and make use of it in the core. Unfortunately nobody took the time yet to synch scanner definitions and replace core's component with this repository...

@lolli42
Copy link

lolli42 commented Apr 11, 2019

This repository is broken. It has been a quick shot in the first place and has not been maintained afterwards. The initial extraction has been done without a sub tree split, thus removing all history and author information, making it hard to synchronize again. It is also quite rude since this repo now claims in the history that all code lines have been done by oliver, which is an obvious lie since others did the main work, just look at the history of the core extension scanner. I'd suggest to throw this repo away and start all over to fix these issues, or at least mark this repo as a broken and not maintained first shot.
To extract the scanner from the core, there should be a concept on how to manage the rule set for core patches, first. And how to make sure that core devs maintain these rules. Otherwise chances are much higher that core patches just "forget" updating scanner information, which will make the scanner slowly rot away, just like the documentation. And it would be a good idea to think about an additional information to bind single rules to specific core versions.

@ohader
Copy link
Owner

ohader commented Apr 11, 2019

@lolli42 Please calm down. This repository has been created in order to offer scanner functionality to not just the TYPO3 core, but to allow assessment concerning upgradability much earlier in standalone tools.

It is also quite rude since this repo now claims in the history that all code lines have been done by oliver, which is an obvious lie since others did the main work, just look at the history of the core extension scanner.

The initial commit contains a reference to you as an author:
47b7461#diff-b5d0ee8c97c7abd7e3fa29b9a27d1780R8

In pending PR #6 @Tuurlijk already addressed the aspect of having rules for according core major versions (v7, v8, v9, ...).

I'd suggest to throw this repo away and start all over to fix these issues, or at least mark this repo as a broken and not maintained first shot.
Why throw it away instead of synchronize it with the core rules.

If I got your comments between blaming correct, you'd suggest to have a new ext:deprecation in the TYPO3 core that is maintained by an additional automated sub-tree splitting process as e.g. typo3/cms-deprecation?

From my point of view there should be only one version (branch) containing all information for all TYPO3 versions. Otherwise it would be really difficult for CLI tools to determine in which TYPO3 version some functionality is considered as deprecated or breaking.

@lolli42
Copy link

lolli42 commented Apr 11, 2019

@ohader I am calm. I don't know why you assume I'm not.
I assume you understand and agree that a subtree split as first commit would have been better. Since this fail can't be undone without force pushing in this repo here, I suggested to rebuild it in a clean way a second time in case work on this repo is picked up again.
Other than that I only pointed to further possible issues in case the ext scanner is dropped from core main repo. The current state of this repo shows the most important one: It's stalled and not maintained and no core dev cares about it. This is exactly what this issue is about. I don't know how to solve this in a good way.

@Lefaux
Copy link

Lefaux commented Apr 12, 2019

I feel the hostility here too.
A bit like "Legacy-Mattes".
Saying the right things the wrong way.

Know what I mean?

@tkieslich
Copy link
Author

@ohader Thanks for the Explantation i understand the Reasons. The only Reason i ask this Question was that this Project https://github.com/Tuurlijk/typo3scan use this Repo and this is a big help to calculate the Effort for upgrade Extensions without upgrading the hole System and if you upgrade the Extension it is also a big help to have a File with the List of the Errors to fix without rescan in BE.
Perhaps it is a Way to make this Things possible.
If it need help, feel free to ask ;-)

Reagards from Dresden

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants