Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move MET repository from the NCAR to DTCenter organization. #1462

Closed
18 tasks done
JohnHalleyGotway opened this issue Aug 19, 2020 · 3 comments · Fixed by #1464 or #1463
Closed
18 tasks done

Move MET repository from the NCAR to DTCenter organization. #1462

JohnHalleyGotway opened this issue Aug 19, 2020 · 3 comments · Fixed by #1464 or #1463
Assignees
Labels
component: documentation Documentation issue priority: medium Medium Priority requestor: NCAR National Center for Atmospheric Research type: task An actionable item of work
Milestone

Comments

@JohnHalleyGotway
Copy link
Collaborator

JohnHalleyGotway commented Aug 19, 2020

Describe the Task

Move the MET repository from the NCAR organization to the DTCenter organization. The GitHub URL needs to be updated in many locations:

grep "github.com\/NCAR" `find ./ -type f` | cut -d":" -f1 | sort -u
.//.git/logs/HEAD
.//.git/logs/refs/heads/master_v9.0
.//.git/logs/refs/remotes/origin/HEAD
.//.github/ISSUE_TEMPLATE/bug_report.md
.//.github/ISSUE_TEMPLATE/enhancement_request.md
.//.github/ISSUE_TEMPLATE/new_feature_request.md
.//.github/ISSUE_TEMPLATE/task.md
.//met/data/version.txt
.//met/docs/Users_Guide/appendixF.rst
.//met/docs/Users_Guide/index.rst
.//met/docs/Users_Guide/overview.rst
.//met/docs/Users_Guide/release-notes.rst
.//met/share/met/version.txt
.//scripts/docker/Dockerfile
.//scripts/met_checkout_and_build.sh
.//scripts/run_fortify_sca.sh
.//scripts/run_fortify_sca_nightly.sh
.//scripts/test_nightly.sh
.//scripts/test_regression.sh
.//scripts/test_unit.sh

These changes should be made to both the develop and master_v9.1 branches.

After the documentation updates are complete, re-push the met-9.1 User's Guide to GitHub pages.

Time Estimate

2 hours.

Sub-Issues

Consider breaking the task down into sub-issues.
No sub-issues required.

Relevant Deadlines

None

Funding Source

Define the source of funding and account keys here or state NONE.

Define the Metadata

Assignee

  • Select engineer(s) or no engineer required: John Halley Gotway
  • Select scientist(s) or no scientist required: No scientist required

Labels

  • Select component(s)
  • Select priority
  • Select requestor(s)

Projects and Milestone

  • Review projects and select relevant Repository and Organization ones
  • Select milestone

Define Related Issue(s)

Consider the impact to the other METplus components.

Task Checklist

See the METplus Workflow for details.

  • Complete the issue definition above.
  • Fork this repository or create a branch of develop.
    Branch name: feature_<Issue Number>_<Description>
  • Complete the task and verify your changes.
  • Add/update unit tests.
  • Add/update documentation.
  • Push local changes to GitHub.
  • Submit a pull request to merge into develop and link the pull request to this issue.
    Pull request: feature <Issue Number> <Description>
  • Iterate until the reviewer(s) accept and merge your changes.
  • Delete your fork or branch.
  • Close this issue.
@JohnHalleyGotway JohnHalleyGotway added component: documentation Documentation issue type: task An actionable item of work priority: medium Medium Priority requestor: NCAR National Center for Atmospheric Research labels Aug 19, 2020
@JohnHalleyGotway JohnHalleyGotway self-assigned this Aug 19, 2020
@JohnHalleyGotway JohnHalleyGotway added this to the MET 10.0 milestone Aug 19, 2020
@JohnHalleyGotway
Copy link
Collaborator Author

On 8/18/20, I actually moved the MET repo from the NCAR to DTCenter organization through GitHub. Details listed below:

  1. Make the move on GitHub
    In GitHub, edit the “NCAR/MET” repository settings. Under “Danger Zone”, click the “Transfer” button to transfer the ownership.
    New org name = DTCenter
    Team access: select “METplus” and “MET Developers”
    Note that https://github.com/NCAR/MET now automatically redirects to https://github.com/dtcenter/MET. But I don’t know how long that redirect will persist.

  2. GitHub DTCenter/MET updates
    Edit “DTCenter/MET” settings “Manage access”
    Grant “MET Developers” team write access
    Confirm “METplus” team has read access
    Remove individual user names who had been listed as outside collaborators under the NCAR organization (except those listed as “Admin”)

  3. MET website updates
    Update the “MET version 9.1” documentation link on https://dtcenter.org/community-code/model-evaluation-tools-met/documentation to point to https://dtcenter.github.io/MET/
    Update the tarball download, user’s guide, and release notes URL’s for versions 9.1 and 9.0.3 on https://dtcenter.org/community-code/model-evaluation-tools-met/download by switching NCAR to dtcenter.
    NOTE MORE CHANGES REQUIRED AFTER MOVING METPLUS AND METVIEWER.

  4. DockerHub updates
    Reconfigure automated builds for https://hub.docker.com/repository/docker/dtcenter/met/builds/edit
    Select organization = dtcenter and repo = MET.
    The previously defined automated builds repopulated.
    Select “Save and Build”

  5. Reclone the repo from it’s new location

git clone https://github.com/dtcenter/MET
  1. Update existing repo to point to new location
git remote -v
git remote set-url origin https://github.com/dtcenter/MET
git remote -v

Did this for all my development repositories on musial6. Also updated the repos used by the NB on dakota in /d3/projects/MET/MET_regression for MET-develop and MET-master_v9.1.

@JohnHalleyGotway
Copy link
Collaborator Author

JohnHalleyGotway commented Aug 19, 2020

Updated from github.com/NCAR to github.com/dtcenter using the following commands:

grep "github.com\/NCAR" `find ./ -type f` | cut -d":" -f1 | sort -u | egrep -v '/logs/' > file_list

for file in `cat file_list`; do
  cat $file | sed 's/github.com\/NCAR/github.com\/dtcenter/g' > new
  mv new $file
done
rm file_list

@JohnHalleyGotway
Copy link
Collaborator Author

I forgot to make 2 additional changes:

  • change ncar.github.io to dtcenter.github.io
  • rename METdb to METdatadb

JohnHalleyGotway added a commit that referenced this issue Aug 19, 2020
JohnHalleyGotway added a commit that referenced this issue Aug 19, 2020
JohnHalleyGotway added a commit that referenced this issue Aug 20, 2020
…push Sphix documentation generated from the master_v9.1 branch up to gh-pages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: documentation Documentation issue priority: medium Medium Priority requestor: NCAR National Center for Atmospheric Research type: task An actionable item of work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant