Bug 196920

Summary: [maintainer update] www/seahub: clean the python code
Product: Ports & Packages Reporter: Jingfeng Yan <yan_jingfeng>
Component: Individual Port(s)Assignee: John Marino <marino>
Status: Closed FIXED    
Severity: Affects Many People CC: marino, yan_jingfeng
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 196866, 196869, 196919, 196922    
Bug Blocks:    
Description Flags
shar file
shar file
portlint result
testport result
shar file
testport result
shar file
testport result
shar file none

Description Jingfeng Yan 2015-01-20 05:10:41 UTC
Modify Djblets 0.6.14 to use Pillow instead of PIL (py-imaging).  In addition, clean the installation to global site-packages, and server installation is as non-root user/group.
Comment 1 Jingfeng Yan 2015-01-20 05:13:30 UTC
The diff size are more than 1000KB.  What I should do here?
Comment 2 Jingfeng Yan 2015-01-20 05:27:11 UTC
Created attachment 151881 [details]
shar file

svn diff result is larger than 1000KB.
Comment 3 Jingfeng Yan 2015-01-27 01:50:16 UTC
Created attachment 152241 [details]
shar file

the diff file is 1.5MB.  So, I load up the shar file.
Comment 4 Jingfeng Yan 2015-01-27 01:50:44 UTC
Created attachment 152242 [details]
portlint result
Comment 5 Jingfeng Yan 2015-01-27 01:51:15 UTC
Created attachment 152243 [details]
testport result
Comment 6 Jingfeng Yan 2015-01-27 21:41:33 UTC
Created attachment 152280 [details]
shar file
Comment 7 Jingfeng Yan 2015-01-27 21:43:11 UTC
(In reply to Jingfeng Yan from comment #6)

There is one template file and one variable not corrected.  The newly uploaded file correct these.
Comment 8 Jingfeng Yan 2015-02-08 20:51:03 UTC
Created attachment 152779 [details]
testport result
Comment 9 Jingfeng Yan 2015-02-08 21:00:04 UTC
Created attachment 152780 [details]
shar file

Limited to some files and directories to have ownership with www/www.  Basic tests can go thru.
Comment 10 John Marino freebsd_committer 2015-02-16 09:01:02 UTC
you might need to rework this one too:

X@exec install -d -o %%SEAFILE_USERNAME%% -g %%SEAFILE_GROUPNAME%% -m 755 %D/%%SEAFILE_SERVER%%/runtime
X@exec install -d -o %%SEAFILE_USERNAME%% -g %%SEAFILE_GROUPNAME%% -m 755 %D/%%SEAFILE_SERVER%%/seahub
X@exec install -d -o %%SEAFILE_USERNAME%% -g %%SEAFILE_GROUPNAME%% -m 755 %D/%%SEAHUBDIR%%/media
X@exec install -d -o %%SEAFILE_USERNAME%% -g %%SEAFILE_GROUPNAME%% -m 755 %D/%%SEAHUBDIR%%/media/avatars
X@exec install -d -o %%SEAFILE_USERNAME%% -g %%SEAFILE_GROUPNAME%% -m 755 %D/%%SEAHUBDIR%%/media/avatars/groups
X@exec install -d -o %%SEAFILE_USERNAME%% -g %%SEAFILE_GROUPNAME%% -m 755 %D/%%HAIWENDIR%%
Comment 11 Jingfeng Yan 2015-02-23 04:07:07 UTC
Created attachment 153357 [details]
testport result
Comment 12 Jingfeng Yan 2015-02-23 04:12:22 UTC
Created attachment 153358 [details]
shar file
Comment 13 commit-hook freebsd_committer 2015-02-23 09:50:00 UTC
A commit references this bug:

Author: marino
Date: Mon Feb 23 09:49:22 UTC 2015
New revision: 379654
URL: https://svnweb.freebsd.org/changeset/ports/379654

  www/seahub: Relocate python files

  Also use Djblets Pillow instead of Djblets PIL.

  PR:		196920
  Submitted by:	maintainer (Jingfeng Yan)

Comment 14 John Marino freebsd_committer 2015-02-23 09:50:55 UTC
That's the last of them, thanks.  I know it was a long road. :)