How Can I Easily Refresh My Repo to Show A Changed LICENSE File?

This should be a simple question, but I haven’t found any answers. I may have missed something. If so, I would be grateful to be directed to the answer.

I had a LICENSE file in several of my repos that was not parsed by GH (fair enough. I had added the URL to my site at the bottom, and I have found out that we just don’t do that).

I have since removed the alteration, so all the LICENSE files are now correct, but the repos still don’t show the correct license.

This is an issue for me, as the license property of the repo is used by a third-party index (It’s been an issue with my repos for a long time, but this is the first time it’s caused me pain).

The question is simple: Is there some way to “reload” the repo, so the the fixed license is detected?

Hi @ChrisMarshallNY! :wave: Welcome to the Community!

Did you replace the license by using the “Choose a license template” function?

(Step 4 in this guide.)

If so, that should have kicked off a rescan. I’m afraid it’s not possible for you to trigger a rescan manually any other way.

If you let me know the repositories affected, I can trigger a rescan of them from the back end!

Thanks!

If you can do the rescan, that would be great!

I will look at the template for future work.

Here are the repos:

RiftValleySoftware/RVS_Generic_Swift_Toolbox
RiftValleySoftware/RVS_Spinner
RiftValleySoftware/RVS_ParseXMLDuration
RiftValleySoftware/RVS_IPAddress
RiftValleySoftware/RVS_BasicGCDTimer

Thanks!

I’ve queued a rescan of those repos, which could take up to 24 hours to run.

I’m not 100% sure it’s going to work as you’re missing the “Copyright © [year] [fullname]” line from your files:

If it’s not showing as MIT after 24 hours, please add that line in and we’ll try again!

1 Like

Thanks!

I’ll add it to the files, nonetheless. I’ll let you know if it doesn’t take.

UPDATE: Looks like that did the trick! Thanks!

1 Like