On Tue, Mar 27, 2012 at 8:32 PM, Corey O'Connor <coreyocon...@gmail.com> wrote:
> I have been considering how to improve the developer experience. The
> goal is to make the compile/test cycle shorter. There are a lot of way
> to do this. However I'm thinking of going a bit nuts and integrating
> the process into yi itself. Code on Yi directly from within Yi and
> have the re-config process automagically incorporate the changes.
>
> Sounds like hacker mode huh? Very similar. WE just need to remove the hack!
>
> I would like to consider changing the system such that:
> * yi, the executable, does *not* contain the full yi library. The yi
> executable would be responsible for compiling the users config in an
> environment that exposes the appropriate Yi modules and dependent
> packages.
> * The Yi modules would always reside in a git clone. The yi executable
> would know where this git clone resides on disk. Either the system
> running yi would have a yi clone in a shared location OR the user has
> their own yi repo clone OR yi checks out a new clone.

I would hesitate to require yi to be able to clone a git location.
This feels like a bad idea to me.
Having yi understand where the modules are located though that seems
reasonable. Hackage
integration might also be reasonable. How feasible would it be to do
use Hackage as a sort
of elpa (from emacs) for yi?

> * On reconfigure the yi executable would: take the serialized out
> state of Yi, run the recompile and either: Resume the yi that
> initiated the reconfigure to present errors; Or start a new yi-custom
> with the serialized state.
> * The yi executables dependencies would match the base dependencies of
> the yi library. When the yi executable is installed it would retain
> the versions of the libraries it was compiled against. This would form
> the environment that the custom yi would be compiled under.
>
> Optionally, the yi executable can compile a set of Yis that use some
> pre-defined configs. Such as a yi-emacs and yi-vim etc. Which could be
> used to install a system-wide yi version that requires no setup by the
> user.
>
> Ideas? Thoughts? Yah/neh?
>
> -Corey O'Connor
> coreyocon...@gmail.com
> http://corebotllc.com/
>
> --
> Yi development mailing list
> yi-devel@googlegroups.com
> http://groups.google.com/group/yi-devel

-- 
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel

Reply via email to