and, if the sqlalchemy layer is put between Leo and sqlite, changing ONE string, the db uri, is all that's required to move from sqlite to postgres
On Tue, Jul 8, 2014 at 10:19 AM, 'Terry Brown' via leo-editor <[email protected]> wrote: > On Tue, 08 Jul 2014 11:11:06 -0400 > Jacob Peck <[email protected]> wrote: > >> >> On 7/8/2014 11:05 AM, Edward K. Ream wrote: >> > On Tue, Jul 8, 2014 at 9:36 AM, Jacob Peck <[email protected]> >> > wrote: >> >> What it could allow is per-node versioning... but there are better >> >> ways of doing that. Kent's work, for example... >> > Thanks, Jake, for this comment. I was wondering about that. >> > >> > I am also interested in preserving gnx's somehow, by tracking >> > changes to nodes in a db. I think it was Fidel who suggested that, >> > and I'm wondering whether git might have any part to play in that >> > project. >> It's my personal opinion that the most lightweight solution to a >> problem is the best. I think that using the entirety of the git >> machinery (i.e. libgit) would just be overkill for something like >> that. Sqlite seems like a much more viable option IMO. While using > > +1 sqlite's include with Python, my reposting of the git versioning > proof of concept was just to point it out, not to suggest it's a way to > go. > > Cheers -Terry > >> a 'git-outline' would allow some serious flexibility, I highly doubt >> there would be much use for it in practice. And with the proper >> wrapper, sqlite calls could be wrapped in Leo's node API... something >> like p.getPreviousVersions() would return a list of SQL rows, >> containing (say) pickled or JSON'd or leo-xml'd nodes, complete with >> uA's, timestamps, and headline/body pairs. >> >> I'm not well versed in the gnx. I know it's unique per node, but not >> much else. Is it updated every time the node is updated? If so, can >> this behavior be broken without killing Leo's core? >> >> -->Jake >> > Edward >> > >> > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/leo-editor. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
