From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 556F3388206D; Mon, 19 Jun 2023 08:35:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 556F3388206D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1687163738; bh=Nr55cF9bgIJhFQzuyF1RGbbo6YZX5oASo/irj/mf0Y4=; h=Date:From:To:Subject:Reply-To:References:In-Reply-To:From; b=I1xhcjuxmuLN6n7YZfrMdtSu55vEqqQHWHwjO6+dddGsFsVVEhh/D7jV0RYe8gWFf rKHa5WZqNVvuI3aNJx2OH8KM4UvWD/lf7F9/qx61l9kZoDQm2kg9EECCiu7na7En6z 0U77J4wheM8Wnafw+NW5oMHRj0ilbUgCWLvuDYNQ= Received: by calimero.vinschen.de (Postfix, from userid 500) id 57EB9A80C74; Mon, 19 Jun 2023 10:35:34 +0200 (CEST) Date: Mon, 19 Jun 2023 10:35:34 +0200 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: cygwin-pkg-maint enhancements Message-ID: Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <8f7b29fc-83c5-0d77-994f-21e79542e3b9@dronecode.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: List-Id: On Jun 18 12:06, Jon Turney via Cygwin-apps wrote: > On 16/06/2023 10:47, Corinna Vinschen via Cygwin-apps wrote: > > On Jun 11 19:01, Jon Turney via Cygwin-apps wrote: > > > > > > I've deployed an update to calm which makes a few small improvements to the > > > way cygwin-pkg-maint is handled: > > > > > > * Lines starting with a '#' are now ignored as a comment > > > > > > * There's now a simple facility for grouping packages: > > > > > > Define a group with a line starting with '@', e.g.: > > > > > > @upstream_project Maintainer1/Maintainer2 > > > > > > Then @upstream_project can used in a package's maintainer list, as a > > > reference to that list of maintainers. > > > > That's a great change. Thanks! > > > > Would adding glob patterns help, too? Kind of like > > > > aspell > > aspell-* > > > > Well, maybe. > > That's a more complex change, as the code just does a simple lookup by > source package name at the moment. Yeah, ok. It would have to call the python glob function instead. Assuming there is one, but I guess there is. > It would also introduce the possibility for ambiguity. e.g. What is the > following intended to mean? > > aspell-* Aye Person > aspell-gibberish Anne Other True. I thought we could simply avoid that, given we maintain the file manually anyway. Assuming the file is searched lineary from top to bottom, the problem could be simply fixed by switching the order: aspell-gibberish Anne Other aspell-* Aye Person So, ordering from strict to fuzzy. Anyway, it was just an idea. We made it to here without globbing, so it's not as if that would be necessary. Corinna