maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Annouce] Woodchuck: A Network Transmission Manager (https://talk.maemo.org/showthread.php?t=79707)

neal 2011-11-16 14:52

Re: [Annouce] Woodchuck: A Network Transmission Manager
 
Thanks to everyone who tested the packages, murmeltier, the Woodchuck server is now in extras!

FeedingIt, a Woodchuck-enabled RSS reader, is currently in extras devel and will likely be the first Woodchuck-enabled application in extras!

neal 2011-12-12 15:30

Re: [Annouce] Woodchuck: A Network Transmission Manager
 
The woodchuck-enabled version of Khweeteur is now in extras-devel!

neal 2011-12-13 17:46

Re: [Annouce] Woodchuck: A Network Transmission Manager
 
A few days ago I promoted a new version of Woodchuck and APT Woodchuck to extras testing. It would be great if people could try them and vote for their promotion to extras!

Woodchuck: http://maemo.org/packages/package_in...r/0.4~20111208

APT Woodchuck: http://maemo.org/packages/package_in...k/0.4~20111203

Note: I've also recently created two mailing lists for Woodchuck:

woodchuck-bugs@nongnu.org is for bug reports. See http://hssl.cs.jhu.edu/~neal/woodchu...o_report_a_bug for more information.

woodchuck-devel@nongnu.org is for development, but support questions are also welcome. Of course, I also watch this thread.

ivgalvez 2011-12-13 19:27

Re: [Annouce] Woodchuck: A Network Transmission Manager
 
If installing APT Woodchuck, will it update from /etc/apt/sources.list?

I usually have only enabled Nokia, OVI, CSSU and Extras repositories to avoid so long updates when using HAM, while for FAPMAN I have also enabled testing and devel as it's much more faster and friendly.

If APT Woodchuck use regular sources.list, is there a way to avoid apt worker to also update regularly? (even changing the gconf key I have found it updating from time to time).

neal 2011-12-13 21:35

Re: [Annouce] Woodchuck: A Network Transmission Manager
 
Thanks for the good questions!

Quote:

Originally Posted by ivgalvez (Post 1137162)
If installing APT Woodchuck, will it update from /etc/apt/sources.list?

APT Woodchuck doesn't change /etc/apt/sources.list. It calls apt-wroker about once a day when connectivity is good (unlike HAM).

Quote:

Originally Posted by ivgalvez (Post 1137162)
I usually have only enabled Nokia, OVI, CSSU and Extras repositories to avoid so long updates when using HAM, while for FAPMAN I have also enabled testing and devel as it's much more faster and friendly.

I don't know where fapman stores its catalogs or how it updates them. It would be good to have APT Woodchuck also schedule fapman's updates if it is installed or to modify fapman to directly use Woodchuck.

Quote:

Originally Posted by ivgalvez (Post 1137162)
If APT Woodchuck use regular sources.list, is there a way to avoid apt worker to also update regularly? (even changing the gconf key I have found it updating from time to time).

APT Woodchuck disables HAM's normal update mechanism using the gconf trick. Unfortunately, I wasn't aware that this doesn't always work. If there is a better way, I'd like to hear about it.

nicolai 2011-12-17 10:26

Re: [Annouce] Woodchuck: A Network Transmission Manager
 
Hey neal,

is it possible to configure woodchuck or do you
plan to make a settings ui for this.

At the moment I have khweeteur installed, for
testing purpose (testing khweeteur and your woodchuck).

I disabled khweeteurs daemon, but it (or
woodchuck) still runs in the background and
reminds me about new available tweets.

Nicolai

neal 2011-12-17 10:42

Re: [Annouce] Woodchuck: A Network Transmission Manager
 
Hi Nicolai,

Quote:

Originally Posted by nicolai (Post 1138672)
is it possible to configure woodchuck or do you
plan to make a settings ui for this.

There is not yet a graphical settings ui. From the command line, you can use woodchuck-cli to examine and modify the state.

Quote:

Originally Posted by nicolai (Post 1138672)
I disabled khweeteurs daemon, but it (or
woodchuck) still runs in the background and
reminds me about new available tweets.

It sounds, however, like you want to configure Khweeteur, not Woodchuck. If you want to disable Khweeteur's notifications, you can do that in its settings dialog. Click on the menu, preferences, and then uncheck: "Show errors notifications", "DM Notifications", "Mention Notifications" and "Timeline Notifications".

Currently, Khweeteur does not have an option to disable the use of Woodchuck. You can still accomplish this using the aforementioned tool:

Code:

user@Nokia-N900-42-11:~$ woodchuck-cli
1: FeedingIt (org.marcoz.feedingit)
2: Application Update Manager (org.woodchuck.apt-woodchuck)
3: Khweeteur (net.khertan.khweeteur.daemon)
4: gPodder (org.gpodder)
> print 3
cookie: net.khertan.khweeteur.daemon
dbus_object:
dbus_service_name: net.khertan.khweeteur.daemon
enabled: 1
human_readable_name: Khweeteur
parent_UUID:
priority: 0
registration_time: Fri Oct  7 13:07:33 2011 (1317989253)
UUID: 03a9a6377b4af0d05f9be0e30f34d553
> set 3 enabled 0
Changing enabled: 1 => 0
> print 3
cookie: net.khertan.khweeteur.daemon
dbus_object:
dbus_service_name: net.khertan.khweeteur.daemon
enabled: 0
human_readable_name: Khweeteur
parent_UUID:
priority: 0
registration_time: Fri Oct  7 13:07:33 2011 (1317989253)
UUID: 03a9a6377b4af0d05f9be0e30f34d553

If you tell me more precisely what you want to accomplish, I might have an idea on how to improve Woodchuck / Khweeteur.

Thanks for the feedback!

Neal

nicolai 2011-12-17 11:08

Re: [Annouce] Woodchuck: A Network Transmission Manager
 
Quote:

Originally Posted by neal (Post 1138675)
It sounds, however, like you want to configure Khweeteur, not Woodchuck.

No, I don't want to configure khweeteur, because at the moment,
khweeteur isn't running, but I still get notifications about
new tweets, so someone starts khweeteur from the
background.

Quote:

Originally Posted by neal (Post 1138675)
If you want to disable Khweeteur's notifications, you can do that in its settings dialog. Click on the menu, preferences, and then uncheck: "Show errors notifications", "DM Notifications", "Mention Notifications" and "Timeline Notifications".

In khweeteurs preferences dialog, I disabled the "use daemon"
option. I thought this would be enough to disable khweeteur
fetching new tweets in the background.
But they still show up.

Quote:

Originally Posted by neal (Post 1138675)
Currently, Khweeteur does not have an option to disable the use of Woodchuck. You can still accomplish this using the aforementioned tool:

Code:

user@Nokia-N900-42-11:~$ woodchuck-cli
1: FeedingIt (org.marcoz.feedingit)
2: Application Update Manager (org.woodchuck.apt-woodchuck)
3: Khweeteur (net.khertan.khweeteur.daemon)
4: gPodder (org.gpodder)
> print 3
cookie: net.khertan.khweeteur.daemon
dbus_object:
dbus_service_name: net.khertan.khweeteur.daemon
enabled: 1
human_readable_name: Khweeteur
parent_UUID:
priority: 0
registration_time: Fri Oct  7 13:07:33 2011 (1317989253)
UUID: 03a9a6377b4af0d05f9be0e30f34d553
> set 3 enabled 0
Changing enabled: 1 => 0
> print 3
cookie: net.khertan.khweeteur.daemon
dbus_object:
dbus_service_name: net.khertan.khweeteur.daemon
enabled: 0
human_readable_name: Khweeteur
parent_UUID:
priority: 0
registration_time: Fri Oct  7 13:07:33 2011 (1317989253)
UUID: 03a9a6377b4af0d05f9be0e30f34d553


Ok , this may help, but I still don't understand who
fetches the new tweets while khweeteur and the khweeteur
daemon isn't running.

Quote:

Originally Posted by neal (Post 1138675)
If you tell me more precisely what you want to accomplish, I might have an idea on how to improve Woodchuck / Khweeteur.

The main concern is:
imagine a user installing khweeteur and he want to disable
it from running in the background. He opens the preference
dialog, disables "use daemon" option, but he still
gets notifications. Even after he closed the kwheeteur applcation.

nicolai

ammyt 2011-12-17 11:12

Re: [Annouce] Woodchuck: A Network Transmission Manager
 
If it were me, I would've run top and look for khweeteur's pid and woodchuck's pid then kill both of them.

neal 2011-12-17 12:22

Re: [Annouce] Woodchuck: A Network Transmission Manager
 
Quote:

Originally Posted by nicolai (Post 1138682)
No, I don't want to configure khweeteur, because at the moment,
khweeteur isn't running, but I still get notifications about
new tweets, so someone starts khweeteur from the
background.

Woodchuck starts the Khweeteur daemon periodically. That's the point of Woodchuck--it schedules network transmissions periodically. Because Khweeteur registered network transmissions with Woodchuck, Woodchuck starts it when an update should be performed.

Note that the notifications are not displayed by a running instance of Khweeteur (i.e., if you click on a notification, Hildon may need to start Khweeteur): they are standard freedesktop notifications that can be shown even if the application is not (or no longer) running.

Quote:

Originally Posted by nicolai (Post 1138682)
In khweeteurs preferences dialog, I disabled the "use daemon"
option. I thought this would be enough to disable khweeteur
fetching new tweets in the background.
But they still show up.

The "use daemon" option means: the Khweeteur daemon always runs in the background and periodically checks for updates (whether you are using WiFi, cellular or even roaming).

When using Woodchuck, the Khweeteur daemon is only started when necessary and quits when there is nothing left to do thereby freeing memory. Further, Woodchuck is aware of the connectivity.

Quote:

Originally Posted by nicolai (Post 1138682)
Ok , this may help, but I still don't understand who
fetches the new tweets while khweeteur and the khweeteur
daemon isn't running.

Woodchuck starts the Khweeteur daemon periodically and tells it to fetch updates, which is what Khweeteur requested. You can think of Woodchuck as cron++.

Quote:

Originally Posted by nicolai (Post 1138682)
The main concern is:
imagine a user installing khweeteur and he want to disable
it from running in the background. He opens the preference
dialog, disables "use daemon" option, but he still
gets notifications. Even after he closed the kwheeteur applcation.

Ok. This is a good point. I'll come up with a patch to improve Khweeteur in this regard.


All times are GMT. The time now is 10:33.

vBulletin® Version 3.8.8