I don't think you need SSH keys for clone with HTTPS

Ian

On 20/05/2020 5:04 pm, Brendan Coupe wrote:
I don't have a developer account. Do you need one to get read access
to the source code?

Clone with SSH:
g...@invent.kde.org:office/kmymoney.git

Clone with HTTPS:
https://invent.kde.org/office/kmymoney.git

----
Brendan Coupe

On Wed, May 20, 2020 at 9:58 AM Jack <ostrof...@users.sourceforge.net> wrote:
On 2020.05.20 11:51, Brendan Coupe wrote:
git clone g...@invent.kde.org:office/kmymoney.git
/usr/local/src/kmm/kmymoney-2020.05.20-09.47.53-GIT-MASTER

Cloning into
'/usr/local/src/kmm/kmymoney-2020.05.20-09.47.53-GIT-MASTER'...
g...@invent.kde.org: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
What links does the Clone button show you?  They may be different
because I have a developer account, and am logged in to
invent.kde.org.  If you do have a developer account, you probably need
to upload your ssh key to invent.kde.org.
On Wed, May 20, 2020 at 9:37 AM Jack
<ostrof...@users.sourceforge.net> wrote:
On 2020.05.20 11:15, Brendan Coupe wrote:
My build scripts use the following command to get the source code:

git clone git://anongit.kde.org/kmymoney MASTER SourceDirPath

MASTER can also be 5.0 or 4.8

What do I need to change to make it work now?
I believe using    g...@invent.kde.org:office/kmymoney.git   instead
of
your git:....  (You can get that by going to invent.kde.org and
searching for kmymoney.  Once you select the repository, there is a
clone button, which shows the new incantations.


*----Brendan Coupe*


On Sat, May 16, 2020 at 10:30 PM Thomas Baumgart
<t...@net-bembel.de>
wrote:

Hi,

On Sonntag, 17. Mai 2020 02:22:48 CEST Dawid Wrobel wrote:

Jack,

In my case it was enough to set the origin remote URL to the
new
one:
  $ git remote --v
origin git://anongit.kde.org/kmymoney (fetch)
origin g...@git.kde.org:kmymoney (push)

  $ git remote set-url origin
g...@invent.kde.org:office/kmymoney.git
  $ git remote --v
origin g...@invent.kde.org:office/kmymoney.git (fetch)
origin g...@invent.kde.org:office/kmymoney.git (push)

  $ git pull
Already up to date.

I also had to add my SSH keys to my profile in GitLab, but
other
than
that
it was fairly smooth.
The scripts are contained in the sysadmin/repo-metadata
repository.
Here's
what Ben
wrote on irc:

  23:47:10 <jzarl> how does one get git-kpull and git-kclone?
  23:49:46 <[ade]> jzarl: there was going to be information sent
out
once
the migration was done, but I haven't seen any
  23:49:54 <bcooksley> clone sysadmin/repo-metadata
  23:49:56 <[ade]> have you tried looking on the wiki?
  23:50:05 <bcooksley> there should be a folder called
git-utilities
in
there I think
  23:50:16 <bcooksley> but that in your $PATH
  23:50:22 <bcooksley> and make sure python3-yaml is installed on
your
system
  23:50:25 <bcooksley> then you should be good to go
  23:50:31 <[ade]> or listening to ben? that's often useful when
dealing
with sysadmin :)
  23:50:31 <bcooksley> still need to write all of that up

The scripts are basically doing what Dawid did above.

--

Regards

Thomas Baumgart

https://www.signal.org/       Signal, the better WhatsApp
-------------------------------------------------------------
God is real... unless declared an integer
-------------------------------------------------------------

Reply via email to