dr-scripts icon indicating copy to clipboard operation
dr-scripts copied to clipboard

[script] [dependency] support move to `dragon-realms/dr-scripts` repo

Open KatoakDR opened this issue 3 years ago • 7 comments

Background

  • Fixes https://github.com/rpherbig/dr-scripts/issues/4888

Changes

  • Add method determine_github_status_repo which makes a ping to dragon-realms/dr-scripts and rpherbig/dr-scripts to determine which location is currently hosting the repository. The one that returns an http OK response wins :)

Post-Move Logic

  • After we've migrated to dragon-realms/dr-scripts, then a cleanup task will be done to find & replace strings rpherbig/dr-scripts
  • After two weeks, remove the determine_github_status_repo method

KatoakDR avatar Feb 28 '22 02:02 KatoakDR

After two weeks, remove the determine_github_status_repo method Laughs at the optimism :)

rcuhljr avatar Feb 28 '22 03:02 rcuhljr

We'll need a new @git_token for the other org I think.

rcuhljr avatar Feb 28 '22 04:02 rcuhljr

We'll need a new @git_token for the other org I think.

Yes, is that something you can provide?

KatoakDR avatar Feb 28 '22 04:02 KatoakDR

@rpherbig can probably grab one, I don't remember if I'm in the new org.

rcuhljr avatar Feb 28 '22 04:02 rcuhljr

@rpherbig can probably grab one, I don't remember if I'm in the new org.

You're an owner of the new org.

That said, I don't see where to generate a token for the org. If it's generated at a repository level, then I suspect we can't until the repository actually exists under the new org...

rpherbig avatar Mar 02 '22 14:03 rpherbig

@rpherbig can probably grab one, I don't remember if I'm in the new org.

You're an owner of the new org.

That said, I don't see where to generate a token for the org. If it's generated at a repository level, then I suspect we can't until the repository actually exists under the new org...

Tokens are created by a user at https://github.com/settings/tokens

I don't know who created the token we use today for rpherbig/dr-scripts, but I suspect someone with long-term access to dragon-realms organization should generate a read only token that doesn't expire.

image

KatoakDR avatar Mar 02 '22 19:03 KatoakDR

Thank you @KatoakDR ! Token DM'd to you for inclusion in the PR.

rpherbig avatar Mar 02 '22 19:03 rpherbig

@KatoakDR @MahtraDR

Is this still in progress or ready for review? If you don't intend to continue with it please close it out.

Thanks!

Kiriawen avatar Jan 16 '23 04:01 Kiriawen

Closing this as a topic. We can revisit whenif it's relevant again.

MahtraDR avatar Jan 21 '23 01:01 MahtraDR