From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.devel Subject: Re: Don't add tags to ELPA packages -- =?UTF-8?Q?documentation=3F?= Date: Wed, 18 Aug 2021 19:21:55 +1200 Message-ID: References: <87fsv7bww1.fsf@ericabrahamsen.net> <87k0kjoi3j.fsf@ericabrahamsen.net> <7dc63c685f15a500c7b37a153c28f6b3@webmail.orcon.net.nz> <87bl5vod7t.fsf@ericabrahamsen.net> <9f29e7dafac0498cffad17b4db809445@webmail.orcon.net.nz> <83e594e7-e7b1-455d-807c-2b3020abdf4a@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25722"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Orcon Webmail Cc: Emacs Devel To: Bozhidar Batsov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 18 09:23:30 2021 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 1mGFv7-0006R6-V7 for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Aug 2021 09:23:29 +0200 Original-Received: from localhost ([::1]:52306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGFv6-00038w-Ll for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Aug 2021 03:23:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGFtm-0002Gr-GG for emacs-devel@gnu.org; Wed, 18 Aug 2021 03:22:06 -0400 Original-Received: from smtp-4.orcon.net.nz ([60.234.4.59]:43639) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGFti-0002ZT-3b for emacs-devel@gnu.org; Wed, 18 Aug 2021 03:22:05 -0400 Original-Received: from [10.253.37.70] (port=15556 helo=webmail.orcon.net.nz) by smtp-4.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1mGFtb-00077p-W2; Wed, 18 Aug 2021 19:21:56 +1200 Original-Received: from ip-116-251-162-85.kinect.net.nz ([116.251.162.85]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Wed, 18 Aug 2021 19:21:55 +1200 In-Reply-To: <83e594e7-e7b1-455d-807c-2b3020abdf4a@www.fastmail.com> X-Sender: psainty@orcon.net.nz X-GeoIP: -- Received-SPF: pass client-ip=60.234.4.59; envelope-from=psainty@orcon.net.nz; helo=smtp-4.orcon.net.nz X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_05=-0.5, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:272548 Archived-At: On 2021-08-18 18:41, Bozhidar Batsov wrote: > I'm a bit confused by the conversation so far. Can someone elaborate > on "maintainers have explicitly pushed their tags to the ELPA repo"? > I do tag all the releases of my packages, as that's a common (and > good) practice, but I don't understand why would something like this > be affecting ELPA negatively. It won't. Not unless you went out of your way to make it a problem. Your "single project repository" is not the ELPA repo. The ELPA repo contains all of the packages in that archive. This whole discussion only applies if you are manually pushing code changes to the ELPA repo. If your package is defined as an external repo for ELPA's build processes to fetch automatically, then you aren't pushing *anything* to the ELPA repo at all. > Does it sync the tags from the remotes or what? No, it doesn't, so tags can't be a problem if ELPA is fetching the updates itself. > In general I don't think that something like "stop tagging your > releases upstream" is a good solution. Keep tagging to your heart's content in your own repository. Just don't push those tags to the ELPA repo (which you would need to do explicitly with options to the "git push" command). > Adding a prefix to the tag name (e.g. the package name) also seems > weird in the context of a single project repository. Again, this was purely in the context of the multi-project ELPA repo. If someone particularly wanted tags in the ELPA repo for a package, then the tags would need to be namespaced with a prefix in order to avoid potential clashes. -Phil