Bug 840109 - Review Request: php-lessphp - A compiler for LESS written in PHP
Summary: Review Request: php-lessphp - A compiler for LESS written in PHP
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-13 18:38 UTC by Shawn Iwinski
Modified: 2012-12-04 19:58 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-23 07:45:45 UTC
Type: ---
Embargoed:
fedora: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)
php-lessphp-review.txt (6.62 KB, text/plain)
2012-11-18 19:07 UTC, Remi Collet
no flags Details

Description Shawn Iwinski 2012-07-13 18:38:36 UTC
Spec URL: http://siwinski.fedorapeople.org/rpmbuild/SPECS/php-lessphp.spec

SRPM URL: http://siwinski.fedorapeople.org/rpmbuild/SRPMS/php-lessphp-0.3.5-1.fc17.src.rpm

Description:
lessphp is a compiler that generates CSS from a superset language which
adds a collection of convenient features often seen in other languages.
All CSS is compatible with LESS, so you can start using new features
with your existing CSS.

It is designed to be compatible with less.js (http://lesscss.org/), and
suitable as a drop in replacement for PHP projects.

Fedora Account System Username: siwinski

Comment 1 Remi Collet 2012-10-29 07:18:32 UTC
Could you update to latest version 0.3.8 before I do a formal review ?

Some notes

- you don't have to compress the generated man page (will be done by rpmbuild, and compression tool could change, one day)

- tests are currently installed in /usr/share/php, which is in the default include_path. There is no Guidelines about this, but I think it's a bad practice.

Please consider moving to /usr/share/tests/php-lessphp
(you need to own /usr/share/tests or requires pear which own this dir)

- sed (to add shebang) is a bit hard to read.

Isn't simpler to use :

   sed -e '1i#!/bin/bash\n' -i %{libname}/tests/bootstrap.sh

Comment 2 Shawn Iwinski 2012-11-09 01:50:11 UTC
(In reply to comment #1)
> Could you update to latest version 0.3.8 before I do a formal review ?

Updated

> Some notes
> 
> - you don't have to compress the generated man page (will be done by
> rpmbuild, and compression tool could change, one day)

Removed.  I did not know about this.  Thanks!

> - tests are currently installed in /usr/share/php, which is in the default
> include_path. There is no Guidelines about this, but I think it's a bad
> practice.
> 
> Please consider moving to /usr/share/tests/php-lessphp
> (you need to own /usr/share/tests or requires pear which own this dir)

I have tried several ways to do this but I cannot come up with a "clean" solution (i.e. not hacking up the source and/or spec file).  I will work with upstream to hopefully come up with a way to do this in a future release.
 
> - sed (to add shebang) is a bit hard to read.
> 
> Isn't simpler to use :
> 
>    sed -e '1i#!/bin/bash\n' -i %{libname}/tests/bootstrap.sh

Fixed upstream via pull request :)



Spec URL: http://siwinski.fedorapeople.org/rpmbuild/SPECS/php-lessphp.spec

SRPM URL: http://siwinski.fedorapeople.org/rpmbuild/SRPMS/php-lessphp-0.3.8-1.fc17.src.rpm

Comment 4 Remi Collet 2012-11-18 06:48:54 UTC
Build fails.

+ help2man --version-option=-v --no-info plessc
help2man: can't get `--help' info from plessc
Try `--no-discard-stderr' if option outputs to stderr

Probably because the package is not installed (plessc command not found)

Setting the path seems ok.
help2man --version-option='-v' --no-info ./plessc


[!]: Package must own all directories that it creates.
[!]: Package requires other packages for directories it uses.

As said in comment #1 you need to own /usr/share/tests or requires php-pear which own this dir

Comment 5 Shawn Iwinski 2012-11-18 16:40:58 UTC
- Fixed man page creation
- Added tests directory ownership

Spec URL: http://siwinski.fedorapeople.org/rpmbuild/SPECS/php-lessphp.spec

SRPM URL: http://siwinski.fedorapeople.org/rpmbuild/SRPMS/php-lessphp-0.3.8-3.fc17.src.rpm

Comment 6 Remi Collet 2012-11-18 19:07:32 UTC
Created attachment 647273 [details]
php-lessphp-review.txt

Generated by fedora-review 0.3.1 (b71abc1) last change: 2012-10-16
Buildroot used: fedora-17-x86_64
Command line :/usr/bin/fedora-review -r -n /dev/shm/extras/SRPMS/php-lessphp-0.3.8-3.fc17.src.rpm

Comment 7 Remi Collet 2012-11-18 19:08:11 UTC
=== APPROVED ===

Comment 8 Shawn Iwinski 2012-11-19 00:54:56 UTC
Thanks for the review and all of the help and patience with this package!


New Package SCM Request
=======================
Package Name: php-lessphp
Short Description: A compiler for LESS written in PHP
Owners: siwinski
Branches: f17 f18 el6
InitialCC:

Comment 9 Gwyn Ciesla 2012-11-19 11:08:00 UTC
Git done (by process-git-requests).

Comment 10 Fedora Update System 2012-11-19 14:56:08 UTC
php-lessphp-0.3.8-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/php-lessphp-0.3.8-3.fc18

Comment 11 Fedora Update System 2012-11-19 14:56:23 UTC
php-lessphp-0.3.8-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/php-lessphp-0.3.8-3.fc17

Comment 12 Fedora Update System 2012-11-19 14:56:45 UTC
php-lessphp-0.3.8-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/php-lessphp-0.3.8-3.el6

Comment 13 Fedora Update System 2012-11-19 18:29:04 UTC
php-lessphp-0.3.8-3.el6 has been pushed to the Fedora EPEL 6 testing repository.

Comment 14 Fedora Update System 2012-11-23 07:45:47 UTC
php-lessphp-0.3.8-3.fc18 has been pushed to the Fedora 18 stable repository.

Comment 15 Fedora Update System 2012-11-28 11:29:28 UTC
php-lessphp-0.3.8-3.fc17 has been pushed to the Fedora 17 stable repository.

Comment 16 Fedora Update System 2012-12-04 19:58:53 UTC
php-lessphp-0.3.8-3.el6 has been pushed to the Fedora EPEL 6 stable repository.


Note You need to log in before you can comment on or make changes to this bug.