Project

Profile

Help

Story #5859 ยป Re_ [Pulp - Story #5859] As a user, I have a wrapper around django-admin that sets DJANGO_SETTINGS_MODULE=pulpcore.app.settings - 2020-02-15T15_21_52Z.eml

evgeni, 02/15/2020 04:21 PM

 
X-He-Spam-Score: -1.9
Return-Path: <evgeni@golov.de>
Delivered-To: dropbox@plan.io
Received: from m.launchco.com ([127.0.0.1])
by m.launchco.com with LMTP id OAXiOoIMSF7CbgAAa1G0NA
for <dropbox@plan.io>; Sat, 15 Feb 2020 16:21:38 +0100
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on m.launchco.com
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE,
URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Report:
* 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was
* blocked. See
* http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
* for more information.
* [URIs: plan.io]
* -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
X-Spam-Score: -1.9
Envelope-to: inbox+pulp+c71e+pulp@plan.io
Authentication-Results: m.launchco.com; dmarc=none (p=none dis=none) header.from=golov.de
Received: from shokki.die-welt.net (shokki.die-welt.net [188.68.62.55])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by m.launchco.com (Postfix) with ESMTPS id D1E7B801CF
for <inbox+pulp+c71e+pulp@plan.io>; Sat, 15 Feb 2020 16:21:38 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
by shokki.die-welt.net (Postfix) with ESMTP id 65E47C0D9D
for <inbox+pulp+c71e+pulp@plan.io>; Sat, 15 Feb 2020 15:21:38 +0000 (UTC)
Received: from shokki.die-welt.net ([127.0.0.1])
by localhost (shokki.die-welt.net [127.0.0.1]) (amavisd-new, port 10023)
with ESMTP id 0zjS6lzHJnYW for <inbox+pulp+c71e+pulp@plan.io>;
Sat, 15 Feb 2020 15:21:37 +0000 (UTC)
Received: from [127.0.0.1] (ip-109-40-2-0.web.vodafone.de [109.40.2.0])
(Authenticated sender: sargentd@die-welt.net)
by shokki.die-welt.net (Postfix) with ESMTPSA id 5A932C0623
for <inbox+pulp+c71e+pulp@plan.io>; Sat, 15 Feb 2020 15:21:37 +0000 (UTC)
Date: Sat, 15 Feb 2020 15:21:34 +0000
From: Evgeni Golov <evgeni@golov.de>
To: Pulp <inbox+pulp+c71e+pulp@plan.io>
Subject: Re: [Pulp - Story #5859] As a user, I have a wrapper around django-admin that sets DJANGO_SETTINGS_MODULE=pulpcore.app.settings
In-Reply-To: <redmine.journal-53090.20200215150052.44810d05d808c206@plan.io>
References: <redmine.issue-5859.20191210091512@plan.io> <redmine.journal-53090.20200215150052.44810d05d808c206@plan.io>
Message-ID: <CF34A6D4-04B8-4577-884E-AB512B348DBE@golov.de>
MIME-Version: 1.0
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable

Oh, interesting=2E

This raises the following questions:
1=2E This is currently only done on Fedora, shall we also provide that pac=
kage as part of the RPMs we build for EL7 for Katello?
2=2E Is the completion code universal enough to cross different Django ver=
sions? Fedora is up to Django 3 by now :)
3=2E If the ansible installer is responsible for the completion, shall it =
also deploy the one for pulpcore-admin? Then we don't have to care about it=
in this redmine=2E

On February 15, 2020 3:00:52 PM UTC, Pulp <notifications@plan=2Eio> wrote:
>\--- Please write your response above this line ---
>
>
>Issue #5859 has been updated by daviddavis=2E
>
>
>@evgeni, it's provided by this package:
>
>https://github=2Ecom/pulp/ansible-pulp/blob/2ec2a7091358b5bcd5d1b91252227=
9ab6ab959a9/roles/pulp-devel/tasks/install_basic_packages=2Eyml#L57
>
>----------------------------------------
>Story #5859: As a user, I have a wrapper around django-admin that sets DJ=
ANGO_SETTINGS_MODULE=3Dpulpcore=2Eapp=2Esettings
>https://pulp=2Eplan=2Eio/issues/5859?pn=3D1#change-53090
>
>* Author: evgeni
>* Status: NEW
>* Priority: Normal
>* Assignee:=20
>* Category:=20
>* Sprint/Milestone: 3=2E2=2E0
>* Platform Release:=20
>* Blocks Release:=20
>* Backwards Incompatible: No
>* Groomed: Yes
>* Sprint Candidate: Yes
>* Tags:=20
>* QA Contact:=20
>* Complexity:=20
>* Smash Test:=20
>* Verified: No
>* Verification Required: No
>* Sprint: Sprint 66
>----------------------------------------
>### Background
>
>Users who want to apply migrations must configure their environment to sp=
ecify `DJANGO_SETTINGS_MODULE=3Dpulpcore=2Eapp=2Esettings`=2E This is a has=
sle that affects all users=2E
>
>### Solution
>
>1\=2E Create a wrapper around django-admin called `pulp-manage` =20
>2\=2E Have it set DJANGO_SETTINGS_MODULE=3Dpulpcore=2Eapp=2Esettings =20
>3\=2E Document it
>
>It should provide autocompletion=2E
>
>
>
>
>--
>You have received this notification because you have either subscribed to=
or are involved in a project on Pulp Planio=2E =20
>To change your notification preferences, please click here: https://pulp=
=2Eplan=2Eio/my/account?tour=3Dmail_preferences
>
>
>This notification was cheerfully delivered by https://plan=2Eio
>=C2=A0

--=20
Sent from my Android phone with K-9 Mail=2E Please excuse my brevity=2E
    (1-1/1)