From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yoni Rabkin Newsgroups: gmane.emacs.devel Subject: Re: updating async on elpa Date: Sat, 01 May 2021 09:05:25 -0400 Message-ID: <87r1iqeh9m.fsf@rabkins.net> References: <874kfom16w.fsf@posteo.net> <871rarn69c.fsf@posteo.net> <87y2czll5a.fsf@posteo.net> <87o8dvty56.fsf@posteo.net> <87zgxf5zyz.fsf@posteo.net> <87lf8zrqym.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24442"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 01 15:06:14 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 1lcpK1-0006ER-P0 for ged-emacs-devel@m.gmane-mx.org; Sat, 01 May 2021 15:06:13 +0200 Original-Received: from localhost ([::1]:52770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcpK0-00029f-Sc for ged-emacs-devel@m.gmane-mx.org; Sat, 01 May 2021 09:06:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcpJK-0001go-IR for emacs-devel@gnu.org; Sat, 01 May 2021 09:05:30 -0400 Original-Received: from smtprelay0210.hostedemail.com ([216.40.44.210]:51978 helo=smtprelay.hostedemail.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcpJI-0008K4-R7 for emacs-devel@gnu.org; Sat, 01 May 2021 09:05:30 -0400 Original-Received: from omf06.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 5C1981803C95F; Sat, 1 May 2021 13:05:27 +0000 (UTC) Original-Received: from [HIDDEN] (Authenticated sender: yoni@rabkins.net) by omf06.hostedemail.com (Postfix) with ESMTPA id DCAA42448B6; Sat, 1 May 2021 13:05:26 +0000 (UTC) X-Ethics: Use GNU In-Reply-To: <87lf8zrqym.fsf@posteo.net> (Thierry Volpiatto's message of "Sat, 01 May 2021 04:45:45 +0000") X-Rspamd-Server: rspamout03 X-Rspamd-Queue-Id: DCAA42448B6 X-Stat-Signature: 935ypwiazbrkh1gb3u9objb4443hyp14 X-Session-Marker: 796F6E69407261626B696E732E6E6574 X-Session-ID: U2FsdGVkX1+wqi+tqFbg/nTHLe9pK0XCK/z6E+rvrSI= X-HE-Tag: 1619874326-896755 Received-SPF: none client-ip=216.40.44.210; envelope-from=yoni@rabkins.net; helo=smtprelay.hostedemail.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, UNPARSEABLE_RELAY=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:268709 Archived-At: Thierry Volpiatto writes: > Stefan Monnier writes: > >> [[PGP Encrypted Part:OK]] >>>>>> @git.sv.gnu.org:/srv/git/emacs/elpa.git ? >>>>> So no, it is not this, >>>> Yes it it, but this only specifies the repository, not the branch. >>> Hmm, I understand nothing how the elpa is structured, too complicated for me. >> >> When you push a branch you need to tell to which branch in the remote >> repository you're pushing. The syntax is: >> >> git push : >> >> so if you're pushing from your local `elpa` branch to elpa.git's >> `externals/async` branch, then you need to do: >> >> git push elpa elpa:externals/async >> >> I suspect the problem is that you used a shorthand which works well when >> the remote branch has the same name as a the local branch but can't be >> used here. > > I will rename it to something else. > >> I'm not sure how much simpler we could make it. E.g. if we used >> a separate repository per package, then presumably your `elpa` remote >> would point to something like git.sv.gnu.org:emacs/elpa/async.git >> and you'd need to push to the `main` branch in that repository, which >> would still bring the same problem since the name `main` is still >> different from the name `elpa` you used for your local branch. > > Yes, the name I use -elpa- is bad, but yes a repository per repo would be > great, in github organizations allow having one repo per package like in > helm organization. Having one repository per package is how it works everywhere else (Savannah, etc.), and is easier to understand because of that. This is from the point of view of a contributor of course; I cannot speak to how it looks from Stefan's side. I would be much happier if emms and rt-liberation had their own repositories since it would mean that I couldn't possibly break anything except emms or rt-liberation when I push to those projects in elpa. As it stands, I'm always extremely wary that I would get the magical git incantation wrong and mess up the the u.s. constitution and the magna carta by mistake. -- "Cut your own wood and it will warm you twice"