[Freeipa-devel] [freeipa PR#1056][closed] Remove temporary workaround for Travis CI
URL: https://github.com/freeipa/freeipa/pull/1056 Author: stlaz Title: #1056: Remove temporary workaround for Travis CI Action: closed To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1056/head:pr1056 git checkout pr1056 ___ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
[Freeipa-devel] [freeipa PR#1331][closed] [Backport][ipa-4-6] Use Python 3 on Travis
URL: https://github.com/freeipa/freeipa/pull/1331 Author: tiran Title: #1331: [Backport][ipa-4-6] Use Python 3 on Travis Action: closed To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1331/head:pr1331 git checkout pr1331 ___ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
[Freeipa-devel] [freeipa PR#1312][closed] ipalib/frontend.py output_for_cli loops optimization
URL: https://github.com/freeipa/freeipa/pull/1312 Author: slaykovsky Title: #1312: ipalib/frontend.py output_for_cli loops optimization Action: closed To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1312/head:pr1312 git checkout pr1312 ___ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
[Freeipa-devel] [freeipa PR#1329][closed] [Backport][ipa-4-6] prci: define testing topologies
URL: https://github.com/freeipa/freeipa/pull/1329 Author: tomaskrizek Title: #1329: [Backport][ipa-4-6] prci: define testing topologies Action: closed To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1329/head:pr1329 git checkout pr1329 ___ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
[Freeipa-devel] [freeipa PR#1328][closed] prci: define testing topologies
URL: https://github.com/freeipa/freeipa/pull/1328 Author: tomaskrizek Title: #1328: prci: define testing topologies Action: closed To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1328/head:pr1328 git checkout pr1328 ___ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
[Freeipa-devel] [freeipa PR#1330][closed] [Backport][ipa-4-5] prci: define testing topologies
URL: https://github.com/freeipa/freeipa/pull/1330 Author: tomaskrizek Title: #1330: [Backport][ipa-4-5] prci: define testing topologies Action: closed To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1330/head:pr1330 git checkout pr1330 ___ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
[Freeipa-devel] [freeipa PR#1325][closed] [Backport][ipa-4-6] ipa-restore: Set umask to 0022 while restoring
URL: https://github.com/freeipa/freeipa/pull/1325 Author: tiran Title: #1325: [Backport][ipa-4-6] ipa-restore: Set umask to 0022 while restoring Action: closed To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1325/head:pr1325 git checkout pr1325 ___ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
[Freeipa-devel] [freeipa PR#1330][opened] [Backport][ipa-4-5] prci: define testing topologies
URL: https://github.com/freeipa/freeipa/pull/1330 Author: tomaskrizek Title: #1330: [Backport][ipa-4-5] prci: define testing topologies Action: opened PR body: """ Define usable topologies for upstream integration testing in PR CI. Signed-off-by: Tomas Krizek""" To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1330/head:pr1330 git checkout pr1330 From 7d2d894113257387600a443a9a3c8733de857f38 Mon Sep 17 00:00:00 2001 From: Tomas Krizek Date: Thu, 23 Nov 2017 15:22:10 +0100 Subject: [PATCH] prci: define testing topologies Define usable topologies for upstream integration testing in PR CI. Signed-off-by: Tomas Krizek --- .freeipa-pr-ci.yaml | 18 ++ 1 file changed, 18 insertions(+) diff --git a/.freeipa-pr-ci.yaml b/.freeipa-pr-ci.yaml index a3d2a0dbdd..257d2debd2 100644 --- a/.freeipa-pr-ci.yaml +++ b/.freeipa-pr-ci.yaml @@ -1,3 +1,17 @@ +topologies: + build: +name: build +cpu: 2 +memory: 3800 + master_1repl: _1repl +name: master_1repl +cpu: 4 +memory: 5750 + master_1repl_1client: _1repl_1client +name: master_1repl_1client +cpu: 4 +memory: 6700 + jobs: fedora-26/build: requires: [] @@ -11,6 +25,7 @@ jobs: name: freeipa/ci-ipa-4-5-f26 version: 0.1.1 timeout: 1800 +topology: *build fedora-26/simple_replication: requires: [fedora-26/build] @@ -22,6 +37,7 @@ jobs: test_suite: test_integration/test_simple_replication.py template: *ci-ipa-4-5-f26 timeout: 3600 +topology: *master_1repl fedora-26/caless: requires: [fedora-26/build] @@ -33,6 +49,7 @@ jobs: test_suite: test_integration/test_caless.py::TestServerReplicaCALessToCAFull template: *ci-ipa-4-5-f26 timeout: 3600 +topology: *master_1repl fedora-26/external_ca: requires: [fedora-26/build] @@ -44,3 +61,4 @@ jobs: test_suite: test_integration/test_external_ca.py::TestExternalCA template: *ci-ipa-4-5-f26 timeout: 3600 +topology: *master_1repl ___ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
[Freeipa-devel] [freeipa PR#1329][opened] [Backport][ipa-4-6] prci: define testing topologies
URL: https://github.com/freeipa/freeipa/pull/1329 Author: tomaskrizek Title: #1329: [Backport][ipa-4-6] prci: define testing topologies Action: opened PR body: """ Define usable topologies for upstream integration testing in PR CI. Signed-off-by: Tomas Krizek""" To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1329/head:pr1329 git checkout pr1329 From 99c9f33c8ac2f0f5d1fc5613d3c36e0b8e06684c Mon Sep 17 00:00:00 2001 From: Tomas Krizek Date: Thu, 23 Nov 2017 15:22:10 +0100 Subject: [PATCH] prci: define testing topologies Define usable topologies for upstream integration testing in PR CI. Signed-off-by: Tomas Krizek --- .freeipa-pr-ci.yaml | 18 ++ 1 file changed, 18 insertions(+) diff --git a/.freeipa-pr-ci.yaml b/.freeipa-pr-ci.yaml index 02703cf42f..f4a3467a5c 100644 --- a/.freeipa-pr-ci.yaml +++ b/.freeipa-pr-ci.yaml @@ -1,3 +1,17 @@ +topologies: + build: +name: build +cpu: 2 +memory: 3800 + master_1repl: _1repl +name: master_1repl +cpu: 4 +memory: 5750 + master_1repl_1client: _1repl_1client +name: master_1repl_1client +cpu: 4 +memory: 6700 + jobs: fedora-27/build: requires: [] @@ -11,6 +25,7 @@ jobs: name: freeipa/ci-master-f27 version: 1.0.1 timeout: 1800 +topology: *build fedora-27/simple_replication: requires: [fedora-27/build] @@ -22,6 +37,7 @@ jobs: test_suite: test_integration/test_simple_replication.py template: *ci-master-f27 timeout: 3600 +topology: *master_1repl fedora-27/caless: requires: [fedora-27/build] @@ -33,6 +49,7 @@ jobs: test_suite: test_integration/test_caless.py::TestServerReplicaCALessToCAFull template: *ci-master-f27 timeout: 3600 +topology: *master_1repl fedora-27/external_ca: requires: [fedora-27/build] @@ -44,3 +61,4 @@ jobs: test_suite: test_integration/test_external_ca.py::TestExternalCA template: *ci-master-f27 timeout: 3600 +topology: *master_1repl ___ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
[Freeipa-devel] [freeipa PR#1328][opened] prci: define testing topologies
URL: https://github.com/freeipa/freeipa/pull/1328 Author: tomaskrizek Title: #1328: prci: define testing topologies Action: opened PR body: """ Define usable topologies for upstream integration testing in PR CI. Signed-off-by: Tomas Krizek""" To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1328/head:pr1328 git checkout pr1328 From cb2799e8f79d2d1db0ef5ab705247783dc6db432 Mon Sep 17 00:00:00 2001 From: Tomas Krizek Date: Thu, 23 Nov 2017 15:22:10 +0100 Subject: [PATCH] prci: define testing topologies Define usable topologies for upstream integration testing in PR CI. Signed-off-by: Tomas Krizek --- .freeipa-pr-ci.yaml | 18 ++ 1 file changed, 18 insertions(+) diff --git a/.freeipa-pr-ci.yaml b/.freeipa-pr-ci.yaml index 02703cf42f..f4a3467a5c 100644 --- a/.freeipa-pr-ci.yaml +++ b/.freeipa-pr-ci.yaml @@ -1,3 +1,17 @@ +topologies: + build: +name: build +cpu: 2 +memory: 3800 + master_1repl: _1repl +name: master_1repl +cpu: 4 +memory: 5750 + master_1repl_1client: _1repl_1client +name: master_1repl_1client +cpu: 4 +memory: 6700 + jobs: fedora-27/build: requires: [] @@ -11,6 +25,7 @@ jobs: name: freeipa/ci-master-f27 version: 1.0.1 timeout: 1800 +topology: *build fedora-27/simple_replication: requires: [fedora-27/build] @@ -22,6 +37,7 @@ jobs: test_suite: test_integration/test_simple_replication.py template: *ci-master-f27 timeout: 3600 +topology: *master_1repl fedora-27/caless: requires: [fedora-27/build] @@ -33,6 +49,7 @@ jobs: test_suite: test_integration/test_caless.py::TestServerReplicaCALessToCAFull template: *ci-master-f27 timeout: 3600 +topology: *master_1repl fedora-27/external_ca: requires: [fedora-27/build] @@ -44,3 +61,4 @@ jobs: test_suite: test_integration/test_external_ca.py::TestExternalCA template: *ci-master-f27 timeout: 3600 +topology: *master_1repl ___ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
[Freeipa-devel] [freeipa PR#1327][opened] ensuring 389-ds plugins are enabled after install
URL: https://github.com/freeipa/freeipa/pull/1327 Author: akokshar Title: #1327: ensuring 389-ds plugins are enabled after install Action: opened PR body: """ To avoid problems caused by desabled plugins on 389-ds side explicitly enable plugins required by IPA https://pagure.io/freeipa/issue/7271 """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1327/head:pr1327 git checkout pr1327 From d0fc00cf78f02d86a1c4c7ff10ae45e6f4fa6b8a Mon Sep 17 00:00:00 2001 From: Alexander KoksharovDate: Thu, 23 Nov 2017 12:06:05 +0100 Subject: [PATCH] ensuring 389-ds plugins are enabled after install To avoid problems caused by desabled plugins on 389-ds side explicitly enable plugins required by IPA https://pagure.io/freeipa/issue/7271 --- install/share/Makefile.am| 1 + install/share/enable_dirsrv_plugins.ldif | 114 +++ ipaserver/install/dsinstance.py | 4 ++ 3 files changed, 119 insertions(+) create mode 100644 install/share/enable_dirsrv_plugins.ldif diff --git a/install/share/Makefile.am b/install/share/Makefile.am index b1285854ea..5f45c77cd6 100644 --- a/install/share/Makefile.am +++ b/install/share/Makefile.am @@ -89,6 +89,7 @@ dist_app_DATA =\ gssproxy.conf.template \ kdcproxy.wsgi \ ipakrb5.aug \ + enable_dirsrv_plugins.ldif \ $(NULL) kdcproxyconfdir = $(IPA_SYSCONF_DIR)/kdcproxy diff --git a/install/share/enable_dirsrv_plugins.ldif b/install/share/enable_dirsrv_plugins.ldif new file mode 100644 index 00..66fc6ba03f --- /dev/null +++ b/install/share/enable_dirsrv_plugins.ldif @@ -0,0 +1,114 @@ +# 7-bit check, plugins, config +dn: cn=7-bit check,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# Account Usability Plugin, plugins, config +dn: cn=Account Usability Plugin,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# ACL Plugin, plugins, config +dn: cn=ACL Plugin,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# ACL preoperation, plugins, config +dn: cn=ACL preoperation,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# Auto Membership Plugin, plugins, config +dn: cn=Auto Membership Plugin,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# Bitwise Plugin, plugins, config +dn: cn=Bitwise Plugin,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# chaining database, plugins, config +dn: cn=chaining database,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# Class of Service, plugins, config +dn: cn=Class of Service,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# deref, plugins, config +dn: cn=deref,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# HTTP Client, plugins, config +dn: cn=HTTP Client,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# Internationalization Plugin, plugins, config +dn: cn=Internationalization Plugin,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# Linked Attributes, plugins, config +dn: cn=Linked Attributes,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# Managed Entries, plugins, config +dn: cn=Managed Entries,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# Multimaster Replication Plugin, plugins, config +dn: cn=Multimaster Replication Plugin,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# Roles Plugin, plugins, config +dn: cn=Roles Plugin,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# Schema Reload, plugins, config +dn: cn=Schema Reload,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# State Change Plugin, plugins, config +dn: cn=State Change Plugin,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# Views, plugins, config +dn: cn=Views,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + +# whoami, plugins, config +dn: cn=whoami,cn=plugins,cn=config +changetype: modify +replace: nsslapd-pluginenabled +nsslapd-pluginenabled: on + diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index 9c15d721fe..acb834f655 100644 --- a/ipaserver/install/dsinstance.py +++ b/ipaserver/install/dsinstance.py @@ -259,6 +259,7 @@
[Freeipa-devel] [freeipa PR#1326][opened] [WIP] Fixing translation problems
URL: https://github.com/freeipa/freeipa/pull/1326 Author: slaykovsky Title: #1326: [WIP] Fixing translation problems Action: opened PR body: """ Hello guys! So I'm having some progress with this weird translation related bug and I already achieved the following behaviour: ``` # LANG=de_DE.UTF-8 ipa user-find admin -- 1 user matched -- Anmeldename: admin Nachname: Administrator Home-Verzeichnis: /home/admin Anmeldeshell: /bin/bash Principal alias: ad...@dom-023.abc.idm.lab.eng.brq.redhat.com UID: 102620 Gruppen-ID: 102620 Konto ist deaktiviert: False - Anzahl der zurückgegebenen Einträge 1 - # LANG=zh_CN.UTF-8 ipa user-find admin -- 1 user matched -- 用户登录名: admin 姓: Administrator 主目录: /home/admin 登录shell: /bin/bash 主体别名: ad...@dom-023.abc.idm.lab.eng.brq.redhat.com UID: 102620 GID: 102620 禁用账户: False 返回的条目数 1 # LANG=en_US.UTF-8 ipa user-find admin -- 1 user matched -- User login: admin Last name: Administrator Home directory: /home/admin Login shell: /bin/bash Principal alias: ad...@dom-023.abc.idm.lab.eng.brq.redhat.com UID: 102620 GID: 102620 Account disabled: False Number of entries returned 1 ``` As you can see now I don't need as a user to clean `~/.cache/ipa` to get the information in my native locale. But, there is this summary (in this case it's `1 user matched`) which is getting generated on the server and I'm kind of struggling with it now as I removed this `LANG` changing piece of code from rpcserver. Any help, review and comment are needed and very appreciated. :) pagure: https://pagure.io/freeipa/issue/7238 """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1326/head:pr1326 git checkout pr1326 From 6590939f9b2be25240f4b4708a9bc44b4b967c10 Mon Sep 17 00:00:00 2001 From: Aleksei SlaikovskiiDate: Thu, 23 Nov 2017 13:34:59 +0100 Subject: [PATCH] [WIP] Fixing translation problems Any help is needed. :) pagure: https://pagure.io/freeipa/issue/7238 --- ipalib/cli.py | 5 - ipalib/frontend.py | 4 ++-- ipaserver/rpcserver.py | 11 --- 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/ipalib/cli.py b/ipalib/cli.py index 6abc348d94..819b4b6826 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -386,7 +386,7 @@ def print_entry(self, entry, order=None, labels=None, flags=None, print_all=True for key in order: if key not in entry: continue -label = labels.get(key, key) +label = unicode(_(labels.get(key, key))) flag = flags.get(key, []) value = entry[key] if ('suppress_empty' in flag and @@ -437,6 +437,9 @@ def print_dashed(self, string, above=True, below=True, indent=0, dash='-'): -- Only dashed above. """ +if not isinstance(string, six.string_types): +string = unicode(string) + assert isinstance(dash, six.string_types) assert len(dash) == 1 dashes = dash * len(string) diff --git a/ipalib/frontend.py b/ipalib/frontend.py index 3a05bb6eb8..bc3d39ae75 100644 --- a/ipalib/frontend.py +++ b/ipalib/frontend.py @@ -1051,7 +1051,7 @@ def output_for_cli(self, textui, output, *args, **options): if options.get('raw', False): labels = None else: -labels = dict((p.name, unicode(p.label)) for p in self.output_params()) +labels = dict((p.name, p.label) for p in self.output_params()) flags = dict((p.name, p.flags) for p in self.output_params()) for o in self.output: @@ -1089,7 +1089,7 @@ def output_for_cli(self, textui, output, *args, **options): # success or failure. Ignore these. pass elif isinstance(result, int): -textui.print_count(result, '%s %%d' % unicode(self.output[o].doc)) +textui.print_count(result, '%s %%d' % unicode(_(self.output[o].doc))) return rv diff --git a/ipaserver/rpcserver.py b/ipaserver/rpcserver.py index 5cbacf406d..6f150d0020 100644 --- a/ipaserver/rpcserver.py +++ b/ipaserver/rpcserver.py @@ -346,15 +346,6 @@ def wsgi_execute(self, environ): if not environ['HTTP_REFERER'].startswith('https://%s/ipa' % self.api.env.host) and not self.env.in_tree: return self.marshal(result, RefererError(referer=environ['HTTP_REFERER']), _id) try: -if ('HTTP_ACCEPT_LANGUAGE' in environ): -lang_reg_w_q = environ['HTTP_ACCEPT_LANGUAGE'].split(',')[0] -lang_reg = lang_reg_w_q.split(';')[0] -lang_ =
[Freeipa-devel] [freeipa PR#1323][closed] [Backport][ipa-4-5] test_vault: increase WAIT_AFTER_ARCHIVE
URL: https://github.com/freeipa/freeipa/pull/1323 Author: Rezney Title: #1323: [Backport][ipa-4-5] test_vault: increase WAIT_AFTER_ARCHIVE Action: closed To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1323/head:pr1323 git checkout pr1323 ___ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
[Freeipa-devel] [freeipa PR#1322][closed] [Backport][ipa-4-6] test_vault: increase WAIT_AFTER_ARCHIVE
URL: https://github.com/freeipa/freeipa/pull/1322 Author: Rezney Title: #1322: [Backport][ipa-4-6] test_vault: increase WAIT_AFTER_ARCHIVE Action: closed To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1322/head:pr1322 git checkout pr1322 ___ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org