From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sergey Kostyaev Newsgroups: gmane.emacs.devel Subject: Re: Add new sqlite extensions to allowlist Date: Sun, 26 Nov 2023 18:54:36 +0000 Message-ID: <2EE25AAF-A3EC-458F-AA61-95A20FACEB1C@gmail.com> References: <469F1EC9-4A4F-4228-AC2F-AE4346E63DDD@gmail.com> <83y1evmnkg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=----68T8836P3DQAHLGZTU4HPACOKO1SDZ Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17789"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 26 20:27:53 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r7KnI-0004LX-05 for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Nov 2023 20:27:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7Kmb-0001Lw-2d; Sun, 26 Nov 2023 14:27:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7KHJ-0004d7-1s for emacs-devel@gnu.org; Sun, 26 Nov 2023 13:54:49 -0500 Original-Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r7KHH-0006t9-9M; Sun, 26 Nov 2023 13:54:48 -0500 Original-Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-50aa8c0af41so4624100e87.1; Sun, 26 Nov 2023 10:54:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701024884; x=1701629684; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=pp9xhsQcN0YrTVof4esgCLDYaVNIO3DYDMG0cZT4wbI=; b=I5zCIIevU8tgaFNajAqB1nuGfuIM+7GSotj8SWqQGdqYTQZk2DbOjea7rHzIfkGalP o1G/NdpbmjIXGiJx2kytKIX0UvXJN/YI2kUg5bAab9cCqzyLmca1T3svgsga+J0qq4Tm piz9ZpAbQkvJWTZoJh8fvle0n2BprvrxjtZy7kSKvysWrJZOns8ivFkWNtf7LWlx8v/O jbXzbzm5ma/y5a+L28xCy6G7I7lk47a3I87PZm8jenQPzS0w0FGxJoNjQ55THJZcrYvz pcOyGtLhhK/qgV82Byf3ig3w2BdYOMOyqciUMmgkRzZ7rNSilVVOx47tstS8ut5v4LBK hwqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701024884; x=1701629684; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pp9xhsQcN0YrTVof4esgCLDYaVNIO3DYDMG0cZT4wbI=; b=ZkY8FqoeWZ1RXTO8zsqe0jihti1WL+WGdaUD4DFt7qs8RAyhO75vb2qv96W5fj9apw 2yn8TUmp635RjYr6n9iOjdXBol1Ua8KJGAcAFCGNYbTnrIGCBfa5dS+T/UztVwMaa9Sj lWN57woGODAilK5XrrPUHXcxRECUT5pqGH2QoqVyOuduhRESl/WB3r7gUb9Kb0wCcEJa M1WDGOez5cQkAUhEXTVreEXk5i2se9rhxy33PuRn7nG2+cKVNUrVq7y1gL5J+zJMBZcz g8OhLWVGuZ38WzRL8kNSfP0DuEQsnf75YDoRm3R6LqLEQqpTjQiUKt9Upo4YlGYzz2MV o5PA== X-Gm-Message-State: AOJu0Yym/T7THZG+weVq6Wi9zLbQ4AhGOTH/Sbjis87T2ksUBC6yk4KQ i6uCISgvuPy6/SBRFv2ioFtElV2JdSH2XA== X-Google-Smtp-Source: AGHT+IHLKTbXWDOMwvIrPY1kH5ImXKkgNxVNmo4+0KZrPqBbWWBox1VE3ksRcLUw1YQPz9YHCQG2ZA== X-Received: by 2002:a19:f608:0:b0:507:addb:c7a1 with SMTP id x8-20020a19f608000000b00507addbc7a1mr3537807lfe.14.1701024883610; Sun, 26 Nov 2023 10:54:43 -0800 (PST) Original-Received: from [127.0.0.1] ([90.189.160.165]) by smtp.gmail.com with ESMTPSA id k16-20020a05651210d000b005091492ac3fsm1263889lfg.175.2023.11.26.10.54.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Nov 2023 10:54:43 -0800 (PST) In-Reply-To: <83y1evmnkg.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=sskostyaev@gmail.com; helo=mail-lf1-x131.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 26 Nov 2023 14:27:07 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313246 Archived-At: ------68T8836P3DQAHLGZTU4HPACOKO1SDZ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable It works, thank you! Best regards, Sergey Kostyaev=20 18 =D0=BD=D0=BE=D1=8F=D0=B1=D1=80=D1=8F 2023 =D0=B3=2E 09:13:19 UTC, Eli Z= aretskii =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> From: Neo Dim >> Date: Mon, 6 Nov 2023 22:13:32 +0700 >>=20 >> Hi=2E I would like to use semantic search in one (or maybe couple) of m= y new packages for emacs=2E In >> latest emacs there is sqlite support, which is great=2E I would like t= o use it with >> https://github=2Ecom/asg017/sqlite-vss extension=2E I checked it out an= d see that vector0 and vss0 not in >> allowlist=2E Can we add this extensions to allowlist? > >I added them, so they will be available in the upcoming Emacs 29=2E2=2E > >> And can we use full path to extension when call >> `sqlite-load-extension`? > >Yes, of course=2E The allow-list is checked against the basename of the >library, so the leading directories should not be important=2E ------68T8836P3DQAHLGZTU4HPACOKO1SDZ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
It works, thank you!

Best= regards,
Sergey Kostyaev


18 =D0=BD=D0=BE=D1=8F=D0=B1=D1=80=D1=8F 2023 =D0=B3=2E 09:13:1= 9 UTC, Eli Zaretskii <eliz@gnu=2Eorg> =D0=BF=D0=B8=D1=88=D0=B5=D1=82:=
From: Neo Dim <sskostyaev@gmail=2Ecom>
Date: Mon, 6= Nov 2023 22:13:32 +0700

Hi=2E I would like to use semantic search i= n one (or maybe couple) of my new packages for emacs=2E In
latest emacs = there is sqlite support, which is great=2E I would like to use it with
= https://github=2Ecom/asg= 017/sqlite-vss extension=2E I checked it out and see that vector0 and v= ss0 not in
allowlist=2E Can we add this extensions to allowlist?

I added them, so they will be availabl= e in the upcoming Emacs 29=2E2=2E

And can we use full path to extensio= n when call
`sqlite-load-extension`?

Yes, of course=2E The allow-list is checked against the basename = of the
library, so the leading directories should not be important=2E
------68T8836P3DQAHLGZTU4HPACOKO1SDZ--