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

autoload.php files don't get deleted, but ignored from integrity checker #77

Closed
Findus23 opened this issue Aug 29, 2018 · 4 comments
Closed

Comments

@Findus23
Copy link
Member

The following line excludes manifest.inc.php|autoload.php|autoload_real.php files from the manifest.inc.php even when they don't get deleted. This causes the integrity checker to warn (see matomo-org/matomo#13364 and matomo-org/matomo#13318)

| egrep -v 'manifest.inc.php|autoload.php|autoload_real.php' \

This didn't happen before, because only in 3.6.0 I added sparklines which has an autoload.php file and @sgiehl added an autoload.php to DeviceDetector in matomo-org/device-detector#5742

@mattab, @tsteur Is there a reason for this line?

@Findus23 Findus23 changed the title autoload.php files don't get deleted, but ignored from autoload.php files don't get deleted, but ignored from integrity checker Aug 29, 2018
@sgiehl
Copy link
Member

sgiehl commented Aug 30, 2018

FYI. I will remove the autoload.php from device detector for upcoming composer packages again. Doesn't make sense to have it in this case, as composer handles the autoloading...

@mattab
Copy link
Member

mattab commented Aug 30, 2018

Is there a reason for this line?

The reason we excluded them from manifest is because IIRC the files contain some random hash that changes depending on the server or so, so the manifest was failing.

@mattab mattab closed this as completed Sep 1, 2018
@mattab
Copy link
Member

mattab commented Sep 1, 2018

So actually we could fix the package script and only specifically grep out 'vendor/autoload.php' and 'vendor/composer/autoload_real.php' and leave any other 'autoload.php' in the manifest file.

@mattab mattab reopened this Sep 1, 2018
@mattab mattab added this to the Current sprint milestone Sep 1, 2018
mattab added a commit that referenced this issue Sep 1, 2018
3.6.0 was re-packaged and 3.6.1 released to fix this issue

except the main composer ones which can change from server to server IIRC

fixes matomo-org/matomo#13364  and #77
@mattab
Copy link
Member

mattab commented Sep 1, 2018

fixed in 2a683a8

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