.git/ files should not be part of integrity check · Issue #6955 · matomo-org/matomo · GitHub
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

.git/ files should not be part of integrity check #6955

Closed
mtandersson opened this issue Jan 8, 2015 · 1 comment
Closed

.git/ files should not be part of integrity check #6955

mtandersson opened this issue Jan 8, 2015 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@mtandersson
Copy link

(When upgrading from 2.9.0 -> 2.10.0)

I have the piwik source in a private git repo together with my config file other elb files for easy deploy on aws elastic beanstalk.

And when doing a deploy i use
git archive --format zip and then I upload that to elasticbeanstalk.

When doing that i don't get the .git filders/files. I get warnings in the integrity check on the following files:

File integrity check failed and reported some errors. This is most likely due to a partial or failed upload of some of the Piwik files. You should reupload all the Piwik files in BINARY mode and refresh this page until it shows no error.
Missing file: /var/app/current/piwik/libs/PiwikTracker/.git
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/config
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/description
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/FETCH_HEAD
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/HEAD
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/hooks/applypatch-msg.sample
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/hooks/commit-msg.sample
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/hooks/post-update.sample
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/hooks/pre-applypatch.sample
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/hooks/pre-commit.sample
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/hooks/prepare-commit-msg.sample
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/hooks/pre-push.sample
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/hooks/pre-rebase.sample
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/hooks/update.sample
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/index
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/info/exclude
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/logs/HEAD
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/logs/refs/heads/filecache-race-condition-fix
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/logs/refs/heads/master
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/logs/refs/remotes/composer/filecache-race-condition-fix
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/logs/refs/remotes/composer/master
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/logs/refs/remotes/origin/HEAD
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/objects/pack/pack-8cb633474ee22e2ef6bd1611fe0ba72abc2eca64.idx
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/objects/pack/pack-8cb633474ee22e2ef6bd1611fe0ba72abc2eca64.pack
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/ORIG_HEAD
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/packed-refs
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/refs/heads/filecache-race-condition-fix
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/refs/heads/master
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/refs/remotes/composer/filecache-race-condition-fix
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/refs/remotes/composer/master
Missing file: /var/app/current/piwik/vendor/doctrine/cache/.git/refs/remotes/origin/HEAD

In my opinion these files should not be part of the integrity check.

@mattab
Copy link
Member

mattab commented Jan 9, 2015

Thanks for report, it was fixed in matomo-org/matomo-package@97ff170

@mattab mattab closed this as completed Jan 9, 2015
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants