Browsing Finnish translation

Don't show this notice anymore
Before translating, be sure to go through Ubuntu Translators instructions and Finnish guidelines.

These translations are shared with GNU Mailman 2.1 series template mailman.

1113 of 13 results
1238.
Run one or more qrunners, once or repeatedly.

Each named runner class is run in round-robin fashion. In other words, the
first named runner is run to consume all the files currently in its
directory. When that qrunner is done, the next one is run to consume all the
files in /its/ directory, and so on. The number of total iterations can be
given on the command line.

Usage: %(PROGRAM)s [options]

Options:

-r runner[:slice:range]
--runner=runner[:slice:range]
Run the named qrunner, which must be one of the strings returned by
the -l option. Optional slice:range if given, is used to assign
multiple qrunner processes to a queue. range is the total number of
qrunners for this queue while slice is the number of this qrunner from
[0..range).

If using the slice:range form, you better make sure that each qrunner
for the queue is given the same range value. If slice:runner is not
given, then 1:1 is used.

Multiple -r options may be given, in which case each qrunner will run
once in round-robin fashion. The special runner `All' is shorthand
for a qrunner for each listed by the -l option.

--once
-o
Run each named qrunner exactly once through its main loop. Otherwise,
each qrunner runs indefinitely, until the process receives a SIGTERM
or SIGINT.

-l/--list
Shows the available qrunner names and exit.

-v/--verbose
Spit out more debugging information to the logs/qrunner log file.

-s/--subproc
This should only be used when running qrunner as a subprocess of the
mailmanctl startup script. It changes some of the exit-on-error
behavior to work better with that framework.

-h/--help
Print this message and exit.

runner is required unless -l or -h is given, and it must be one of the names
displayed by the -l switch.

Note also that this script should be started up from mailmanctl as a normal
operation. It is only useful for debugging if it is run separately.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
(no translation yet)
Located in bin/qrunner:20
1242.
Reduce disk space usage for Pipermail archives.

Usage: %(PROGRAM)s [options] file ...

Where options are:
-h / --help
Print this help message and exit.

Only use this to 'fix' archive -article database files that have been written
with Mailman 2.1.3 or earlier and have html_body attributes in them. These
attributes can cause huge amounts of memory bloat and impact performance for
high activity lists, particularly those where large text postings are made to
them.

Example:

%% ls -1 archives/private/*/database/*-article | xargs %(PROGRAM)s

You should run `bin/check_perms -f' after running this script.

You will probably want to delete the -article.bak files created by this script
when you are satisfied with the results.

This script is provided for convenience purposes only. It isn't supported.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
(no translation yet)
Located in bin/rb-archfix:21
1330.
General framework for interacting with a mailing list object.

There are two ways to use this script: interactively or programmatically.
Using it interactively allows you to play with, examine and modify a MailList
object from Python's interactive interpreter. When running interactively, a
MailList object called `m' will be available in the global namespace. It also
loads the class MailList into the global namespace.

Programmatically, you can write a function to operate on a MailList object,
and this script will take care of the housekeeping (see below for examples).
In that case, the general usage syntax is:

%% bin/withlist [options] listname [args ...]

Options:

-l / --lock
Lock the list when opening. Normally the list is opened unlocked
(e.g. for read-only operations). You can always lock the file after
the fact by typing `m.Lock()'

Note that if you use this option, you should explicitly call m.Save()
before exiting, since the interpreter's clean up procedure will not
automatically save changes to the MailList object (but it will unlock
the list).

-i / --interactive
Leaves you at an interactive prompt after all other processing is
complete. This is the default unless the -r option is given.

--run [module.]callable
-r [module.]callable
This can be used to run a script with the opened MailList object.
This works by attempting to import `module' (which must be in the
directory containing withlist, or already be accessible on your
sys.path), and then calling `callable' from the module. callable can
be a class or function; it is called with the MailList object as the
first argument. If additional args are given on the command line,
they are passed as subsequent positional args to the callable.

Note that `module.' is optional; if it is omitted then a module with
the name `callable' will be imported.

The global variable `r' will be set to the results of this call.

--all / -a
This option only works with the -r option. Use this if you want to
execute the script on all mailing lists. When you use -a you should
not include a listname argument on the command line. The variable `r'
will be a list of all the results.

--quiet / -q
Suppress all status messages.

--help / -h
Print this message and exit


Here's an example of how to use the -r option. Say you have a file in the
Mailman installation directory called `listaddr.py', with the following
two functions:

def listaddr(mlist):
print mlist.GetListEmail()

def requestaddr(mlist):
print mlist.GetRequestEmail()

Now, from the command line you can print the list's posting address by running
the following from the command line:

%% bin/withlist -r listaddr mylist
Loading list: mylist (unlocked)
Importing listaddr ...
Running listaddr.listaddr() ...
mylist@myhost.com

And you can print the list's request address by running:

%% bin/withlist -r listaddr.requestaddr mylist
Loading list: mylist (unlocked)
Importing listaddr ...
Running listaddr.requestaddr() ...
mylist-request@myhost.com

As another example, say you wanted to change the password for a particular
user on a particular list. You could put the following function in a file
called `changepw.py':

from Mailman.Errors import NotAMemberError

def changepw(mlist, addr, newpasswd):
try:
mlist.setMemberPassword(addr, newpasswd)
mlist.Save()
except NotAMemberError:
print 'No address matched:', addr

and run this from the command line:
%% bin/withlist -l -r changepw mylist somebody@somewhere.org foobar
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
(no translation yet)
Located in bin/withlist:20
1113 of 13 results

This translation is managed by Ubuntu Finnish Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.

Contributors to this translation: Heikki Mäntysaari, Joni Töyrylä, Jussi Aalto, Kai Kasurinen, Mika Tapojärvi, Pekka Haavisto, Pekka Niemi.