* [bug#71793] [PATCH] ui: Write down the unwritten rule.
@ 2024-06-27 11:44 Tomas Volf
2024-06-29 6:47 ` jgart via Guix-patches via
2024-09-04 13:56 ` bug#71793: " Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: Tomas Volf @ 2024-06-27 11:44 UTC (permalink / raw)
To: 71793
Cc: Tomas Volf, Christopher Baines, Josselin Poiret,
Ludovic Courtès, Mathieu Othacehe, Simon Tournier,
Tobias Geerinckx-Rice
Quote from Ludovic:
> [..] there’s the unwritten rule that non-UI modules should not load (guix
> ui) [..]
This commit turns it into a written rule.
* guix/ui.scm: Document the import policy.
Change-Id: Iedd48f5622b2b17b9e2eec817cf27f0c3a938ff2
---
guix/ui.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/guix/ui.scm b/guix/ui.scm
index d82fa533cc..d24886d156 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -35,6 +35,10 @@
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+;;; !!!!
+;;; !!!! This module shall not be imported from non-UI modules.
+;;; !!!!
+
(define-module (guix ui)
#:use-module (guix i18n)
#:use-module (guix colors)
--
2.45.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#71793] [PATCH] ui: Write down the unwritten rule.
2024-06-27 11:44 [bug#71793] [PATCH] ui: Write down the unwritten rule Tomas Volf
@ 2024-06-29 6:47 ` jgart via Guix-patches via
2024-06-29 18:43 ` Tomas Volf
2024-09-04 13:56 ` bug#71793: " Ludovic Courtès
1 sibling, 1 reply; 4+ messages in thread
From: jgart via Guix-patches via @ 2024-06-29 6:47 UTC (permalink / raw)
To: 71793; +Cc: Tomas Volf
> Quote from Ludovic:
>
Hi Tomas,
Can you link me to the places where you are quoting that from? Thanks!
all best,
jgart
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#71793: [PATCH] ui: Write down the unwritten rule.
2024-06-27 11:44 [bug#71793] [PATCH] ui: Write down the unwritten rule Tomas Volf
2024-06-29 6:47 ` jgart via Guix-patches via
@ 2024-09-04 13:56 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2024-09-04 13:56 UTC (permalink / raw)
To: Tomas Volf
Cc: Josselin Poiret, Simon Tournier, Mathieu Othacehe,
Tobias Geerinckx-Rice, 71793-done, Christopher Baines
Hi,
Tomas Volf <~@wolfsden.cz> skribis:
> Quote from Ludovic:
>
>> [..] there’s the unwritten rule that non-UI modules should not load (guix
>> ui) [..]
>
> This commit turns it into a written rule.
>
> * guix/ui.scm: Document the import policy.
>
> Change-Id: Iedd48f5622b2b17b9e2eec817cf27f0c3a938ff2
I committed a variant of this patch, thanks.
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-04 13:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-27 11:44 [bug#71793] [PATCH] ui: Write down the unwritten rule Tomas Volf
2024-06-29 6:47 ` jgart via Guix-patches via
2024-06-29 18:43 ` Tomas Volf
2024-09-04 13:56 ` bug#71793: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).