> Od: "Richard Hipp" <[email protected]> > Komu: [email protected] > Datum: 18.11.2010 20:25 > Předmět: Re: [fossil-users] interfacing fossil function with sqlite shell and > repository searching > >On Thu, Nov 18, 2010 at 1:06 PM, Petr Ferdus <[email protected]> wrote: > >> >> Hello, >> >> I'd like to use some functions already implemented in fossil sources in >> embedded sqlite3 command-line shell. >> (e.g. function content_get as seen on >> http://www.fossil-scm.org/fossil/fdiff?v1=360ee81fbda1ff5c&v2=8e775f025b681127part >> of check in >> http://www.fossil-scm.org/fossil/info/73d274360c) >> How difficult would it be to interface such function (functions) without >> need to duplicate code and just reuse stuff already being there? >> >> The fact that searches throughout repository content is not supported in >> trunk implementation of fossil is for me major drawback of otherwise >> extremely useful application (maybe it s a matter of implementational >> priorities, but how do heavy users of fossil SCM do their searches in >> historical artifacts?). Having shell with search ability could surely >> enhance usability and help people to evaluate possibilities how to do search >> across all historical versions of a project. >> >> I like to hear your comments and most preferably see search functionality >> in fossil. >> > >It is a reasonable request. I've often wanted a content_get() function for >SQL myself. The implementation should only be a few lines of code. Might >as well add SQL functions for MD5 and SHA1 hashes, >compression/decompression, and delta encoding too, while we're at it.
I've noticed there have been added compress() and decompress() functions to the SQLite shell command ( check in [91d648426a]) Could those functions be merged to windows-i18n branch? (and possibly MD5, SHA1 and delta encoding functions be implemented as well) Thanks Peter > >> Peter > >-- >D. Richard Hipp >[email protected] _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

