Re: [Freeipa-devel] [PATCHES] Bring back old outputting functionality
Jason Gerard DeRose wrote: On Wed, 2010-02-10 at 10:30 -0500, Rob Crittenden wrote: Pavel Zuna wrote: What I'm saying is that the Env object stores all strings as str and the env command uses the same output_for_cli as LDAP commands, that only use str for binary. So, we either need to override output_for_cli or switch to unicode in Env. Not exactly sure what to do here though using unicode seems like the best route. Yes, we should store the env as `unicode`... this is something I've been meaning to do. I originally left them as `str` because I was having problems using `unicode` somewhere (maybe it was python-ldap), but we should just fix this special case in the appropriate place. That's possible, python-ldap seems to hate everything except str and list. As I wrote the latest Env version (using Martins work as a starting point), I can make this change. Actually, if you didn't start on it yet. I would take this task onto myself as I already did some experiments to see if it would work and I should be able to have a patch by tomorrow. Should this be post-alpha? Pavel ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
[Freeipa-devel] [PATCH] Use unicode instead of str for environmental variables in Env.
The patch is not far from trivial, but... It makes the assumption, that IPA config files are utf-8 encoded (or compatible like ASCII). Is that OK? Pavel 0001-Use-unicode-instead-of-str-for-environmental-variabl.patch Description: application/mbox ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
[Freeipa-devel] Calling for translation help
Are you multilingual? Would you like to contribute to the FreeIPA project by providing translations? If so we could use your help! We just recently added FreeIPA to the Transifex.net translation portal. You can register yourself as a translator on Transifex.net, select a language of your choice and go to the FreeIPA project area in Transifex.net and provide translations for FreeIPA. The FreeIPA project area is: https://www.transifex.net/projects/p/freeipa/c/master We will include your translations in a future release and credit you for your contribution. For more information about Transifex, how to sign up and how to contribute please start with the Transifex main page: https://www.transifex.net Thank you for your help! The FreeIPA team. -- John Dennis jden...@redhat.com Looking to carve out IT costs? www.redhat.com/carveoutcosts/ ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
Re: [Freeipa-devel] [PATCH] jderose 042 output_params
Jason Gerard DeRose wrote: As discussed with Rob on IRC, this patch changes the Command.get_output_params() method so that by default your Command.output_params will be the same as your Command.params. This make the behavior similar to how Method.get_output_params() fills your Method.params with the params in the corresponding Object.params. If you have args or options that you *don't* want in output_params, add the 'no_output' flag, like this: Str('foo', flags=['no_output']) This is similar to the 'no_create', 'no_update', and 'no_search' flags for Method plugins. If you need output that wont be in your args or options, add them in a `has_output_params` tuple, like this: has_output_params = ( 'bar', 'baz', ) I'll add docstrings in another patch, but this is blocking Rob, so I made it a quickie. ack, pushed to master. Working great. rob ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
Re: [Freeipa-devel] [PATCH] jderose 042 Fix ctypes SELinux problem
Jason Gerard DeRose wrote: Under Fedora12, the httpd SELinux policy causes IPA to bomb when the Python `ctypes` module gets imported. The `ctypes` module is used by python-pygments, which in turn is used by python-wehjit. I just made a python-wehjit 0.2.2 bugfix release with a hack to prevent wehjit from importing pygments. This also disables the pygments-based source code highlighting plugins, but we aren't using those in IPA at the moment anyway. This patch changes the .spec to require python-wehjit = 0.2.2 and adds the pygments disabling hack in ipawebui/__init__.py Ack. Lets hold off on pushing this until the library gets into the Fedora update stream. rob ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
Re: [Freeipa-devel] [PATCH] Friendlier diagnostics for i18n test
John Dennis wrote: The diagnostic messages in test_i18n.py were a bit confusing because it didn't indicate what the test string was and where it came from. Hopefully this is clearer now. ack, pushed to master. ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
[Freeipa-devel] [www.transifex.net] Team Creation Requested: Persian
Hello freeipa, this is Transifex at http://www.transifex.net. A translation team for 'Persian' has been required to the 'FreeIPA' project. Please, visit Transifex at http://www.transifex.net/projects/p/freeipa/teams/ in order to manage the teams of the project. For changing how you receive notifications, please go to http://www.transifex.net/notices/. Thank you, Transifex ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
[Freeipa-devel] [www.transifex.net] New Team Added: Persian
Hello freeipa, this is Transifex at http://www.transifex.net. A new translation team called 'Persian' has been added to the 'FreeIPA' project. Please, visit Transifex at http://www.transifex.net/projects/p/freeipa/team/fa/ in order to see this new team. For changing how you receive notifications, please go to http://www.transifex.net/notices/. Thank you, Transifex ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
[Freeipa-devel] [www.transifex.net] Team Creation Requested: Indonesian
Hello freeipa, this is Transifex at http://www.transifex.net. A translation team for 'Indonesian' has been required to the 'FreeIPA' project. Please, visit Transifex at http://www.transifex.net/projects/p/freeipa/teams/ in order to manage the teams of the project. For changing how you receive notifications, please go to http://www.transifex.net/notices/. Thank you, Transifex ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
Re: [Freeipa-devel] [PATCH] add Polish translation
On 02/11/2010 06:36 PM, John Dennis wrote: Woo ho! We got our first translation, Polish. NAK Something got screwed up with the encoding when the patch was sent through email. I need to figure out what went wrong and resubmit it. -- John Dennis jden...@redhat.com Looking to carve out IT costs? www.redhat.com/carveoutcosts/ ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
[Freeipa-devel] So what's up with this new stream of email from Transifex on freeipa-devel?
You may have noticed this email list has started to receive email from Transifex. What's up with that anyway? Transifex is an open source translation portal. We recently registered our project with Transifex to get our language translations performed for us by experienced translators. Normally Transifex is set up to integrate with the projects version control system (VCS), e.g. cvs, svn, mercurial, git, etc. When a translator submits a translation (e.g. a .po file) the typical behavior is for Transifex to commit the .po file to the projects VCS. But we have very strict access control on our git repository. So instead we've set it up so submissions are emailed to us. I will convert that submission into a git patch and post it for approval. We've also registered this email list as our administrative contact with Transifex. That means administrative requests from Transifex will also appear on this list. For the time being I will handle all the emails coming from Transifex. -- John Dennis jden...@redhat.com Looking to carve out IT costs? www.redhat.com/carveoutcosts/ ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel