Page MenuHomePhabricator

vendor/liuggio - file permissions trigger debian lintian warnings
Open, LowestPublic

Description

0. Context

DEB packages of mediawiki and many of its extensions, are prepared as part of the WP-MIRROR project.
See https://www.mediawiki.org/wiki/Wp-mirror.

  1. Lintian

During the build process, lintian performs a great number of sanity checks, including seeing if each file has file permissions appropriate to its file type.

When lintian sees a non-executable file with 755 permissions, rather than 644, lintian will throw a warning like:

wp-mirror-mediawiki: executable-not-elf-or-script usr/share/wp-mirror-mediawiki/vendor/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Entity/StatsdData.php

  1. Files which should have permissions set to 644

vendor/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Entity/StatsdData.php
vendor/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Entity/StatsdDataInterface.php
vendor/liuggio/statsd-php-client/tests/Liuggio/StatsdClient/Entity/StatsdDataTest.php
vendor/liuggio/statsd-php-client/tests/Liuggio/StatsdClient/StatsdDataFactoryTest.php

  1. Technical details

DEB standards version: 3.9.6
GIT branch: master

Event Timeline

wpmirrordev raised the priority of this task from to Medium.
wpmirrordev updated the task description. (Show Details)
wpmirrordev subscribed.
Reedy changed the task status from Open to Stalled.Oct 30 2019, 2:48 PM

Still no movement upstream, coming up to three years later. Do we want to switch to using the git hash rather than a release?

Aklapper changed the task status from Stalled to Open.Jun 6 2021, 5:08 AM
Aklapper moved this task from Backlog to Patch merged upstream on the Upstream board.

Reopening per last comment

Legoktm lowered the priority of this task from Medium to Lowest.Jun 6 2021, 6:31 PM

Still no movement upstream, coming up to three years later. Do we want to switch to using the git hash rather than a release?

No, that causes problems later on and isn't recommended: https://getcomposer.org/doc/articles/troubleshooting.md#i-have-locked-a-dependency-to-a-specific-commit-but-get-unexpected-results-

This is a pretty low priority issue, it's just lint warnings that can be easily fixed/suppressed.