Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885120
Bug ID: 885120 Summary: Review Request: python-elfdata - Python wrapper to get ELF data Product: Fedora Version: rawhide Component: Package Review Severity: medium Priority: medium Reporter: kdas@redhat.com
Spec URL: http://kushal.fedorapeople.org/packages/python-elfdata.spec SRPM URL: http://kushal.fedorapeople.org/packages/python-elfdata-0.2-1.fc17.src.rpm
Description: Python wrapper to get ELF data. Fedora Account System Username: kushal
EPEL build : http://koji.fedoraproject.org/koji/taskinfo?taskID=4766621 RAWHIDE: http://koji.fedoraproject.org/koji/taskinfo?taskID=4766639
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885120
Jos de Kloe josdekloe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |josdekloe@gmail.com
--- Comment #1 from Jos de Kloe josdekloe@gmail.com --- the package builds fine using mock with target rawhide as well on my side, and produces 3 rpms. The rpmlint results on these are:
rpmlint python-elfdata-0.2-1.fc19.src.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
rpmlint python-elfdata-0.2-1.fc19.x86_64.rpm
python-elfdata.x86_64: E: non-standard-executable-perm /usr/lib64/python2.7/si\ te-packages/elfdata.so 0775L 1 packages and 0 specfiles checked; 1 errors, 0 warnings.
rpmlint python-elfdata-debuginfo-0.2-1.fc19.x86_64.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
the software seems to work correct:
at the python prompt:
import elfdata elfdata.get_buildid('/usr/bin/python')
['581d0eca14f240d039dea75937520809a6f02cfc']
gives the same buildid result as issuing eu-readelf -n /usr/bin/python on the commandline.
eu-readelf -n /usr/bin/python | tail -1
Build ID: 581d0eca14f240d039dea75937520809a6f02cfc
My main complaint for this module is the lack of documentation. (usage of the module may be obvious for those deeply involved into elf, but it wasn't for me). This is not directly related to the packaging, but since you are the author as well I have to mention it.
The only 3 lines of documentation in the doc string of the module after issuing help(elfdata) on the python prompt are:
FUNCTIONS get_buildid(...) Does some magic
adding some more documentation would make this module much more usefull to actual users I think.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885120
--- Comment #2 from Kushal Das kdas@redhat.com --- Spec URL: http://kushal.fedorapeople.org/packages/python-elfdata.spec SRPM URL: http://kushal.fedorapeople.org/packages/python-elfdata-0.4-1.fc17.src.rpm
The documentation will be updated by next release (within next 2-3 days), this is under heavy development as we need this for darkserver project to deploy.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885120
Parag AN(पराग) panemade@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |panemade@gmail.com Assignee|nobody@fedoraproject.org |panemade@gmail.com Flags| |fedora-review?
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885120
--- Comment #3 from Parag AN(पराग) panemade@gmail.com --- Review:-
+ Package build fine in mock
+ rpmlint on rpms gave python-elfdata.src: W: invalid-url Source0: https://github.com/downloads/kushaldas/elfdata/elfdata-0.4.tar.gz HTTP Error 404: Not Found 3 packages and 0 specfiles checked; 0 errors, 1 warnings.
- Source verified with upstream as
+ follow python packaging guidelines
+ license is valid
Suggestions: * Package contains BR: python2-devel or python3-devel See: http://fedoraproject.org/wiki/Packaging:Python#BuildRequires
* you may also want to remove buildroot %clean cleaning of buildroot in %install python_sitearch macro
* Please add license, description in PKG-INFO file upstream
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885120
Kushal Das kushaldas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kushaldas@gmail.com
--- Comment #4 from Kushal Das kushaldas@gmail.com ---
Spec URL: http://kushal.fedorapeople.org/packages/python-elfdata.spec SRPM URL: http://kushal.fedorapeople.org/packages/python-elfdata-0.5-2.fc17.src.rpm
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885120
Parag AN(पराग) panemade@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|fedora-review? | Flags| |fedora-review+
--- Comment #5 from Parag AN(पराग) panemade@gmail.com --- Thanks for the update. Looks good.
APPROVED.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885120
Kushal Das kushaldas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |fedora-cvs?
--- Comment #6 from Kushal Das kushaldas@gmail.com --- New Package SCM Request ======================= Package Name: python-elfdata Short Description: Python wrapper to get ELF data Owners: kushal Branches: f17 f18 el6 InitialCC: kushal
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885120
--- Comment #7 from Jon Ciesla limburgher@gmail.com --- Git done (by process-git-requests).
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885120
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885120
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- python-elfdata-0.5-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-elfdata-0.5-2.el6
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885120
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885120
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- python-elfdata-0.5-2.el6 has been pushed to the Fedora EPEL 6 testing repository.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885120
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |ERRATA Last Closed| |2013-04-02 22:01:56
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885120
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- python-elfdata-0.5-2.el6 has been pushed to the Fedora EPEL 6 stable repository.
package-review@lists.fedoraproject.org