Bug 196920 - [maintainer update] www/seahub: clean the python code
Summary: [maintainer update] www/seahub: clean the python code
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: John Marino
URL:
Keywords:
Depends on: 196866 196869 196919 196922
Blocks:
  Show dependency treegraph
 
Reported: 2015-01-20 05:10 UTC by Jingfeng Yan
Modified: 2015-02-23 09:50 UTC (History)
2 users (show)

See Also:


Attachments
shar file (871.70 KB, application/x-shar)
2015-01-20 05:27 UTC, Jingfeng Yan
no flags Details
shar file (871.84 KB, application/x-shar)
2015-01-27 01:50 UTC, Jingfeng Yan
no flags Details
portlint result (186 bytes, text/plain)
2015-01-27 01:50 UTC, Jingfeng Yan
no flags Details
testport result (23.21 KB, text/plain)
2015-01-27 01:51 UTC, Jingfeng Yan
no flags Details
shar file (871.88 KB, application/x-shar)
2015-01-27 21:41 UTC, Jingfeng Yan
no flags Details
testport result (26.93 KB, text/plain)
2015-02-08 20:51 UTC, Jingfeng Yan
no flags Details
shar file (615.87 KB, text/plain)
2015-02-08 21:00 UTC, Jingfeng Yan
no flags Details
testport result (26.00 KB, text/plain)
2015-02-23 04:07 UTC, Jingfeng Yan
no flags Details
shar file (615.75 KB, text/plain)
2015-02-23 04:12 UTC, Jingfeng Yan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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

Log:
  www/seahub: Relocate python files

  Also use Djblets Pillow instead of Djblets PIL.

  PR:		196920
  Submitted by:	maintainer (Jingfeng Yan)

Changes:
  head/www/seahub/Makefile
  head/www/seahub/files/patch-send_user_notifications.sh.template
  head/www/seahub/files/patch-setenv.sh.template
  head/www/seahub/pkg-plist
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. :)