Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 516388

Summary: www-apps/cgit-1.2.3-r200 installs into paths that should be created at runtime
Product: Gentoo Linux Reporter: Julian Ospald <hasufell>
Component: Current packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED FIXED    
Severity: QA CC: nikoli, proxy-maint, toralf, web-apps
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/30724
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 520404    

Description Julian Ospald 2014-07-04 20:35:17 UTC
* QA Notice: This ebuild installs into paths that should be created at runtime.
 *  To fix, simply do not install into these directories.  Instead, your package
 *  should create dirs on the fly at runtime as needed via init scripts/etc...
 * 
 *   var/cache
 *   var/cache/cgit
 *   var/cache/cgit/.keep_www-apps_cgit-0


Seems to be a new QA warning?
Comment 1 Jason A. Donenfeld gentoo-dev 2016-02-23 18:17:43 UTC
Well, those paths aren't created at runtime. So, what now?
Comment 2 Matt Turner gentoo-dev 2020-03-23 22:10:57 UTC
*** Bug 677336 has been marked as a duplicate of this bug. ***
Comment 3 Matt Turner gentoo-dev 2020-08-25 19:38:32 UTC
*** Bug 725468 has been marked as a duplicate of this bug. ***
Comment 4 Agostino Sarubbo gentoo-dev 2021-11-16 07:36:53 UTC
tinderbox has reproduced this issue with version 1.2.3-r200 - Updating summary.
Comment 5 Larry the Git Cow gentoo-dev 2023-04-25 02:22:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91be320f2480e8b48c5812a9ed412688ccd6b06a

commit 91be320f2480e8b48c5812a9ed412688ccd6b06a
Author:     Chris Mayo <aklhfex@gmail.com>
AuthorDate: 2023-04-24 18:22:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-25 02:22:09 +0000

    www-apps/cgit: Create cache directory at runtime
    
    Closes: https://bugs.gentoo.org/516388
    Signed-off-by: Chris Mayo <aklhfex@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/30724
    Signed-off-by: Sam James <sam@gentoo.org>

 www-apps/cgit/cgit-1.2.3-r202.ebuild | 115 +++++++++++++++++++++++++++++++++++
 1 file changed, 115 insertions(+)