all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* dmd: make user-mode easier to use.
@ 2014-02-03 17:37 Alex Sassmannshausen
  2014-02-03 17:37 ` =?y?q?=5BPATCH=201/2=5D=20dmd=3A=20Use=20=7E/=2Edmd=2Ed/=20by=20default=20when=20not=20run=20as=20root=2E?= Alex Sassmannshausen
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Alex Sassmannshausen @ 2014-02-03 17:37 UTC (permalink / raw)
  To: guix-devel

Hello,

This patch series allows dmd to work out of the box in 'user-mode'
after installation. To achieve this it ensures all dmd related files
are stored in ~/.dmd.d/ when run in user-mode, and it creates a
bare-bones configuration file for the user to start building upon if
no configuration file exists yet.

I decided to implement the above minimising any changes to the actual
logic of existing dmd. The result is a slight mixing up of side-effect
folder/file creation and side-effect free checks.

The alternative would have been to separate the folder creation from
the procedures carrying out the checks for the existence of the
configuration folder and files.

I wasn't sure whether it was better to minimise the changes in the
patches or better to 'just do the right thing', even if it entails
larger and more complex patches. Let me know your thoughts if you
think I should have gone the other way.

Best wishes,

Alex

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-02-05 20:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-03 17:37 dmd: make user-mode easier to use Alex Sassmannshausen
2014-02-03 17:37 ` =?y?q?=5BPATCH=201/2=5D=20dmd=3A=20Use=20=7E/=2Edmd=2Ed/=20by=20default=20when=20not=20run=20as=20root=2E?= Alex Sassmannshausen
2014-02-04 20:34   ` [PATCH 1/2] dmd: Use ~/.dmd.d/ by default when not run as root Ludovic Courtès
2014-02-03 17:37 ` [PATCH 2/2] dmd: Make config file if necessary " Alex Sassmannshausen
2014-02-04 20:41   ` Ludovic Courtès
2014-02-05 18:27     ` Alex Sassmannshausen
2014-02-05 20:17       ` Ludovic Courtès
2014-02-04 20:34 ` dmd: make user-mode easier to use Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.