unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Bozhidar Batsov" <bozhidar@batsov.dev>
To: "Paul Pogonyshev" <pogonyshev@gmail.com>,
	"Philip Kaludercic" <philipk@posteo.net>,
	"Emacs Devel" <emacs-devel@gnu.org>
Cc: "Emacs Devel" <emacs-devel@gnu.org>
Subject: Re: NonGNU ELPA: add Logview
Date: Thu, 13 Jul 2023 16:34:43 +0300	[thread overview]
Message-ID: <1a929a7e-eccd-4c2c-958b-9bdc99e63d42@app.fastmail.com> (raw)
In-Reply-To: <9ee6db6c-b90a-450a-8f6e-02c8b8b2ad9e@app.fastmail.com>

[-- Attachment #1: Type: text/plain, Size: 5009 bytes --]

Just bumping this conversation, as we're still looking for someone to help us apply the patch. 

On Fri, Jul 7, 2023, at 8:21 AM, Bozhidar Batsov wrote:
> Yeah, CIDER recently introduced some functionality that uses Logview internally (see https://docs.cider.mx/cider/debugging/logging.html), that's why for us it's important for the package to be available on NonGNU ELPA. I think that Logview is a great and very useful package on its own, btw, so even without CIDER's immediate need I'd still advocate for its inclusion there.
> 
> Can't speak about Logview's deps (as I'm not familiar with them), but I know Paul is a great package maintainer, so I'm pretty sure that if he had to create some additional library there was a real need for it.
> 
> On Thu, Jul 6, 2023, at 10:47 PM, Paul Pogonyshev wrote:
>> > Without understanding the issue properly, why is there a need for an external data-time parsing package, if Emacs already comes with functions for parsing timestamps?
>> 
>> For speed. Logview is aimed at very large logs (megabytes) and also for lazily filtering them on-the-fly, adding/removing filters and so on. Built-in functions were not fast enough, so I had to create datetime. Also for matching: there is no standard timestamp format, the library helps me at building regexs needed to match timestamps in given format and also trying to guess which of many possible formats to use for a particular file.
>> 
>> I didn't create the library just for fun, I saw a need for it.
>> 
>> > It appears to use use this extmap package, which parses binary data?
>> 
>> Yes.
>> 
>> > How is this all related to CIDER?
>> 
>> "This all" is not related to CIDER, because this is Logview's implementation details. CIDER recently added some log-related functionality and they'd like to use Logview as the base for their mode, as far as I understand. They don't need datetime or extmap, but according to NonGNU ELPA policy, Logview cannot be added without its dependencies.
>> 
>> > If possible, please add ".elpaignore" files to the repositories themselves, so that we can void tracking the files in elpa-packages itself.
>> 
>> OK, I will do that if the packages get added to the archive. Don't want to create files while I'm not sure they would be used for anything.
>> 
>> Paul
>> 
>> On Thu, 6 Jul 2023 at 19:59, Philip Kaludercic <philipk@posteo.net> wrote:
>>> 
>>> "Bozhidar Batsov" <bozhidar@batsov.dev> writes:
>>> 
>>> > Thanks for putting the patch together so quickly!
>>> >
>>> > Phillip, can you help us to get it applied?
>>> 
>>> Applying the patch is not the issue, I am just personally hesitant to
>>> add a bunch of dependencies/packages I have never heard about before,
>>> more so because I don't use CIDER, /especially/ when I lack the time to
>>> properly review them (the argument that a package is "mature on MELPA"
>>> is rather weak from my experience, especially given the number of low
>>> quality packages on the archive).
>>> 
>>> Without understanding the issue properly, why is there a need for an
>>> external data-time parsing package, if Emacs already comes with
>>> functions for parsing timestamps?  It appears to use use this extmap
>>> package, which parses binary data?  How is this all related to CIDER?
>>> 
>>> But perhaps I am in a minority here, and we should just apply the patch.
>>> 
>>> > On Thu, Jul 6, 2023, at 7:14 PM, Paul Pogonyshev wrote:
>>> >> Hi,
>>> >>
>>> >> Bozhidar Batsov, author and maintainer of CIDER, requested for
>>> >> package Logview to be made available on NonGNU ELPA:
>>> >> https://github.com/clojure-emacs/cider/issues/3365
>>> >>
>>> >> Since Logview has two dependencies itself, which are not available
>>> >> on NonGNU ELPA, and since Bozhidar assured me that it is fine to
>>> >> submit multiple packages in one go, the attached patch adds all
>>> >> three (Logview, datetime, extmap) at once. Local checks suggest that
>>> >> the packages can be built fine.
>>> 
>>> I am a bit confused, why should adding multiple related packages in a
>>> single patch be an issue?
>>> 
>>> >> All the packages have been available from MELPA for years and are
>>> >> mature projects. They are under active maintenance: even if I don't
>>> >> often add new features, I respond to reported issues on GitHub and
>>> >> write fixes when needed.
>>> >>
>>> >> I added directory `githooks' to the lists of exclusions even if it
>>> >> doesn't yet exist in the dependencies: I will add it there sooner or
>>> >> later anyway. In Logview itself this directory already exists.
>>> 
>>> If possible, please add ".elpaignore" files to the repositories
>>> themselves, so that we can void tracking the files in elpa-packages
>>> itself.
>>> 
>>> >> Please CC me on any replies, I'm not subscribed to the list.
>>> 
>>> That is a given, don't worry about it.
>>> 
>>> >> Paul
>>> >>
>>> >> *Attachments:*
>>> >>  • 0001-Add-Logview-with-dependencies.patch
> 

[-- Attachment #2: Type: text/html, Size: 6897 bytes --]

  reply	other threads:[~2023-07-13 13:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-06 16:14 NonGNU ELPA: add Logview Paul Pogonyshev
2023-07-06 16:20 ` Bozhidar Batsov
2023-07-06 17:59 ` Philip Kaludercic
2023-07-06 19:47   ` Paul Pogonyshev
2023-07-07  5:21     ` Bozhidar Batsov
2023-07-13 13:34       ` Bozhidar Batsov [this message]
2023-07-13 18:35         ` Philip Kaludercic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1a929a7e-eccd-4c2c-958b-9bdc99e63d42@app.fastmail.com \
    --to=bozhidar@batsov.dev \
    --cc=emacs-devel@gnu.org \
    --cc=philipk@posteo.net \
    --cc=pogonyshev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).