Skip to content

Tags: frankiegu/sourcegraph

Tags

v3.4.6

Toggle v3.4.6's commit message
repo-updater: Migrate a repo without external and different name (sou…

…rcegraph#4999)

We special case repositories that do not have an external repo set in our sync
algorithm. We make an attempt to associate them with an existing
repository. However, our algorithm had two short-comings resolved in this
commit.

In the case that we associated it with a repository with a name in a different
case the Update call would fail. So we remove the unneccessary in Update
ensuring the name is the same. We could change this to using
string.EqualFold. However, in every case we call Update we really do want to
merge the two repositories. So the guard is unneccessary.

The other important change is that when we try to associate the repository we
need to look up byName case insensitively. This bug has likely saved us
before, since things would "just work" if the name in stored is already lower
cased. In the case of a customer running into this issue, they likely had the
byName lookup work, but the Update call fail.

v3.6.1

Toggle v3.6.1's commit message
repo-updater: Migrate a repo without external and different name (sou…

…rcegraph#4999)

We special case repositories that do not have an external repo set in our sync
algorithm. We make an attempt to associate them with an existing
repository. However, our algorithm had two short-comings resolved in this
commit.

In the case that we associated it with a repository with a name in a different
case the Update call would fail. So we remove the unneccessary in Update
ensuring the name is the same. We could change this to using
string.EqualFold. However, in every case we call Update we really do want to
merge the two repositories. So the guard is unneccessary.

The other important change is that when we try to associate the repository we
need to look up byName case insensitively. This bug has likely saved us
before, since things would "just work" if the name in stored is already lower
cased. In the case of a customer running into this issue, they likely had the
byName lookup work, but the Update call fail.

v3.5.3

Toggle v3.5.3's commit message
repo-updater: Migrate a repo without external and different name (sou…

…rcegraph#4999)

We special case repositories that do not have an external repo set in our sync
algorithm. We make an attempt to associate them with an existing
repository. However, our algorithm had two short-comings resolved in this
commit.

In the case that we associated it with a repository with a name in a different
case the Update call would fail. So we remove the unneccessary in Update
ensuring the name is the same. We could change this to using
string.EqualFold. However, in every case we call Update we really do want to
merge the two repositories. So the guard is unneccessary.

The other important change is that when we try to associate the repository we
need to look up byName case insensitively. This bug has likely saved us
before, since things would "just work" if the name in stored is already lower
cased. In the case of a customer running into this issue, they likely had the
byName lookup work, but the Update call fail.