-
Notifications
You must be signed in to change notification settings - Fork 51
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
Changing a remote's Git URL doesn't update the cache #185
Comments
Hmm, can you think of a better solution than g10k always comparing the git remote at the beginning? |
The other is to always set it. I haven't looked at the code, but I think |
xorpaul
added a commit
that referenced
this issue
May 24, 2022
xorpaul
added a commit
that referenced
this issue
May 25, 2022
* add detectGitRemoteUrlChange, fixes git remote url changes for control repo #185 * comment debug print format * only purge control repo and fix typo * only print this in debug * satisfy GitHub Actions test
xorpaul
added a commit
that referenced
this issue
May 25, 2022
* rename whitelist to allowlist and blacklist to skiplist * rename blacklist to skiplist * rename whitelist to allowlist and blacklist to skiplist * rename whitelist to allowlist and blacklist to skiplist * rename whitelist to allowlist and blacklist to skiplist * rename whitelist to allowlist and blacklist to skiplist * rename whitelist to allowlist * fix unintended .resource_types purge, because it was checked in the wrong section * add local.yaml for testing * add detectGitRemoteUrlChange (#197) * add detectGitRemoteUrlChange, fixes git remote url changes for control repo #185 * comment debug print format * only purge control repo and fix typo * only print this in debug * satisfy GitHub Actions test
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the following config
Then I run g10k. This does what I want and we can see that:
However, now my git repo URL changes:
Again, I run g10k. This exits successfully. However, the code isn't updated. This is because the cache still points to the same remote.
Removing
control.git
and running g10k again does result in a correct git remote.The text was updated successfully, but these errors were encountered: