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

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

    
51
Oh, interesting=2E
52

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

    
62
On February 15, 2020 3:00:52 PM UTC, Pulp <notifications@plan=2Eio> wrote:
63
>\--- Please write your response above this line ---
64
>
65
>
66
>Issue #5859 has been updated by daviddavis=2E
67
>
68
>
69
>@evgeni, it's provided by this package:
70
>
71
>https://github=2Ecom/pulp/ansible-pulp/blob/2ec2a7091358b5bcd5d1b91252227=
72
9ab6ab959a9/roles/pulp-devel/tasks/install_basic_packages=2Eyml#L57
73
>
74
>----------------------------------------
75
>Story #5859: As a user, I have a wrapper around django-admin that sets DJ=
76
ANGO_SETTINGS_MODULE=3Dpulpcore=2Eapp=2Esettings
77
>https://pulp=2Eplan=2Eio/issues/5859?pn=3D1#change-53090
78
>
79
>* Author: evgeni
80
>* Status: NEW
81
>* Priority: Normal
82
>* Assignee:=20
83
>* Category:=20
84
>* Sprint/Milestone: 3=2E2=2E0
85
>* Platform Release:=20
86
>* Blocks Release:=20
87
>* Backwards Incompatible: No
88
>* Groomed: Yes
89
>* Sprint Candidate: Yes
90
>* Tags:=20
91
>* QA Contact:=20
92
>* Complexity:=20
93
>* Smash Test:=20
94
>* Verified: No
95
>* Verification Required: No
96
>* Sprint: Sprint 66
97
>----------------------------------------
98
>### Background
99
>
100
>Users who want to apply migrations must configure their environment to sp=
101
ecify `DJANGO_SETTINGS_MODULE=3Dpulpcore=2Eapp=2Esettings`=2E This is a has=
102
sle that affects all users=2E
103
>
104
>### Solution
105
>
106
>1\=2E Create a wrapper around django-admin called `pulp-manage` =20
107
>2\=2E Have it set DJANGO_SETTINGS_MODULE=3Dpulpcore=2Eapp=2Esettings =20
108
>3\=2E Document it
109
>
110
>It should provide autocompletion=2E
111
>
112
>
113
>
114
>
115
>--
116
>You have received this notification because you have either subscribed to=
117
 or are involved in a project on Pulp Planio=2E =20
118
>To change your notification preferences, please click here: https://pulp=
119
=2Eplan=2Eio/my/account?tour=3Dmail_preferences
120
>
121
>
122
>This notification was cheerfully delivered by https://plan=2Eio
123
>=C2=A0
124

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