* Unable to push to cygutils git repo on sourceware
@ 2021-09-07 3:46 Mark Geisert
2021-09-07 5:15 ` Brian Inglis
2021-09-14 17:42 ` Jon Turney
0 siblings, 2 replies; 5+ messages in thread
From: Mark Geisert @ 2021-09-07 3:46 UTC (permalink / raw)
To: cygwin-apps
Something's likely changed in the 4 years since I last did this :-).
$ 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
I tried cygwin.com in place of sourceware.org but no change. Have the
repositories moved or the access policies changed?
Thanks for any leads,
..mark
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unable to push to cygutils git repo on sourceware
2021-09-07 3:46 Unable to push to cygutils git repo on sourceware Mark Geisert
@ 2021-09-07 5:15 ` Brian Inglis
2021-09-07 11:54 ` Jon Turney
2021-09-14 17:42 ` Jon Turney
1 sibling, 1 reply; 5+ messages in thread
From: Brian Inglis @ 2021-09-07 5:15 UTC (permalink / raw)
To: cygwin-apps
Hi Mark,
On 2021-09-06 21:46, Mark Geisert wrote:
> Something's likely changed in the 4 years since I last did this :-).
Your memory's faded! ;^>
It's taken me months of use to remember correctly!
For most Cygwin packages it's:
https://cygwin.com/git-cygwin-packages/
https://cygwin.com/git/cygwin-packages/PKG.git # no longer works!
https://cygwin.com/git/?p=git/cygwin-packages/PKG.git
ssh://cygwin@cygwin.com/git/cygwin-packages/PKG.git
but yours is a Cygwin *app*:
https://cygwin.com/git/cygwin-apps/
https://cygwin.com/git/cygwin-apps/cygutils.git
https://cygwin.com/git?p=cygwin-apps/cygutils.git
ssh://cygwin@cygwin.com/git/cygwin-apps/cygutils.git
> $ 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
url = ssh://cygwin@cygwin.com/git/cygwin-apps/cygutils
[You may also use any .ssh/config Host alias for cygwin@cygwin.com which
references your SSH key for Cygwin access]
> fetch = +refs/heads/*:refs/remotes/origin/* > [branch "master"]
> remote = origin
> merge = refs/heads/master
[branch "playground"]
remote = origin
merge = refs/heads/playground
> I tried cygwin.com in place of sourceware.org but no change. Have the
> repositories moved or the access policies changed?
> Thanks for any leads,
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unable to push to cygutils git repo on sourceware
2021-09-07 5:15 ` Brian Inglis
@ 2021-09-07 11:54 ` Jon Turney
0 siblings, 0 replies; 5+ messages in thread
From: Jon Turney @ 2021-09-07 11:54 UTC (permalink / raw)
To: cygwin-apps
On 07/09/2021 06:15, Brian Inglis wrote:
> Hi Mark,
>
> On 2021-09-06 21:46, Mark Geisert wrote:
>> Something's likely changed in the 4 years since I last did this :-).
>
> Your memory's faded! ;^>
> It's taken me months of use to remember correctly!
[...]
>
> but yours is a Cygwin *app*:
>
> https://cygwin.com/git/cygwin-apps/
> https://cygwin.com/git/cygwin-apps/cygutils.git
> https://cygwin.com/git?p=cygwin-apps/cygutils.git
>
> ssh://cygwin@cygwin.com/git/cygwin-apps/cygutils.git
Correct URL, but I don't think the username 'cygwin' (which is used with
ssh key demultiplexing via gitolite) has ever worked for cygwin-apps.
I think you must use a sourceware.org account name, which is a member of
the cygwin-apps group.
I'll see if I can tweak the URLs presented via gitweb to make this a bit
clearer.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unable to push to cygutils git repo on sourceware
2021-09-07 3:46 Unable to push to cygutils git repo on sourceware Mark Geisert
2021-09-07 5:15 ` Brian Inglis
@ 2021-09-14 17:42 ` Jon Turney
2021-09-15 4:51 ` Mark Geisert
1 sibling, 1 reply; 5+ messages in thread
From: Jon Turney @ 2021-09-14 17:42 UTC (permalink / raw)
To: cygwin-apps, Mark Geisert
On 07/09/2021 04:46, Mark Geisert wrote:
> Something's likely changed in the 4 years since I last did this :-).
>
> $ 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
>
> I tried cygwin.com in place of sourceware.org but no change. Have the
> repositories moved or the access policies changed?
> Thanks for any leads,
>
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)
* So you perhaps explicitly did a "git push
ssh://username@cygwin.com/git/cygwin-apps/cygutils.git" last time you
pushed changes?
* 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unable to push to cygutils git repo on sourceware
2021-09-14 17:42 ` Jon Turney
@ 2021-09-15 4:51 ` Mark Geisert
0 siblings, 0 replies; 5+ messages in thread
From: Mark Geisert @ 2021-09-15 4:51 UTC (permalink / raw)
To: Cygwin-Apps
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-09-15 4:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-07 3:46 Unable to push to cygutils git repo on sourceware Mark Geisert
2021-09-07 5:15 ` Brian Inglis
2021-09-07 11:54 ` Jon Turney
2021-09-14 17:42 ` Jon Turney
2021-09-15 4:51 ` Mark Geisert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).