Bug 499476

Summary: Review Request: orbited - A browser(javascript)->tcp bridge
Product: [Fedora] Fedora Reporter: Tom "spot" Callaway <tcallawa>
Component: Package ReviewAssignee: Brennan Ashton <bashton>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bashton, fabian.deutsch, fedora-package-review, lmacken, mmcgrath, notting, pahan
Target Milestone: ---Flags: bashton: fedora-review+
kevin: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: orbited-0.7.10-3.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-18 03:25:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 499475    
Bug Blocks:    

Description Tom "spot" Callaway 2009-05-06 19:28:36 UTC
Spec URL: http://www.auroralinux.org/people/spot/review/new/python-orbited.spec
SRPM URL: http://www.auroralinux.org/people/spot/review/new/python-orbited-0.7.9-1.fc11.src.rpm
Description: 
Orbited provides a pure JavaScript/HTML socket in the browser. It is a web
router and firewall that allows you to integrate web applications with
arbitrary back-end systems. You can implement any network protocol in the
browser—without resorting to plugins.

Koji Scratch Build (F12): http://koji.fedoraproject.org/koji/taskinfo?taskID=1339081

Comment 1 Tom "spot" Callaway 2009-05-06 19:33:42 UTC
I remembered why I didn't name this python-orbited... there is a separate pyorbited package that is the client bits. To minimize confusion, I've renamed it to orbited. No other changes were made.

New SPEC: http://www.auroralinux.org/people/spot/review/new/orbited.spec
New SRPM: http://www.auroralinux.org/people/spot/review/new/orbited-0.7.9-1.fc11.src.rpm

Koji Scratch Build (F12): http://koji.fedoraproject.org/koji/taskinfo?taskID=1339097

Comment 2 Jason Tibbitts 2009-06-03 23:52:10 UTC
Doesn't this need an initscript to start the daemon?  What about the config file in /etc/orbited.cfg?

Comment 3 Brennan Ashton 2009-07-26 18:59:46 UTC
Ping?
could you please add the daemon and config file.
http://www.orbited.org/wiki/Deployment

Once I see this activity to verify this is not stale I will start the review.

Comment 4 Luke Macken 2009-09-18 20:56:37 UTC
(In reply to comment #2)
> Doesn't this need an initscript to start the daemon?  What about the config
> file in /etc/orbited.cfg?  

Yes, I think this would be a good idea.

Comment 5 Tom "spot" Callaway 2009-09-18 21:02:45 UTC
Okay, lemme see what I can whip up (now that chromium is pushed).

Comment 6 Tom "spot" Callaway 2009-09-19 03:33:56 UTC
We'd need for orbited to have some support of running as a daemon to do this right. Luke and I whipped up something and he is going to run it past upstream.

Comment 7 Luke Macken 2009-10-07 19:34:28 UTC
I sent a modified version of spots patch upstream for inclusion.  I also tested the patch locally, and it seems to do the trick.

http://groups.google.com/group/orbited-users/browse_thread/thread/2fe09fefb9295421

Comment 8 Luke Macken 2009-10-07 19:38:31 UTC
http://lmacken.fedorapeople.org/rpms/orbited-0.7.10-1.fc11.src.rpm
http://lmacken.fedorapeople.org/rpms/orbited.spec

* Wed Oct 07 2009 Luke Macken <lmacken> - 0.7.10-1
- Update to 0.7.10
- Apply a patch to add a --daemon argument

* Sat Aug 08 2009 Luke Macken <lmacken> - 0.7.9-2
- Ship a working version of urlparse for Orbited on RHEL5
  http://orbited.org/ticket/24

Comment 9 Fabian Deutsch 2009-11-24 01:14:53 UTC
X Daemon
There is still need for some initscript/upstart-integration and config-file as discussed earlier.
It is a standalone daemon, is it?

X User
As noted in http://www.orbited.org/browser/trunk/daemon/orbited.cfg, the daemon can fall back to some user, so it might be good to add an appropriate user.

X SPEC: Wrong indentation of Source1 and Patch0

X KOJI: Ok.

X RPMLINT:
$ rpmlint -v /home/fabiand/Downloads/orbited-0.7.10-1.fc12.*
orbited.noarch: I: checking
orbited.noarch: W: spelling-error-in-summary en_US javascript
orbited.noarch: W: spelling-error-in-summary en_US tcp
orbited.noarch: W: spelling-error-in-description en_US plugins
orbited.noarch: W: no-documentation
orbited.src: I: checking
orbited.src: W: spelling-error-in-summary en_US javascript
orbited.src: W: spelling-error-in-summary en_US tcp
orbited.src: W: spelling-error-in-description en_US plugins
orbited.src: W: mixed-use-of-spaces-and-tabs (spaces: line 12, tab: line 4)
2 packages and 0 specfiles checked; 0 errors, 8 warnings.
- Correct spelling
- Add documentation

Note: This is my first review, thanks for some constructive feedback :)

Comment 10 Mike McGrath 2009-12-02 19:43:02 UTC
Seems this also needs python-setuptools:

/usr/bin/orbited -c orbited.cfg
Traceback (most recent call last):
  File "/usr/bin/orbited", line 5, in ?
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

Comment 11 Luke Macken 2009-12-11 21:04:13 UTC
http://lmacken.fedorapeople.org/rpms/orbited-0.7.10-2.fc11.src.rpm
http://lmacken.fedorapeople.org/rpms/orbited.spec

* Fri Nov 13 2009 Luke Macken <lmacken> - 0.7.10-2
- Add an init script
- Add the default configuration file
- Patch the default config to enable epoll and to disable access
- Remove python-demjson requirement
- Require python-setuptools

Comment 12 Brennan Ashton 2009-12-13 16:40:39 UTC
Alright, it looks like the necessary changes have been made, and I note that you have passed the daemon patch to upstream 
http://groups.google.com/group/orbited-users/browse_thread/thread/2fe09fefb9295421/cf1ffe4e4c795e4d?lnk=gst&q=daemon#cf1ffe4e4c795e4d 

I APPROVE this package, please request CVS now.

Comment 13 Fabian Deutsch 2009-12-13 17:00:56 UTC
A quick rpmlint gives:
$ rpmlint orbited-0.7.10-2.fc11.src.rpm 
orbited.src: W: strange-permission orbited.init 0775
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

Comment 14 Luke Macken 2010-01-06 02:12:28 UTC
New Package CVS Request
=======================
Package Name: orbited
Short Description: A browser(javascript)->tcp bridge 
Owners: lmacken
Branches: F-11 F-12 EL-5

Comment 15 Luke Macken 2010-01-06 02:40:15 UTC
(In reply to comment #13)
> A quick rpmlint gives:
> $ rpmlint orbited-0.7.10-2.fc11.src.rpm 
> orbited.src: W: strange-permission orbited.init 0775
> 1 packages and 0 specfiles checked; 0 errors, 1 warnings.  

I'll fix that before I commit it to CVS, thanks.

Comment 16 Kevin Fenzi 2010-01-06 21:33:13 UTC
cvs done.

Comment 17 Fedora Update System 2010-01-06 23:32:58 UTC
orbited-0.7.10-3.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/orbited-0.7.10-3.fc12

Comment 18 Fedora Update System 2010-01-06 23:33:04 UTC
orbited-0.7.10-3.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/orbited-0.7.10-3.el5

Comment 19 Fedora Update System 2010-01-06 23:33:08 UTC
orbited-0.7.10-3.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/orbited-0.7.10-3.fc11

Comment 20 Fedora Update System 2010-01-07 21:42:13 UTC
orbited-0.7.10-3.el5 has been pushed to the Fedora EPEL 5 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update orbited'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/EL-5/FEDORA-EPEL-2010-0030

Comment 21 Fedora Update System 2010-01-07 21:47:23 UTC
orbited-0.7.10-3.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update orbited'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-0281

Comment 22 Fedora Update System 2010-01-07 21:56:46 UTC
orbited-0.7.10-3.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update orbited'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0315

Comment 23 Fedora Update System 2010-03-18 03:25:10 UTC
orbited-0.7.10-3.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 24 Fedora Update System 2010-03-18 03:32:02 UTC
orbited-0.7.10-3.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.