From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jonas Bernoulli Newsgroups: gmane.emacs.devel Subject: Re: Don't add tags to ELPA packages -- documentation? Date: Thu, 19 Aug 2021 22:54:08 +0200 Message-ID: <87o89ti2a7.fsf@bernoul.li> 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> <109BADAD-23FE-407A-A990-8D2A5A17B7CB@gmail.com> <87wnoin812.fsf@gmail.com> <874kbmn41j.fsf@ericabrahamsen.net> <871r6q1qu3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13071"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuan Fu , Bozhidar Batsov , Stefan Monnier , Emacs Devel To: =?utf-8?Q?K=C3=A9vin?= Le Gouguec , Eric Abrahamsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 19 22:56:45 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 1mGp5g-000376-El for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Aug 2021 22:56:44 +0200 Original-Received: from localhost ([::1]:44420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGp5e-0006Ih-QM for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Aug 2021 16:56:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGp3K-0005Uc-GV for emacs-devel@gnu.org; Thu, 19 Aug 2021 16:54:18 -0400 Original-Received: from mail.hostpark.net ([212.243.197.30]:46128) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGp3I-00028N-8X for emacs-devel@gnu.org; Thu, 19 Aug 2021 16:54:18 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 52E88165C8; Thu, 19 Aug 2021 22:54:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bernoul.li; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:references:in-reply-to:subject:subject :from:from:received:received; s=sel2011a; t=1629406449; bh=HGtVM u+mfklV5LFttoHh56KGDaWyt73HYoCkHksi9v8=; b=GhdiRfVfz/HWUl3DxNCny a4RqABgKgElcziy0tWEWxbqZNACTUVx1FQEJA6gX1jgm0l9us8ZpXij1VlvsQcQJ zGzXraB71SlEB1uRjcr3egDd+FV3M13LC4YsoSrEw9w9AYkaVFEuxxIoJUgpNQX+ jXtFvM9XPdzF4vpXL5tL38= X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Original-Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail0.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id fMrTCEhNLARg; Thu, 19 Aug 2021 22:54:09 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 22994165C1; Thu, 19 Aug 2021 22:54:09 +0200 (CEST) In-Reply-To: <871r6q1qu3.fsf@gmail.com> Received-SPF: none client-ip=212.243.197.30; envelope-from=jonas@bernoul.li; helo=mail.hostpark.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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:272684 Archived-At: K=C3=A9vin Le Gouguec writes: Let's document that tags should not be pushed; both why and how, as described elsewhere in this thread. But I expect that tags will still occasionally be pushed anyway. When that happens we should figure out what upstream repository they came from, educate the respective maintainer about how to avoid pushing them again, and then delete them. But [because it is going to keep happening] this is more important: > Mmm, IIUC any of "git clone", "git fetch" and "git pull" can fetch tags > if not used with "--no-tags". A quick look at elpa-admin.el shows some > occurrences of "pull" without "--no-tags", but I haven't looked hard > enough at the GNU ELPA machinery to figure if those could have fetched > the tags we observe. Every occurrence of "git clone ..." and "git remote add ..." in the documentation should be updated to mention that "--no-tags" has to be used to prevent tags from being pulled. We should also document how to recover if the tags have already been pulled. And finally we should add an annotated tag named something like "use--no-tags" and use its annotation to repeat the documentation about adding "--no-tags" and how to clean up. Jonas