* Moving GWL modules
@ 2018-12-19 21:22 Ricardo Wurmus
2018-12-19 22:07 ` Roel Janssen
0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2018-12-19 21:22 UTC (permalink / raw)
To: Roel Janssen; +Cc: gwl-devel
Hi Roel,
I’m interested in moving the GWL modules to their own namespace to avoid
potential clashes with future versions of Guix. Currently, GWL modules
share the “(guix …)” and “(gnu …)” namespaces.
I think it would be clearer to move all but the scripts (which extend
Guix) to “(gwl …)”.
What do you think?
On a related note: I can never remember if a procedure is defined in
“(gnu workflows)” or “(guix workflows)”. Do you have a mnemonic? Is
this separation necessary or would it be fine to rearrange things?
Thanks!
--
Ricardo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Moving GWL modules
2018-12-19 21:22 Moving GWL modules Ricardo Wurmus
@ 2018-12-19 22:07 ` Roel Janssen
2018-12-19 22:49 ` Ricardo Wurmus
0 siblings, 1 reply; 3+ messages in thread
From: Roel Janssen @ 2018-12-19 22:07 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: gwl-devel
On 19-12-18 22:22, Ricardo Wurmus wrote:
> Hi Roel,
>
> I’m interested in moving the GWL modules to their own namespace to avoid
> potential clashes with future versions of Guix. Currently, GWL modules
> share the “(guix …)” and “(gnu …)” namespaces.
>
> I think it would be clearer to move all but the scripts (which extend
> Guix) to “(gwl …)”.
I like this change. So the new modules would be:
(gwl processes) and (gwl workflows)
Could we keep (guix processes) and (guix workflows) for backwards
compatibility? At least for now, so we don't break existing workflows
right away.
> On a related note: I can never remember if a procedure is defined in
> “(gnu workflows)” or “(guix workflows)”. Do you have a mnemonic? Is
> this separation necessary or would it be fine to rearrange things?
It's fine to rearrange things. I mimic'd the modules for Guix's
packages ((guix packages) and (gnu packages)).
Kind regards,
Roel Janssen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Moving GWL modules
2018-12-19 22:07 ` Roel Janssen
@ 2018-12-19 22:49 ` Ricardo Wurmus
0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2018-12-19 22:49 UTC (permalink / raw)
To: Roel Janssen; +Cc: gwl-devel
Hi Roel,
> On 19-12-18 22:22, Ricardo Wurmus wrote:
>> Hi Roel,
>>
>> I’m interested in moving the GWL modules to their own namespace to avoid
>> potential clashes with future versions of Guix. Currently, GWL modules
>> share the “(guix …)” and “(gnu …)” namespaces.
>>
>> I think it would be clearer to move all but the scripts (which extend
>> Guix) to “(gwl …)”.
>
> I like this change. So the new modules would be:
> (gwl processes) and (gwl workflows)
Correct.
> Could we keep (guix processes) and (guix workflows) for backwards
> compatibility? At least for now, so we don't break existing workflows
> right away.
Yes, we can keep them for now; or we could let them re-export all of the
new modules’ symbols for compatibility.
>> On a related note: I can never remember if a procedure is defined in
>> “(gnu workflows)” or “(guix workflows)”. Do you have a mnemonic? Is
>> this separation necessary or would it be fine to rearrange things?
>
> It's fine to rearrange things. I mimic'd the modules for Guix's
> packages ((guix packages) and (gnu packages)).
That’s what I thought :)
Thanks for the quick response!
--
Ricardo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-12-19 23:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-19 21:22 Moving GWL modules Ricardo Wurmus
2018-12-19 22:07 ` Roel Janssen
2018-12-19 22:49 ` Ricardo Wurmus
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.