dr-scripts
dr-scripts copied to clipboard
[script] [dependency] support move to `dragon-realms/dr-scripts` repo
Background
- Fixes https://github.com/rpherbig/dr-scripts/issues/4888
Changes
- Add method
determine_github_status_repo
which makes a ping todragon-realms/dr-scripts
andrpherbig/dr-scripts
to determine which location is currently hosting the repository. The one that returns an httpOK
response wins :)
Post-Move Logic
- After we've migrated to
dragon-realms/dr-scripts
, then a cleanup task will be done to find & replace stringsrpherbig/dr-scripts
- After two weeks, remove the
determine_github_status_repo
method
After two weeks, remove the determine_github_status_repo method Laughs at the optimism :)
We'll need a new @git_token
for the other org I think.
We'll need a new
@git_token
for the other org I think.
Yes, is that something you can provide?
@rpherbig can probably grab one, I don't remember if I'm in the new org.
@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 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.
Thank you @KatoakDR ! Token DM'd to you for inclusion in the PR.
@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!
Closing this as a topic. We can revisit whenif it's relevant again.