⇐ ⇒

[CF-metadata] Renaming of GitHub repositories

From: Alison Pamment - UKRI STFC <alison.pamment>
Date: Mon, 8 Jul 2019 10:07:35 +0000

Hi David,

Sorry to be chiming in late on this but I just saw the emails from last week and my attention was drawn to this bit:
https://github.com/cf-convention/cf-convention.github.io will become: https://github.com/cf-convention/website

I?m absolutely not an expert on GitHub, but the help pages about publishing a website from a repository seem to indicate that it has to be called http(s)://<orgname>.github.io (see https://help.github.com/en/articles/user-organization-and-project-pages). You can then set up a custom domain name to point to that repository, which is what we do with the cfconventions.org name. This would seem to suggest that if you rename the repository as above, the website might stop working. Is this something you?ve already looked into?

Best wishes,
Alison

-----------------------------------------------------------------------------------------------------------
Alison Pamment Tel: +44 1235 778065
NCAS/Centre for Environmental Data Analysis Email: alison.pamment at stfc.ac.uk
STFC Rutherford Appleton Laboratory
R25, 2.22
Harwell Oxford, Didcot, OX11 0QX, U.K.

From: CF-metadata <cf-metadata-bounces at cgd.ucar.edu> On Behalf Of David Hassell
Sent: 05 July 2019 17:00
To: CF Metadata <cf-metadata at cgd.ucar.edu>
Subject: Re: [CF-metadata] Renaming of GitHub repositories

Hello,

Many apologies, but this week caught up with me, and I didn't get round to changing the repository names. But I will do it on Monday 8th July.


If you need to update a local repository, Guilherme pointed out that it might be a good idea to double check what you have before update the origin, with

$ git remote -v

For example, if you have a fork of cf-conventions called 'origin', then the above command might return ...

origin git at github.com:castelao/cf-conventions.git<mailto:git at github.com:castelao/cf-conventions.git> (fetch)
origin git at github.com:castelao/cf-conventions.git<mailto:git at github.com:castelao/cf-conventions.git> (push)
upstream git at github.com<mailto:git at github.com>:cf-convention/cf-conventions.git (fetch)
upstream git at github.com<mailto:git at github.com>:cf-convention/cf-conventions.git (push)

... and you wouldn't update 'origin; rather you would update 'upstream' in this case:

$ git remote set-url upstream https://github.com/cf-convention/conventions.git

(I hope that I have got this right, Guilherme!)

All the best,
David

On Wed, 26 Jun 2019 at 18:25, David Hassell <david.hassell at ncas.ac.uk<mailto:david.hassell at ncas.ac.uk>> wrote:
Hello,

Somewhat later than I had intended, and following on from Jonathan's well-received suggestions on this list (starting from 2019-03-22), I shall be renaming the following CF GitHub repositories:

https://github.com/cf-convention/cf-conventions will become: https://github.com/cf-convention/conventions

https://github.com/cf-convention/cf-convention.github.io will become: https://github.com/cf-convention/website

I shall do this on Tuesday 2nd July (following the principle of never making changes that could affect other people just before the weekend).

Aside from needing to rename our browser bookmarks, this should have no adverse effects on most people.

However, if you have cloned either of these repositories, the old names should still work (according to https://help.github.com/en/articles/renaming-a-repository), but it is best to rename the remote URL as follows, e.g. for the "conventions" site:

> git remote set-url origin https://github.com/cf-convention/conventions.git

(Don't take my word for it! See https://help.github.com/en/articles/changing-a-remotes-url for more details, for example.)

Please let us know about any concerns that may still remain on this topic, all the best,

David

--
David Hassell
National Centre for Atmospheric Science
Department of Meteorology, University of Reading,
Earley Gate, PO Box 243, Reading RG6 6BB
Tel: +44 118 3785183
http://www.met.reading.ac.uk/
--
David Hassell
National Centre for Atmospheric Science
Department of Meteorology, University of Reading,
Earley Gate, PO Box 243, Reading RG6 6BB
Tel: +44 118 3785183
http://www.met.reading.ac.uk/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cgd.ucar.edu/pipermail/cf-metadata/attachments/20190708/1a3da7e0/attachment-0001.html>
Received on Mon Jul 08 2019 - 04:07:35 BST

This archive was generated by hypermail 2.3.0 : Tue Sep 13 2022 - 23:02:43 BST

⇐ ⇒