On 2023/03/10 12:42:00 Volkan Yazıcı wrote:
> If you browse to https://github.com/apache/logging-log4j2 and clone the
> repository as described there:
> 
>     git clone g...@github.com:apache/logging-log4j2.git
> 
> This not only works, but also lands you on the right branch: `2.x`.

Pardon me for being dense but I've lost my patience, I'm trying to do many 
things today and getting nowhere with Log4j:

```
C:\tmp>git clone g...@github.com:apache/logging-log4j2.git foo
Cloning into 'foo'...
The authenticity of host 'github.com (140.82.112.4)' can't be established.
ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
g...@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
```

Did you mean for "g...@github.com" to stand in for something else?

"> If you browse to https://github.com/apache/logging-log4j2 and clone the
> repository as described there:"

As described there? The word "clone" does not even appear on that page. What am 
I missing?

The GH UI in the "Code" drop-down says: 
https://github.com/apache/logging-log4j2.git

So frustrated,
Gary

> 
> On Fri, Mar 10, 2023 at 12:47 PM Gary Gregory <garydgreg...@gmail.com>
> wrote:
> 
> > So the branch renaming broke cloning and checking out code with the most
> > basic git command? At least that's what the side effect seems to me. What's
> > the fix? Or will no one ever be able to say 'git clone' as below and have
> > it just work?
> >
> > Gary
> >
> > On Fri, Mar 10, 2023, 05:18 Volkan Yazıcı <vol...@yazi.ci> wrote:
> >
> > > We mention the `gitbox` keyword neither in the sources, nor in the docs.
> > >
> > > There is a GitHub link at the top right corner of every page in the
> > > website.
> > >
> > > `pom.xml`s SCM block points to GitHub.
> > >
> > > `CONTRIBUTING.md` only hints to GitHub resources – though I agree there
> > is
> > > no direct link to the repository there.
> > >
> > > I think everybody _assumes_ GitHub is the default repository. Maybe we
> > > should clearly document this.
> > >
> > > Regarding the `nonexistent ref` error you get, we have renamed quite some
> > > branches[1]. In particular, `master` → `main` and `release-2.x` → `2.x`.
> > >
> > > I hope this clarifies things for you.
> > >
> > > [1] https://lists.apache.org/thread/41wds37l4xmfzljgsgvplny811wd1v37
> > >
> > > On Thu, Mar 9, 2023 at 11:51 PM Gary D. Gregory <ggreg...@apache.org>
> > > wrote:
> > >
> > > > Hi All:
> > > >
> > > > My expectation is that:
> > > >
> > > > C:\Users\ggregory\git\a>git clone
> > > > https://gitbox.apache.org/repos/asf/logging-log4j2.git logging-log4j3
> > > >
> > > > Would clone and checkout master (or main or whatever the default branch
> > > is
> > > > called now) but instead, I get an empty folder and this output:
> > > >
> > > > Cloning into 'logging-log4j3'...
> > > > remote: Enumerating objects: 262413, done.
> > > > remote: Counting objects: 100% (262413/262413), done.
> > > > remote: Compressing objects: 100% (68647/68647), done.
> > > > remote: Total 262413 (delta 127358), reused 256238 (delta 122788)
> > > > Receiving objects: 100% (262413/262413), 38.27 MiB | 11.31 MiB/s, done.
> > > > Resolving deltas: 100% (127358/127358), done.
> > > > warning: remote HEAD refers to nonexistent ref, unable to checkout
> > > >
> > > > This says nothing to help:
> > > > https://github.com/apache/logging-log4j2/blob/2.x/BUILDING.md
> > > > and nothing jumps out at me on the main page
> > > > https://logging.apache.org/log4j/2.x/index.html
> > > >
> > > > So... what's the magic missing?
> > > >
> > > > TY!
> > > > Gary
> > > >
> > > >
> > >
> >
> 

Reply via email to