Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182093 - www-apps/viewvc doesn't have webapp-config support
Summary: www-apps/viewvc doesn't have webapp-config support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords: NeedPatch
: 197179 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-15 07:47 UTC by Weedy
Modified: 2008-02-20 13:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
www-apps/viewvc-1.0.4-r1 ebuild (viewvc-1.0.4-r1.ebuild,2.98 KB, text/plain)
2007-08-27 04:24 UTC, Michael Hordijk
Details
reconfig for webapp-config (reconfig,801 bytes, text/plain)
2007-08-27 04:25 UTC, Michael Hordijk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Weedy 2007-06-15 07:47:41 UTC
Reproducible: Always
Steps to Reproduce:
emerge -av www-apps/viewvc
# webapp-config -I -h localhost -u weedy -g users -d viewvc viewvc 1.0.4
*   Creating required directories
*   Linking in required files
*     This can take several minutes for larger apps
* viewvc-1.0.4 does not install any files from /usr/share/webapps/viewvc/1.0.4/htdocs/; skipping
* viewvc-1.0.4 does not install any files from /usr/share/webapps/viewvc/1.0.4/hostroot/; skipping
*   Files and directories installed
Traceback (most recent call last):
  File "/usr/sbin/webapp-config", line 44, in ?
    main()
  File "/usr/sbin/webapp-config", line 41, in main
    config.run()
  File "/usr/lib/python2.4/site-packages/WebappConfig/config.py", line 1075, in run
    self.config.get('USER', 'pvr')).install()
  File "/usr/lib/python2.4/site-packages/WebappConfig/server.py", line 265, in install
    self.__perm['file']['config-owned'][1])
  File "/usr/lib/python2.4/site-packages/WebappConfig/db.py", line 349, in add
    os.mkdir(os.path.dirname(dbpath), self.__dir_perm(0755))
OSError: [Errno 2] No such file or directory: '/var/db/webapps/viewvc/1.0.4'
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-15 07:53:05 UTC
This is not using webapp eclass, any attempts to use webapp-config on this are futile. This is not a bug. 

Feel free to attach an ebuild rewrite using the webapp eclass.
Comment 2 Michael Hordijk 2007-08-27 04:23:35 UTC
Well, here's my first go-round at a webapp version.  Let's start attaching...
Comment 3 Michael Hordijk 2007-08-27 04:24:40 UTC
Created attachment 129276 [details]
www-apps/viewvc-1.0.4-r1 ebuild
Comment 4 Michael Hordijk 2007-08-27 04:25:06 UTC
Created attachment 129277 [details]
reconfig for webapp-config
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-10-26 21:59:04 UTC
*** Bug 197179 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-10-26 22:02:26 UTC
Comment on attachment 129276 [details]
www-apps/viewvc-1.0.4-r1 ebuild

This will completely fail w/ FEATURES="collision-protect",  you need WEBAPP_SLOT_MANUAL="yes" and set the slot in the ebuild.
Comment 7 Dan Reidy 2008-01-30 08:42:53 UTC
im sorry, but in my opinion, this is not resolved and should be fixed to work correctly.
Comment 8 Gunnar Wrobel (RETIRED) gentoo-dev 2008-01-30 09:18:16 UTC
I'll reopen because it at least confusing that this installs into /usr/share/webapps but is not being handled by webapp-config.

I'm not saying that it *should* be handled by webapp-config since this is a python application. But it could have at least a warning that using it with webapp-config is futile.
Comment 9 Benedikt Böhm (RETIRED) gentoo-dev 2008-02-20 13:04:48 UTC
1.0.4-r1 is now webappified, please test