Skip to contentSkip to conversation

git domain name updates

infra Michael Halstead 5 participants 8 messages Sep 26, 2017 – Sep 28, 2017

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello,

As Yocto Project continues to grow load on our git server does as well. We are going to make a few changes to our git infrastructure to allow for more growth.

All read-only git operations should point at git.yoctoproject.org. For example poky can be cloned from the following URLs:

git://git.yoctoproject.org/poky
https://git.yoctoproject.org/git/poky

If you have repositories pointed at www.yoctoproject.org, git.pokylinux.org, or any other domain name please update their remotes to git.yoctoproject.org.

Read-write operations via ssh will use a new domain specifically for that purpose. I've added push.yoctoproject.org and ra.yoctoproject.org (like ra.kernel.org).

Read-write URLs should be updated to the new domain names. I've changed mine like so:

git remote set-url origin ssh://[email protected]/poky-contrib

This is all ready to go right now. Please update your remotes.

We will have to make these changes required before we can start to get performance benefits from them. I suggest November 1st 2017 but I need more feedback before we can set a cut off date.

Thank you,

- --
Michael Halstead
Yocto Project / SysAdmin
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEzowQ2UYmQerfiW8/amSWNbpCWpUFAlnJnKsACgkQamSWNbpC WpVwphAAkRfTKy64rClsiB2lijbi2Z7o/NJIEbkDgbYf92aeAAJw4KQHLMxbrOS+ lZi6MtUSEGtFGdcxqOZ3RCNagfjA9peiDpcxf0A/Jnax02yQz5njHQco12n7IuYl Q92CW2wMWfqVHJ+0NZe2THb72OUd6cepjHOeNBUb4L3TFOK6NAc63zaFD24vXqq0 VAx+x3s8DPIyzttS7s3lA1IXlLS1S3jGdhLM/0G0E48QJM3Y/I3ntUJ3G02mVMYc wJ1a8E1/YTTgcL0Xwioa+EoGXeuAPmbrirlp+e9QXwBzYw/2EjNTt3stEpGCK+xK Pf7+TNGgky/OMzX9pr51jHl1XwgtZJzmumyyIDA3UewVxxvkkOwsFjICN0keWM3W GGlkOn+Sn+V7Nnw5MVchX9cexojgebgbaDuyFmlpr+nXin9YKO7ELPnOaENTQouk lq72nvlfllHDGa0yx6ZbhP/UV5E03Q0g+aDLvoYvY+HWFZGyMFP5cyumEI4H2puQ mqTjg9aWE3NExA5/gseihxjW/UvGhApfkV5OWXcxv03FmCfLIGNBKdFYJYTtC4gm WUGZbV8yyw13/F0gwPe/538BEsL+4oJxhk4AqNtGYjbb3m0XpjIxVP/Gbf7WASJi 2r3NDP8SE0ehQE79gqxQIX07+s1smCPJ3EkHvvKY/Bk8QCa2iBg= =TfzM
-----END PGP SIGNATURE-----

#1 lore raw

I would like to do this with the OE Git as well as I see several large spikes everyday where the server gets very busy and this would help:

git.openembedded.org for read-only access

new push.openembedded.org and ra.openembedded.org for those with Write Access.

Tom King
Infrastructure OE Project.

---------- Forwarded message ----------
From: Michael Halstead <[email protected]>
Date: Mon, Sep 25, 2017 at 5:17 PM
Subject: [yocto] [infra] git domain name updates
To: [email protected], [email protected]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello,

As Yocto Project continues to grow load on our git server does as well. We are going to make a few changes to our git infrastructure to allow for more growth.

All read-only git operations should point at git.yoctoproject.org. For example poky can be cloned from the following URLs:

git://git.yoctoproject.org/poky
https://git.yoctoproject.org/git/poky

If you have repositories pointed at www.yoctoproject.org, git.pokylinux.org, or any other domain name please update their remotes to git.yoctoproject.org.

Read-write operations via ssh will use a new domain specifically for that purpose. I've added push.yoctoproject.org and ra.yoctoproject.org (like ra.kernel.org).

Read-write URLs should be updated to the new domain names. I've changed mine like so:

git remote set-url origin ssh://[email protected]/poky-contrib

This is all ready to go right now. Please update your remotes.

We will have to make these changes required before we can start to get performance benefits from them. I suggest November 1st 2017 but I need more feedback before we can set a cut off date.

Thank you,

- --
Michael Halstead
Yocto Project / SysAdmin
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEzowQ2UYmQerfiW8/amSWNbpCWpUFAlnJnKsACgkQamSWNbpC WpVwphAAkRfTKy64rClsiB2lijbi2Z7o/NJIEbkDgbYf92aeAAJw4KQHLMxbrOS+ lZi6MtUSEGtFGdcxqOZ3RCNagfjA9peiDpcxf0A/Jnax02yQz5njHQco12n7IuYl Q92CW2wMWfqVHJ+0NZe2THb72OUd6cepjHOeNBUb4L3TFOK6NAc63zaFD24vXqq0 VAx+x3s8DPIyzttS7s3lA1IXlLS1S3jGdhLM/0G0E48QJM3Y/I3ntUJ3G02mVMYc wJ1a8E1/YTTgcL0Xwioa+EoGXeuAPmbrirlp+e9QXwBzYw/2EjNTt3stEpGCK+xK Pf7+TNGgky/OMzX9pr51jHl1XwgtZJzmumyyIDA3UewVxxvkkOwsFjICN0keWM3W GGlkOn+Sn+V7Nnw5MVchX9cexojgebgbaDuyFmlpr+nXin9YKO7ELPnOaENTQouk lq72nvlfllHDGa0yx6ZbhP/UV5E03Q0g+aDLvoYvY+HWFZGyMFP5cyumEI4H2puQ mqTjg9aWE3NExA5/gseihxjW/UvGhApfkV5OWXcxv03FmCfLIGNBKdFYJYTtC4gm WUGZbV8yyw13/F0gwPe/538BEsL+4oJxhk4AqNtGYjbb3m0XpjIxVP/Gbf7WASJi 2r3NDP8SE0ehQE79gqxQIX07+s1smCPJ3EkHvvKY/Bk8QCa2iBg= =TfzM
-----END PGP SIGNATURE-----
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw
Quoted 2 lines · Tom King

I would like to do this with the OE Git as well as I see several large > spikes everyday where the server gets very busy and this would help:

Quoted 1 line

git.openembedded.org for read-only access > > new

push.openembedded.org and ra.openembedded.org for those with Write > Access. >
I agree, the same improvements are in order for OE as well. The new domains are available now.

Please update any ssh remotes to point at either push.openembedded.org or ra.openembedded.org. Make sure any git:// or http:// remotes are pointing at git.openembedded.org.

For example,

git remote set-url origin ssh://[email protected]/openembedded-core-contrib

Then we will be ready to accelerate OE's read-only git access when the OE tech committee approves.

Quoted 1 line

Tom King > Infrastructure OE Project. > > > ---------- Forwarded message

---------- > From: Michael Halstead <[email protected]> >
Date: Mon, Sep 25, 2017 at 5:17 PM > Subject: [yocto] [infra] git domain name updates > To: [email protected], [email protected] > >

Quoted 37 lines

Hello,

As Yocto Project continues to grow load on our git server does as well. We are going to make a few changes to our git infrastructure to allow for more growth.

All read-only git operations should point at git.yoctoproject.org. For example poky can be cloned from the following URLs:

git://git.yoctoproject.org/poky
https://git.yoctoproject.org/git/poky

If you have repositories pointed at www.yoctoproject.org, git.pokylinux.org, or any other domain name please update their remotes to git.yoctoproject.org.

Read-write operations via ssh will use a new domain specifically for that purpose. I've added push.yoctoproject.org and ra.yoctoproject.org (like ra.kernel.org).

Read-write URLs should be updated to the new domain names. I've changed mine like so:

git remote set-url origin ssh://[email protected]/poky-contrib

This is all ready to go right now. Please update your remotes.

We will have to make these changes required before we can start to get performance benefits from them. I suggest November 1st 2017 but I need more feedback before we can set a cut off date.

Thank you,

-- > _______________________________________________ > yocto mailing list [email protected] > https://lists.yoctoproject.org/listinfo/yocto

Signature · 2 lines
Michael Halstead
Linux Foundation / SysAdmin
#3 lore raw
In reply to Michael Halstead
Quoted 12 lines · Michael Halstead

Hello,

As Yocto Project continues to grow load on our git server does as well. We are going to make a few changes to our git infrastructure to allow for more growth.

All read-only git operations should point at git.yoctoproject.org. For example poky can be cloned from the following URLs:

git://git.yoctoproject.org/poky
https://git.yoctoproject.org/git/poky

Quoted 8 lines

If you have repositories pointed at www.yoctoproject.org, git.pokylinux.org, or any other domain name please update their remotes to git.yoctoproject.org.

Read-write operations via ssh will use a new domain specifically for that purpose. I've added push.yoctoproject.org and ra.yoctoproject.org (like ra.kernel.org).

    Read-write URLs should be updated to the new domain names. I've

Quoted 6 lines

changed mine like so:

git remote set-url origin ssh://[email protected]/poky-contrib

will this apply  to the other contrib repos hosted by Yocto?

Is there a policy on pruning old branches in the contrib repos?

Quoted 5 lines

This is all ready to go right now. Please update your remotes.

We will have to make these changes required before we can start to get performance benefits from them. I suggest November 1st 2017 but I need more feedback before we can set a cut off date.

sounds good to me. Thanks for working on this.

- armin

Quoted 3 lines

Thank you,

#4 lore raw
Quoted 23 lines · On 09/25/2017 06:17 PM, akuster808 wrote:
Quoted 12 lines · Michael Halstead

Hello,

As Yocto Project continues to grow load on our git server does as well. We are going to make a few changes to our git infrastructure to allow for more growth.

All read-only git operations should point at git.yoctoproject.org. For example poky can be cloned from the following URLs:

git://git.yoctoproject.org/poky
https://git.yoctoproject.org/git/poky

Quoted 8 lines

If you have repositories pointed at www.yoctoproject.org, git.pokylinux.org, or any other domain name please update their remotes to git.yoctoproject.org.

Read-write operations via ssh will use a new domain specifically for that purpose. I've added push.yoctoproject.org and ra.yoctoproject.org (like ra.kernel.org).

Quoted 8 lines

    Read-write URLs should be updated to the new domain names. I've

Quoted 6 lines

changed mine like so:

git remote set-url origin ssh://[email protected]/poky-contrib

will this apply  to the other contrib repos hosted by Yocto?

This will apply to all repos hosted at git.yoctoproject.org. I used poky-contrib as the push example since it has the most users.

Quoted 3 lines

Is there a policy on pruning old branches in the contrib repos?

There hasn't been a policy but we need to create one. I've checked with Richard and we will move branches to poky-contrib-archive that haven't been touched in a year. I'll send out a notice about that.

Quoted 14 lines
Quoted 6 lines

This is all ready to go right now. Please update your remotes.

We will have to make these changes required before we can start to get performance benefits from them. I suggest November 1st 2017 but I need more feedback before we can set a cut off date.

sounds good to me. Thanks for working on this.

- armin

Quoted 3 lines

Thank you,

Signature · 2 lines
Michael Halstead
Linux Foundation / SysAdmin
#5 lore raw
In reply to Michael Halstead
Quoted 5 lines · Michael Halstead

This is all ready to go right now. Please update your remotes.

We will have to make these changes required before we can start to get performance benefits from them. I suggest November 1st 2017 but I need more feedback before we can set a cut off date.

I'd be tempted just to go ahead and do this sooner than later if you we stand people asking questions about why it stopped working for them...

My .git/config files were full of rather elderly data but I think I have all my main usages updated now...

Cheers,

Richard

#6 lore raw
In reply to Michael Halstead
Quoted 2 lines · Michael Halstead

This is all ready to go right now. Please update your remotes.

For people who don't know, you can configure convenience URL aliases in git. Here's a little config fragment for ~/.gitconfig to give an alias which will use the git: server for pulls and ssh: for pushes:

[url "ssh://[email protected]/"]
pushInsteadOf = yocto:
[url "git://git.yoctoproject.org/"]
insteadOf = yocto:

With this the URL you need to clone anything from the Yocto server is just yocto:module. For example:

$ git clone yocto:poky
$ cd poky
$ git remote add contrib yocto:poky-contrib

Ross

#7 lore raw
Quoted 6 lines · Ross

On 26 September 2017 at 01:17, Michael Halstead <[email protected] <mailto:[email protected]>> wrote:

This is all ready to go right now. Please update your remotes.

Read-write users:

While updating your git remotes you may also need to update configuration in ~/.ssh/config or /etc/ssh/ssh_config with the new domain name.

If you use several ssh keys or work behind a proxy you probably have configuration to update.

grep yoctoproject ~/.ssh/config /etc/ssh/ssh_config /etc/ssh/ssh_config.d/*.conf

If you see git.yoctoproject.org change it to push.yoctoproject.org.

Remember to check for any build accounts you've created as well as your main account.

Signature · 2 lines
Michael Halstead
Linux Foundation / SysAdmin