From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m0.truegem.net (m0.truegem.net [69.55.228.47]) by sourceware.org (Postfix) with ESMTPS id 6FA573858C2C for ; Wed, 15 Sep 2021 04:51:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6FA573858C2C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=maxrnd.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=maxrnd.com Received: (from daemon@localhost) by m0.truegem.net (8.12.11/8.12.11) id 18F4pgQw009090 for ; Tue, 14 Sep 2021 21:51:42 -0700 (PDT) (envelope-from mark@maxrnd.com) Received: from 162-235-43-67.lightspeed.irvnca.sbcglobal.net(162.235.43.67), claiming to be "[192.168.1.100]" via SMTP by m0.truegem.net, id smtpdE7eCm8; Tue Sep 14 21:51:32 2021 Subject: Re: Unable to push to cygutils git repo on sourceware To: Cygwin-Apps References: From: Mark Geisert Message-ID: <8893c126-bdc7-2bc6-cd96-9106a4bfc7fc@maxrnd.com> Date: Tue, 14 Sep 2021 21:51:32 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-14.6 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2021 04:51:46 -0000 Hi Jon, Jon Turney wrote: > On 07/09/2021 04:46, Mark Geisert wrote: >> Something's likely changed in the 4 years since I last did this :-). ..or something allegedly similar to this... too much code under the bridge... >> $ git push >> fatal: remote error: service not enabled: /git/cygwin-cygutils.git >> >> $ cat .git/config >> [core] >>          # blah elided >> [remote "origin"] >>          url = git://sourceware.org/git/cygwin-cygutils.git >>          fetch = +refs/heads/*:refs/remotes/origin/* >> [branch "master"] >>          remote = origin >>          merge = refs/heads/master [...] > > So, to answer the question actually asked: > > * While there have been some changes, this specific URL still works. (However, the > published path nowadays is /git/cygwin-apps/cygutils.git) > > * We've never supported pushing using the git:// protocol (since this protocol > doesn't do any authorization, pushes with a it are very rarely enabled) OK, makes sense. > * So you perhaps explicitly did a "git push > ssh://username@cygwin.com/git/cygwin-apps/cygutils.git" > last time you pushed changes? That seems pretty likely in retrospect, or @sourceware.org, same IP address. > * Since git supports configuring a separate push url, I'd suggest something like: > > git clone git://cygwin.com/git/cygwin-apps/cygutils.git > git remote set-url origin --push > ssh://username@cygwin.com/git/cygwin-apps/cygutils.git > > I find this convenient (especially when working with remote repositories to which > other people will push changes), since it lets you pull without authenticating, > but still push with appropriate authentication. > > I've amended https://sourceware.org/cygwin-apps/ to include that suggestion and > hopefully clarify things. Thank you for the advice and for updating the web docs. I'll be trying the push again shortly and will respond with any issues. Regards, ..mark