Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
autopush extension
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Benoit Chesneau  
View profile  
 More options Jul 24 2010, 4:22 pm
From: Benoit Chesneau <bchesn...@gmail.com>
Date: Sat, 24 Jul 2010 13:22:23 -0700 (PDT)
Local: Sat, Jul 24 2010 4:22 pm
Subject: autopush extension
Hi all,

I just commited autopush extension. This extension allows you to
autoomatically send changes from your couchapp folder to CouchDB.

To use it, register the extension in your
.couchapprc :

{
   "extensions": [
        "egg:couchapp#autopush"
    ]

}

Then launch autopush server in the couchapp folder :

    couchapp autopush --update-delai 10 . testdb

This command send changes every 10 seconds to tesdb database. autopush
use linux inotify API if pyinotify is installed. Eventlet is required
for this feature.

Hope it will be useful. Any feedback appreciated.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
J. Chris Anderson  
View profile  
 More options Jul 24 2010, 4:25 pm
From: "J. Chris Anderson" <jch...@apache.org>
Date: Sat, 24 Jul 2010 13:25:40 -0700 (PDT)
Local: Sat, Jul 24 2010 4:25 pm
Subject: Re: autopush extension

On Jul 24, 1:22 pm, Benoit  Chesneau <bchesn...@gmail.com> wrote:

I was discussing this with Benoit and IRC. I think the feature would
be much more useful if it didn't require any configuration on the part
of the user.

So instead of doing anything special, you could just add --auto to
your existing couchapp push command, and it will run continuously,
pushing changes as you work.

Would folks prefer that method of invocation? My hunch is yes, but we
want to see from the community.

Thanks for the great work Benoit! My interest now is in making it as
accessible to the user-base as possible.

Chris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Benoit Chesneau  
View profile  
 More options Jul 24 2010, 4:37 pm
From: Benoit Chesneau <bchesn...@gmail.com>
Date: Sat, 24 Jul 2010 13:37:22 -0700 (PDT)
Local: Sat, Jul 24 2010 4:37 pm
Subject: Re: autopush extension

On Jul 24, 10:25 pm, "J. Chris Anderson" <jch...@apache.org> wrote:

> I was discussing this with Benoit and IRC. I think the feature would
> be much more useful if it didn't require any configuration on the part
> of the user.

> So instead of doing anything special, you could just add --auto to
> your existing couchapp push command, and it will run continuously,
> pushing changes as you work.

While this command could be available by default I need to be autopush
command and not another function imo since there are some options
possible :

--no-inotify : don't use inotify on linux
--update-delay : time in second between each updates
--no-atomic : send non atomically (like push)

adding these options wil make "push" command more complex I think ?

> Would folks prefer that method of invocation? My hunch is yes, but we
> want to see from the community.

waiting your feedback too. Change will be easy.

- benoīt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Per Ejeklint  
View profile  
 More options Jul 24 2010, 5:09 pm
From: Per Ejeklint <per.ejekl...@gmail.com>
Date: Sat, 24 Jul 2010 14:09:45 -0700 (PDT)
Local: Sat, Jul 24 2010 5:09 pm
Subject: Re: autopush extension

On 24 Juli, 22:37, Benoit  Chesneau <bchesn...@gmail.com> wrote:

Thanks for this great addition! I've so far used a TextMate bundle to
achieve auto push but since I'm not entirely in love with TextMate
this opens up for even nicer tool combos.If I'm to choose, a platform
agnostic command --auto is preferred over any configuration and
selection of flags for delays, atomics and platform specific stuff.
Ideally, --auto would apply to my default environment and immediately
trigger when a file or file set changes.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariano Viola  
View profile  
 More options Apr 2 2011, 1:15 pm
From: Mariano Viola <mariano.vi...@gmail.com>
Date: Sat, 2 Apr 2011 10:15:08 -0700 (PDT)
Local: Sat, Apr 2 2011 1:15 pm
Subject: Re: autopush extension

Hi all,

the "--add" option seems to be the cleanest solution.
The Benoit solution instead solves the problem now.

-Mariano


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »