[DRE-maint] Accepted gitlab 8.13.11+dfsg-8 (source) into unstable

Holger Levsen holger at layer-acht.org
Sat Mar 25 10:15:28 UTC 2017


On Thu, Mar 23, 2017 at 03:03:58PM +0000, Pirate Praveen wrote:
>  gitlab (8.13.11+dfsg-8) unstable; urgency=medium
>    * Be more defensive in rm -rf
 
https://anonscm.debian.org/cgit/pkg-ruby-extras/gitlab.git/commit/?id=33eb420ac6a10cee51a1031d31ba31179efb3ebd
is pointless. a.) the loop is useless, there's a "rm -rf $gitlab_data_dir"
later anyway, and b.) those, tests are useless too, 1.) it's rm _-f_ anyway,
b.) test -e / also returns true…

what you really what to test is whether the directory to be deleted is a
sensible one to be deleted… (eg whether the path starts with /var/lib/gitlab
or whatever is sensible here.)


-- 
cheers,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20170325/217bfab4/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list